How to Check Stocktake Sheets for Missing and Duplicate Item/Bin Lines in Excel
A stocktake packet can have the right number of pages and still miss an item. A repeated item/bin line can occupy the space where another line should have been. A blank item number creates another problem: someone has to decide what was counted before the quantity can be used.
This example checks the packet against an approved item/bin list, then checks which quantities can be used. It keeps an uncounted blank separate from an explicit counted zero.
The public problems behind the example
In a MYOB support discussion, a customer reported that item numbers and names had disappeared from the inventory count report. Staff suggested reopening the report and contacting support if the fields remained missing.
A second MYOB discussion describes staff counting from bin-ordered printouts, then passing them to an administrator who must find the exact item number for entry. That handoff needs item and bin identities to remain attached to each quantity.
Conta Azul’s inventory documentation describes a separate coverage issue: the initial selection shows positive balances, while zero and negative balances are hidden by default. Active zero-balance products can be included. A filtered list therefore needs comparison with the scope the team actually approved.
The workbook below uses synthetic records. It does not reproduce a vendor defect or change any inventory system.
Download the stocktake workbook
Download the Excel example. The Coverage sheet shows results and calculations. The Records sheet holds the editable inputs and scope declaration.
The exercise has one site, one count batch and three approved item/bin lines. Records!C4 confirms that this list is complete for the exercise. Records!A11:D13 includes A1/S01, A2/S02 and A3/S03. A3 has a system quantity of zero and remains in scope.
What the four packet rows reveal
| Packet line | Source cells | Finding |
|---|---|---|
| P1 | Records!A17:E17 | A1/S01 appears once with a count of 10. This count is usable. |
| P2 | Records!A18:E18 | A2/S02 appears again on P3. Its count cell is blank, meaning uncounted. |
| P3 | Records!A19:E19 | A2/S02 has a numeric counted zero. Its duplicate identity prevents using the count. |
| P4 | Records!A20:E20 | The item ID is blank. Bin S03 alone cannot establish which item was counted. |
A3/S03 is missing from the identified packet lines, despite its zero system quantity. The anonymous S03 row cannot fill that gap. A2/S02 has two packet matches. These are different findings and both need attention.
The baseline contains one missing scope line, one duplicated scope line, one packet identity gap and one usable counted line. Identity coverage needs review, and count completion is pending. Summing the two numeric packet quantities would hide the unresolved identities.
How the checks work
The formulas match item ID and bin ID together. They check scope-key uniqueness, packet-line IDs, repeated item/bin pairs and unit agreement. A fully blank packet row is unused. A partially filled row remains subject to review.
Count state is evaluated separately. Blank means uncounted. Numeric zero means counted zero. Negative values and text quantities need review. A count becomes usable only when its line is identified uniquely and its quantity is valid. Coverage can become complete while a count is still blank, so the workbook keeps identity coverage and count completion separate.
The supplied ranges hold three scope rows and four packet rows. Extend every dependent range together for a larger packet. Text matching follows Excel’s case-insensitive comparisons. Keep identifiers as text and agree their format before matching. The system quantities provide context in this example. Prepare the counter-facing copy according to your team’s count procedure.
What was tested
On November 24, 2026, Jolene independently read the public download and matched all three scope lines, four packet rows, rule-note coordinates and conclusions above. Its reported file size was 8,398 bytes and its SHA-256 matched the saved workbook. Expected answers were withheld from the prompt, and the test requested original Records inputs rather than Coverage outputs.
The native upload reached ready status with zero extracted tables, but its scoped chat reported that the uploaded workbook and DuckDB source were inaccessible in that session. Native-source verification remains pending. The successful public-file check is recorded separately and does not establish that native upload access works.
The workbook also passed 14 local test states against an independent record-array calculation, including a complete packet with a counted zero, a blank count, duplicate IDs, missing identifiers, unit mismatch, invalid quantities, incomplete scope and reordered source rows. Both sheets were visually reviewed and the formula-error scan found no errors. This example checks the supplied records and scope declaration. It does not calculate or authorize a stock adjustment.