Why a filtered Excel total differs from the visible rows

A screenshot shows two dispatch entries, 12 and 20, above a total of 46. The arithmetic looks wrong. It is possible to reproduce all three numbers in an ordinary Excel worksheet without changing a single quantity. The explanation turns on which rows the formula includes.

Preserve the view before you clear the filter

If the workbook is available, keep the received file and examine a copy. Select the reported total. Record its cell address, the formula bar, the sheet name, the filter criteria and the visible row numbers. Capture the labels as well as the figures. A gap between row numbers shows that something is out of view. It does not tell you whether a filter or a manual Hide command put it there.

Rows of blue counters, with amber film over one row and folded paper covering part of another.
The counters stay on the table even when the covering changes which ones you see.

Make the same sheet produce 66, 46 and 32

Use this fictional dispatch tally in a blank sheet. Enter the headers Route and Crates in A1 and B1. Enter North in A2, A3 and A4, then West in A5. In B2 through B5 enter 12, 20, 14 and 20 in that order.

  1. Enter the three formulas below into B8, B9 and B10. Keeping them below the data leaves the results visible throughout the exercise. All three should initially return 66.
  2. Select A1:B5, turn on Filter under Data, and filter Route to North. The West entry drops out of view. Both subtotals now show 46.
  3. Use the row heading to manually hide row 4, the North entry with 14 crates. Two detail rows remain visible. Read the three results again.
Cell and formulaResultRows counted after both changes
B8 =SUM(B2:B5)66All four entries
B9 =SUBTOTAL(9,B2:B5)46The three North entries, including the hidden 14
B10 =SUBTOTAL(109,B2:B5)32The two visible North entries

Unhide row 4 while keeping the filter. The 109 subtotal rises by 14, the 9 subtotal stays at 46, and SUM stays at 66. That one change is a way to isolate the effect of the manually hidden row. In a workbook with subtotal formulas among the detail rows, check their locations too. SUBTOTAL skips nested subtotals in its range to avoid counting them twice. These visibility rules apply to rows in a vertical range. Hiding a column is a different operation. Microsoft’s SUBTOTAL function reference

What the screenshot supports

With only the picture, you can report that the two visible entries add to 32 and the displayed total is 46. Several formulas or ranges could give 46. Ask for the source workbook with its filter state intact before attributing the difference to a hidden row. If the source is a CSV, its data alone cannot preserve an Excel filter or formula. Keep that distinction in your notes when importing a CSV for investigation.

By OSINT Jet · Primary sources reviewed 10 November 2026.