Sign inTry one task free
← All articles

Excel

How to Check an Excel Total Isn't Missing Rows

A formula can look fine and still skip rows. Five quick checks catch it, plus what a public company's restatement shows about one omitted item.

ByMaximilian Simkins5 min read

ON THIS PAGE

Compare the total to a second number that was built a different way, and compare the count of rows your formula covers to the count of rows in the source. If the two totals differ or the two counts differ, the formula is leaving something out. Excel will not always warn you. A sum over B2:B90 happily ignores rows 91 and below, and the answer still looks like a number.

Why do totals silently miss rows?

A formula only knows the cells it was pointed at. Rows added later at the bottom, a block pasted underneath, an item that lives on another tab, or a range that was never wide enough to start with all produce the same result: a clean-looking total that is too small.

Excel has a built-in check for part of this. Microsoft documents it as the OmittedCells setting: Excel flags "the selected cells that contain formulas referring to a range that omits adjacent cells that could be included." That helps when the missing cells sit right next to the range. It does nothing for a row on a different sheet, or for a list that was never in the range in the first place. So treat the warning as a hint only.

What are the five checks?

CheckHowWhat it catches
Second totalRebuild the total another way (a pivot table, or the sum of subtotals by category) and subtract: =SUM(Data!D:D)-SUM(Summary!B2:M20) should be 0A range that stops short, a category nobody mapped
Row count=COUNTA(Data!A:A)-1 for the rows in the source, against the number of rows your formula's range spansRows added below the range
Read the rangeClick the cell and read the range in the formula bar. Check its first and last row against the dataRanges that start late or end early
Test rowAdd a row at the bottom with an obvious amount like 1,000,000, see whether the total moves, then delete itHard-coded ranges
Tie to an outside recordMatch the input to a record you did not build: the bank statement balance, the payroll register, the share registerItems missing from the list itself

Run the second-total check first. It is the one that finds the most with the least effort, because it does not depend on you guessing where the gap is.

Does this matter for averages and ratios, not just sums?

More, if anything. A weighted average divides by a total, so one omitted item moves the answer without making any single cell look wrong. The inputs can each be right and the result still off. For any average, per-unit price or per-share figure, also check the denominator on its own: does the list of items behind it add up to the number you can see in another record?

What did a public company's restatement show?

PUBLIC CASE

This is a public case, not one of our engagements.

U.S. Global Investors, a San Antonio investment adviser listed on Nasdaq, filed its quarterly report for the period ended March 31, 2026 on May 13, 2026. On May 29, management concluded, with its audit committee, that the numbers in that filing should no longer be relied on.

The cause was a spreadsheet. The company's June 1 announcement says: "Within a supporting spreadsheet, a component of shares was inadvertently omitted from the calculation." That left the weighted average share count too low. For the three months ended March 31, weighted average shares were understated by 702,484 shares, which is about 5.6 percent of the corrected count of 12,561,208 basic shares. Because earnings per share divides income by that count, per-share earnings were overstated: reported as $0.23 and restated to $0.21.

The company was specific about what did not change. Its announcement says: "Only the weighted average number of shares outstanding and the resulting per-share figures are affected." Net income, revenue and the rest of the statements stood. The error was small, and it still forced an amended filing (Form 10-Q/A).

The more useful part is how the company described its own control failure. In the amended filing, management wrote that "the control did not operate at a sufficient level of precision to detect a completeness error in an underlying workpaper." In plain terms, the review did not notice that an item was missing. Its fix, in the same filing: "enhanced review procedures and controls designed to validate spreadsheet completeness and formula integrity." Completeness is exactly what the five checks above test.

Why it matters to you: a reviewer who only asks whether the result looks reasonable will pass a total that is 5 percent short. The checks that catch it compare against something independent. A listed company with an audit committee still missed it, so a small business sending a P&L to a lender can miss it too.

What should you do before you send a report?

  1. Pick the three numbers a reader will quote: total revenue, net profit, and any per-unit or average figure.
  2. Run the second-total check and the row-count check on each.
  3. For any average, check the denominator against an outside record.
  4. Write down the check and the date next to the number, so the next person can repeat it.

Can software do the completeness check for you?

A tool that builds the workbook from your files can run these checks every time instead of when someone remembers. UnifiedAnalyst's how-it-works page says "Every figure is calculated from your rows, never estimated" and that workbooks "arrive with live formulas, so you can trace and change the model yourself." Whatever you use, apply the same test: can you see which rows a total covers, and does it tie to an independent number?

If you want to try it on a file you already know the answer to, see pricing.

Sources

  1. U.S. Global Investors, Inc., Form 10-Q/A for the quarter ended March 31, 2026 (Explanatory Note and Item 4): https://www.sec.gov/Archives/edgar/data/754811/000143774926019757/usglobal20260331_10qa.htm
  2. U.S. Global Investors, Inc., press release of June 1, 2026 (Exhibit 99.1 to Form 8-K): https://www.sec.gov/Archives/edgar/data/754811/000143774926019086/ex_970591.htm
  3. U.S. Global Investors, Inc., press release of June 5, 2026 (Exhibit 99.1 to Form 8-K), as-reported and as-restated table: https://www.sec.gov/Archives/edgar/data/754811/000143774926019804/ex_973695.htm
  4. Microsoft Learn, "ErrorCheckingOptions.OmittedCells property (Excel)": https://learn.microsoft.com/en-us/office/vba/api/excel.errorcheckingoptions.omittedcells
  5. UnifiedAnalyst, How it works: https://unifiedanalyst.com/how-it-works

UnifiedAnalyst shows the rows behind every figure it reports.See pricing →

More articles