A summary total should equal the sum of its detail rows. A tie-out check — the difference rounded to zero — catches a dropped row, a typo, or a stale summary before it ships.
The example
Reported $48,000 vs detail rows.
| A | B | |
|---|---|---|
| 1 | Check | Result |
| 2 | Total = SUM(detail)? | TRUE |
The formula
The formula:
How it works
How it works:
SUM(detail_range)totals the underlying rows; compare to the stated summary.- Return the difference (not just TRUE/FALSE) so you can see how far off it is.
- Always
ROUNDthe difference before testing equality to dodge floating-point noise. - Place the check next to the total so a mismatch is impossible to miss.
Tie-out checks are cheap insurance. A one-cell =ROUND(total - SUM(detail), 2) beside every reported figure catches the classic errors — a row added below the SUM range, a hard-typed total someone forgot to update, a deleted line — the moment they happen. Show the difference, conditionally formatted red when non-zero, and the model audits itself.
Try it: interactive demo
Stated total and detail values.
Variations
Show the difference
Variance:
Per-category tie
Subtotal vs detail:
Pass/fail flag
Readable:
Pitfalls & errors
ROUND first. Compare the rounded difference to 0, not the raw values.
Range coverage. A row added outside the SUM range silently breaks the tie — that’s what the check catches.
Show the gap. A boolean hides the size of the error; display the difference.
Practice workbook
Frequently asked questions
How do I check a total ties to the detail in Excel?
Why does a total quietly stop matching?
How do I tie each category?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class