Write and test a stock reorder formula with DeepSeek
DigiTransact AI
A stationery shop in Cape Coast wants its spreadsheet to flag exercise books when stock runs low. The tricky row is the one nobody has counted yet. If it looks like a zero, a buyer might order a carton the shop does not need. Use DeepSeek to draft the formula, but decide what a blank means before you ask.
Describe the row and the decision
In a practice sheet, label column A Item, B Count and C Reorder level. Put the result in D. For this exercise, counts and levels are non-negative whole numbers or empty cells. Agree on this rule: if either number is missing, display Check count. If the count is at or below the reorder level, display Order. Otherwise display Hold.
Open the web chat from DeepSeek’s official site. Give it the column letters, the rule and the first data row. Ask for one formula to put in D2, not a rewritten inventory. You do not need to share supplier details or your real stock list to explain this layout.
Try the row where the numbers match
One formula for a sheet that uses commas between arguments is =IF(OR(B2="",C2=""),"Check count",IF(B2<=C2,"Order","Hold")). It checks for missing information before testing stock. With six books counted and a reorder level of six, the result should be Order. Replace the count with seven and the result should change to Hold.
Now clear the count by deleting the cell contents. Do not type a space: that is text, not an empty cell. The result should change to Check count. Finally enter the number zero. The answer should switch back to Order. This last change catches a formula that mistakes an empty shelf for an unfinished count.