{"id":152859,"date":"2026-10-25T11:39:46","date_gmt":"2026-10-25T11:39:46","guid":{"rendered":"https:\/\/docs.daftra.com\/?post_type=user_manual&#038;p=152859"},"modified":"2026-10-25T12:37:34","modified_gmt":"2026-10-25T12:37:34","slug":"152859","status":"publish","type":"user_manual","link":"https:\/\/docs.daftra.com\/en\/user_manual\/152859\/","title":{"rendered":"Quickly Extracting Products with Negative Stock from the Stock Transactions Report"},"content":{"rendered":"<section class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text]<\/p>\n<p style=\"text-align: left;\">If product balances show zero even though the client sold or withdrew them without enough stock, there were most likely transactions that pushed the stock below zero at some point, known as <strong>negative stock<\/strong>. This guide explains the fastest way to get <strong>only the names of the products<\/strong> whose stock went below zero, using the <strong>Detailed Stock Transactions For Each Product<\/strong> report, an Excel file and two formulas.<\/p>\n<p>[\/vc_column_text][vc_custom_heading text=&#8221;Steps to find products with negative stock withdrawals&#8221; font_container=&#8221;tag:h2|font_size:28|text_align:center|color:%2304306b|line_height:2&#8243; use_theme_fonts=&#8221;yes&#8221; css=&#8221;.vc_custom_1792929785495{background-color: #f6f9fc !important;border-radius: 4px !important;}&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_custom_heading text=&#8221;First: Export the Detailed Stock Transactions report&#8221; font_container=&#8221;tag:h3|font_size:22|text_align:left|color:%2304306b|line_height:1.8&#8243; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]<\/p>\n<ol style=\"text-align: left;\">\n<li>Go to <strong>Reports<\/strong> \u2192 <strong>Store Reports<\/strong>, and choose <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/reports\/report\/detailed_stock_transactions\" target=\"_blank\" rel=\"noopener\"><strong>Detailed Stock Transactions For Each Product<\/strong><\/a>.<\/li>\n<\/ol>\n<p>[\/vc_column_text][vc_single_image image=&#8221;153129&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]<\/p>\n<ol style=\"text-align: left;\" start=\"2\">\n<li>Set <strong>From Date<\/strong> and <strong>To Date<\/strong> for the period you want to check, choose the <strong>Warehouse<\/strong> if you want to check one warehouse only, then show the report.<\/li>\n<\/ol>\n<p>[\/vc_column_text][vc_single_image image=&#8221;153131&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]<\/p>\n<ol style=\"text-align: left;\" start=\"3\">\n<li>Click <strong>Export<\/strong> \u2192 <strong>Export to Excel<\/strong>, and open the downloaded file.<\/li>\n<\/ol>\n<p>[\/vc_column_text][vc_single_image image=&#8221;153133&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]<\/p>\n<p style=\"text-align: left;\">In the file, each product&#8217;s transactions appear under its name: a row with the <strong>product name<\/strong> in column A and the rest of the row empty, then a <strong>Stock Level Before<\/strong> row, then the transaction rows. The negative values appear in column F, <strong>Stock Level After<\/strong>.<\/p>\n<p>[\/vc_column_text][vc_single_image image=&#8221;153135&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_custom_heading text=&#8221;Second: Add the product name to every transaction&#8221; font_container=&#8221;tag:h3|font_size:22|text_align:left|color:%2304306b|line_height:1.8&#8243; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]<\/p>\n<ol style=\"text-align: left;\" start=\"4\">\n<li>In cell <strong>K1<\/strong>, type: <strong>Product Name<\/strong>.<\/li>\n<li>In cell <strong>K2<\/strong>, type the following formula, and press Enter:<\/li>\n<\/ol>\n<pre style=\"background: #0f172a; color: #e2e8f0; direction: ltr; text-align: left; border-radius: 6px; padding: 12px 14px; margin: 0 0 16px; font-size: 13px; line-height: 1.7; overflow: auto; white-space: pre;\">=IF(AND(A2&lt;&gt;\"\",B2=\"\",A2&lt;&gt;\"Stock Level Before\"),A2,K1)<\/pre>\n<p style=\"text-align: left;\">The formula takes the product name from the name row, and copies it to every transaction below it until a new product starts.<\/p>\n<p>[\/vc_column_text][vc_single_image image=&#8221;153137&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]<\/p>\n<ol style=\"text-align: left;\" start=\"6\">\n<li>Find the number of the last row with data in the file, for example 8.<\/li>\n<\/ol>\n<p>[\/vc_column_text][vc_single_image image=&#8221;153139&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]<\/p>\n<ol style=\"text-align: left;\" start=\"7\">\n<li>Click in the <strong>Name Box<\/strong> next to the formula bar, type <strong>K2:K8<\/strong>, then press Enter to select the whole range.<\/li>\n<\/ol>\n<p>[\/vc_column_text][vc_single_image image=&#8221;153141&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]<\/p>\n<ol style=\"text-align: left;\" start=\"8\">\n<li>Press <strong>Ctrl + D<\/strong> to copy the formula to all the selected cells; the product name appears next to every transaction.<\/li>\n<\/ol>\n<p>[\/vc_column_text][vc_single_image image=&#8221;153144&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_custom_heading text=&#8221;Third: Extract the list of products with negative stock&#8221; font_container=&#8221;tag:h3|font_size:22|text_align:left|color:%2304306b|line_height:1.8&#8243; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]<\/p>\n<ol style=\"text-align: left;\" start=\"9\">\n<li>Add a new sheet (New Sheet) in the same file.<\/li>\n<\/ol>\n<p>[\/vc_column_text][vc_single_image image=&#8221;153147&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]<\/p>\n<ol style=\"text-align: left;\" start=\"10\">\n<li>In cell <strong>A1<\/strong>, type the following formula, replacing <strong>Worksheet<\/strong> with the name of your data sheet, and press Enter:<\/li>\n<\/ol>\n<pre style=\"background: #0f172a; color: #e2e8f0; direction: ltr; text-align: left; border-radius: 6px; padding: 12px 14px; margin: 0 0 16px; font-size: 13px; line-height: 1.7; overflow: auto; white-space: pre;\">=UNIQUE(FILTER(Worksheet!K:K,Worksheet!F:F&lt;0))<\/pre>\n<p style=\"text-align: left;\">The formula collects the product names from column K for every transaction where <strong>Stock Level After<\/strong> became less than zero, and shows each product only once.<\/p>\n<p>[\/vc_column_text][vc_single_image image=&#8221;153149&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_custom_heading text=&#8221;Fourth: Check the product in the system&#8221; font_container=&#8221;tag:h3|font_size:22|text_align:left|color:%2304306b|line_height:1.8&#8243; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]<\/p>\n<ol style=\"text-align: left;\" start=\"11\">\n<li>Go to <strong>Inventory<\/strong> \u2192 <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/products\/index\" target=\"_blank\" rel=\"noopener\"><strong>Products &amp; Services<\/strong><\/a>, and search for one of the products in the list by name or code.<\/li>\n<\/ol>\n<p>[\/vc_column_text][vc_single_image image=&#8221;153157&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]<\/p>\n<ol style=\"text-align: left;\" start=\"12\">\n<li>Open the product page, then the <strong>Stock Transactions<\/strong> tab; you&#8217;ll find the transaction after which the stock went below zero.<\/li>\n<\/ol>\n<p>[\/vc_column_text][vc_single_image image=&#8221;153153&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_message message_box_style=&#8221;3d&#8221; message_box_color=&#8221;alert-warning&#8221;]<\/p>\n<p style=\"text-align: left;\"><strong>Important notes<\/strong><\/p>\n<ul style=\"text-align: left;\">\n<li>The list shows the products whose stock went below zero at <strong>any time<\/strong> during the period, even if their balance is now zero or positive after later transactions.<\/li>\n<li>Don&#8217;t use double-click to fill the formula down; it stops at the first empty row, and the product name rows are empty in most columns.<\/li>\n<li>The UNIQUE and FILTER functions work in Microsoft 365, Excel 2021 and later, and Google Sheets. If the formula shows an error, try a semicolon <strong>;<\/strong> instead of a comma.<\/li>\n<li>You need the <strong>Track Inventory<\/strong> permission to see the store reports.<\/li>\n<\/ul>\n<p>[\/vc_message][\/vc_column][\/vc_row]<\/p>\n<\/section>","protected":false},"author":39,"template":"","categories":[2093,7849],"tags":[25092,25093,25098,25096,25091,19449,25089,25088,25090,8103,25095,25100],"class_list":["post-152859","user_manual","type-user_manual","status-publish","hentry","category-reports","category-store-reports","tag-detailed-stock-transactions-for-each-product","tag-export-stock-report-to-excel","tag-how-do-i-extract-products-with-negative-stock","tag-how-do-i-find-products-sold-with-negative-stock","tag-negative-inventory-balance","tag-negative-stock","tag-negative-stock-withdrawal","tag-products-with-negative-stock","tag-selling-with-negative-stock","tag-stock-transactions","tag-unique-and-filter-formula","tag-why-is-the-product-balance-zero-despite-negative-stock-sales"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Quickly Extracting Products with Negative Stock from the Stock Transactions Report - Daftra Knowledge Base<\/title>\n<meta name=\"description\" content=\"Learn how to extract products with negative stock from the Detailed Stock Transactions For Each Product report using Excel with UNIQUE and FILTER.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.daftra.com\/en\/user_manual\/152859\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Quickly Extracting Products with Negative Stock from the Stock Transactions Report - Daftra Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"Learn how to extract products with negative stock from the Detailed Stock Transactions For Each Product report using Excel with UNIQUE and FILTER.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.daftra.com\/en\/user_manual\/152859\/\" \/>\n<meta property=\"og:site_name\" content=\"Daftra Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-25T12:37:34+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/docs.daftra.com\/#organization\",\"name\":\"Daftra\",\"url\":\"https:\/\/docs.daftra.com\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/docs.daftra.com\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/10\/daftra-ar.svg\",\"contentUrl\":\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/10\/daftra-ar.svg\",\"caption\":\"Daftra\"},\"image\":{\"@id\":\"https:\/\/docs.daftra.com\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.daftra.com\/#website\",\"url\":\"https:\/\/docs.daftra.com\/\",\"name\":\"Daftra Knowledge Base\",\"description\":\"Daftra\",\"publisher\":{\"@id\":\"https:\/\/docs.daftra.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.daftra.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/152859\/#webpage\",\"url\":\"https:\/\/docs.daftra.com\/en\/user_manual\/152859\/\",\"name\":\"Quickly Extracting Products with Negative Stock from the Stock Transactions Report - Daftra Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/docs.daftra.com\/#website\"},\"datePublished\":\"2026-10-25T11:39:46+00:00\",\"dateModified\":\"2026-10-25T12:37:34+00:00\",\"description\":\"Learn how to extract products with negative stock from the Detailed Stock Transactions For Each Product report using Excel with UNIQUE and FILTER.\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/152859\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.daftra.com\/en\/user_manual\/152859\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/152859\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.daftra.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Quickly Extracting Products with Negative Stock from the Stock Transactions Report\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Quickly Extracting Products with Negative Stock from the Stock Transactions Report - Daftra Knowledge Base","description":"Learn how to extract products with negative stock from the Detailed Stock Transactions For Each Product report using Excel with UNIQUE and FILTER.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/docs.daftra.com\/en\/user_manual\/152859\/","og_locale":"en_US","og_type":"article","og_title":"Quickly Extracting Products with Negative Stock from the Stock Transactions Report - Daftra Knowledge Base","og_description":"Learn how to extract products with negative stock from the Detailed Stock Transactions For Each Product report using Excel with UNIQUE and FILTER.","og_url":"https:\/\/docs.daftra.com\/en\/user_manual\/152859\/","og_site_name":"Daftra Knowledge Base","article_modified_time":"2026-10-25T12:37:34+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/docs.daftra.com\/#organization","name":"Daftra","url":"https:\/\/docs.daftra.com\/","sameAs":[],"logo":{"@type":"ImageObject","@id":"https:\/\/docs.daftra.com\/#logo","inLanguage":"en-US","url":"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/10\/daftra-ar.svg","contentUrl":"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/10\/daftra-ar.svg","caption":"Daftra"},"image":{"@id":"https:\/\/docs.daftra.com\/#logo"}},{"@type":"WebSite","@id":"https:\/\/docs.daftra.com\/#website","url":"https:\/\/docs.daftra.com\/","name":"Daftra Knowledge Base","description":"Daftra","publisher":{"@id":"https:\/\/docs.daftra.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.daftra.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/docs.daftra.com\/en\/user_manual\/152859\/#webpage","url":"https:\/\/docs.daftra.com\/en\/user_manual\/152859\/","name":"Quickly Extracting Products with Negative Stock from the Stock Transactions Report - Daftra Knowledge Base","isPartOf":{"@id":"https:\/\/docs.daftra.com\/#website"},"datePublished":"2026-10-25T11:39:46+00:00","dateModified":"2026-10-25T12:37:34+00:00","description":"Learn how to extract products with negative stock from the Detailed Stock Transactions For Each Product report using Excel with UNIQUE and FILTER.","breadcrumb":{"@id":"https:\/\/docs.daftra.com\/en\/user_manual\/152859\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.daftra.com\/en\/user_manual\/152859\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.daftra.com\/en\/user_manual\/152859\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.daftra.com\/en\/"},{"@type":"ListItem","position":2,"name":"Quickly Extracting Products with Negative Stock from the Stock Transactions Report"}]}]}},"_links":{"self":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual\/152859","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual"}],"about":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/types\/user_manual"}],"author":[{"embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/users\/39"}],"version-history":[{"count":6,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual\/152859\/revisions"}],"predecessor-version":[{"id":153162,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual\/152859\/revisions\/153162"}],"wp:attachment":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/media?parent=152859"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/categories?post=152859"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tags?post=152859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}