Guides · For agents
Find stock that hasn't sold in 90 days
Join your stock list to your sales export on the SKU, then count the products still on the shelf with no sale in the last 90 days, including ones that never sold, and add up their stock value. In the test files, that is 6 products holding 1,427.00 of stock.
Ask your agent
With Sift connected (setup takes three steps), paste this and swap in your own paths.
Use Sift to match /path/to/stock_on_hand.csv on sku to /path/to/stock_sales.csv on sku, as of 2026-11-30. How many products with qty_on_hand above 0 have had no sale in the last 90 days, including ones that never sold, and what is their stock_value? How many never sold at all?
What Sift sends back
One slow product has a blank stock value. It is counted, left out of the total, and Sift says so. It is never treated as 0.
"No sale in 90 days" means no sale from 1 September to the as-of date. A sale exactly 90 days back still counts as recent.
What to do next
- Sift adds up a column. It does not multiply quantity by cost. If your stock file has no value column, export one from your stock system first.
- Products with nothing on hand are left out by the qty_on_hand above 0 part: there is nothing on the shelf to clear.
- One sale is for a SKU that is not on the stock list. Check for a renamed or retired code before you trust the count.
- Try other windows, such as 30, 180 or 365 days. It is one number in the prompt.
Questions
Yes. A product with no sales at all has nothing in the last 90 days, so it is in the 6. Sift also counts it on its own: 3 here.
It is still one product. Sift checks whether any of its sales falls in the last 90 days, and says how many products have several sales rows.
No. Sift reads both files on your machine and sends back counts and totals, not rows.
Any two lists that share a code work the same way: invoices against payments, seats against logins, bookings against check-ins.