
MIN zero values are correct when the current value of a stock cell is 0: with quantities in B2:B6, enter =MIN(B2:B6) in B7 and the expected result is 0. If the requirement is the lowest positive quantity, first create or filter a separate numeric list containing only quantities greater than zero, then apply MIN to that positive-only list.
In an inventory report, a zero minimum means at least one item currently has no stock on hand. That is not a calculation error. Excel’s MIN documentation defines the function as returning the smallest number in the referenced set, so a real zero is lower than every positive quantity.
Why MIN zero values appear in a stock report
Use MIN when zero is a meaningful inventory state and you need the lowest recorded quantity. Do not expect it to answer “what is the lowest quantity greater than zero?” That is a separate business rule, not the behavior of a normal minimum calculation.
| Cell | Inventory item | Quantity on hand |
|---|---|---|
| A2 | Printer paper | B2: 24 |
| A3 | Labels | B3: 11 |
| A4 | Shipping tape | B4: 0 |
| A5 | Envelopes | B5: 8 |
| A6 | Marker pens | B6: 15 |
This is synthetic inventory data. In B7, enter:
=MIN(B2:B6)
For the synthetic inventory data, =MIN(B2:B6) in B7 returns 0 because 0 is smaller than 8, 11, 15, and 24. The formula reports the minimum numeric quantity; it does not decide whether an out-of-stock item should be excluded.

Check whether the zero is real or hidden
- Select the suspected source cell, such as B4.
- Read the Formula Bar. A displayed value of
0confirms that B4 currently evaluates to zero, but it might be a typed0or a formula that returns0. - If the Formula Bar contains a formula, inspect that formula and its source cells when the reason for the zero matters.
- If the cell looks blank, go to File > Options > Advanced. Under Display options for this worksheet, enable Show a zero in cells that have zero value.
- If the selected cells still use a custom number format that hides zeros, press Ctrl+1, choose General, and select OK.
A cell can look blank while its current value is zero because the worksheet zero-display option or a custom number format hides it. Enable zero display first when the worksheet setting is the cause; changing a cell to General alone cannot override a worksheet-wide setting that hides zeros. Microsoft documents both options in its guide to displaying or hiding zero values. For further formatting options, see this guide to hiding and showing zero values in Excel.
Use a separate lowest-positive quantity rule
If the operating question is “what is the lowest positive quantity?”, do not change the meaning of the original stock range or assume that MIN will ignore zeros. Create or filter a separate numeric list containing only quantities greater than zero, then apply MIN to that positive-only list.
For the sample data, the positive quantities are 24, 11, 8, and 15, so the lowest positive quantity is 8. Keep the original =MIN(B2:B6) result alongside that separate measure: the first result flags the true minimum, including stockouts; the second supports a different positive-stock reporting rule. If category totals are prepared before this review, keep the item and quantity ranges aligned; this SUMIF and SUMPRODUCT guide explains conditional totals.
Boundary checks and common mistakes
A negative stock adjustment changes the result: if B2:B6 contain 24, 11, -2, 8, and 15, =MIN(B2:B6) returns -2, not 0. Investigate the adjustment or return before treating the result as an available-stock alert.
The Formula Bar can contain a formula such as =C4-D4 that currently returns 0. In that situation, MIN correctly uses the current numeric result, but the underlying explanation is in C4 and D4 rather than in a typed zero in B4.
If no zero is in the intended list but B7 shows 0, check that the formula is exactly =MIN(B2:B6) and that it does not include an extra cell containing 0. A wider or incorrect reference is a common cause of an unexpected zero minimum.
Compatibility and limits
The MIN function is documented for Excel for Microsoft 365, Excel 2024, Excel 2021, Excel 2019, and Excel 2016, including listed Mac editions. Microsoft documents the worksheet zero-display setting for the desktop versions named on its zero-values page.
This check does not find the lowest positive quantity. It verifies whether the current numeric value zero is present in the range and whether worksheet or cell formatting is hiding that value. For a positive-only minimum, prepare a separate list that excludes zero and negative quantities, then apply MIN to that list.

Sources
Worked example details and boundary cases
Example inputs
Synthetic inventory data: B2 contains 24, B3 contains 11, B4 contains 0, B5 contains 8, and B6 contains 15.
Method
Select B4 and read the Formula Bar. A displayed value of 0 confirms that B4 currently evaluates to zero, but it might be a typed 0 or a formula that returns 0. If necessary, inspect the formula and its source cells. If the cell looks blank, first enable Show a zero in cells that have zero value for the worksheet; then use General formatting on selected cells if a custom format is hiding zeros.
A cell can look blank while its current value is zero because the worksheet zero-display option or a custom number format hides it; enable zero display before relying on General formatting alone.
The Formula Bar can show a formula such as =C4-D4 that currently returns 0. Inspect its source cells when the reason for the zero matters.
If no zero is in the intended list but B7 shows 0, check that the formula is exactly =MIN(B2:B6) and does not include an extra cell containing 0.
Practice with the exact example data
Use a separate blank worksheet for each example. Enter each value at its listed cell address, then type the formula in AA1. Quoted text is shown in JSON notation to preserve spaces: enter the characters inside the quotes, without the quotes, using a leading apostrophe to keep text and spaces literal. An empty quoted string means an explicit empty text value; use an apostrophe entry where appropriate. Compare your result with the expected result below. These are synthetic practice data.
Example 1 — Main case
| Cell | Input value |
|---|---|
| B2 | 24 |
| B3 | 11 |
| B4 | 0 |
| B5 | 8 |
| B6 | 15 |
Formula in AA1: =MIN(B2:B6)
Expected result: 0
Example 2 — Boundary case
| Cell | Input value |
|---|---|
| B2 | 24 |
| B3 | 11 |
| B4 | -2 |
| B5 | 8 |
| B6 | 15 |
Formula in AA1: =MIN(B2:B6)
Expected result: -2
These examples were checked with a limited calculator supporting numeric aggregates, ASCII text functions, exact criteria and exact first-match XLOOKUP. Only the displayed examples and supported semantics were calculated. They were not executed in Microsoft Excel. This check does not verify every claim in the article.
Synthetic examples are provided for practice. They are not evidence of personal experience, independent human review or execution in Microsoft Excel.
Pingback: Largest Order Quantity in Excel: Find It with MAX