The digits 1 through 9 add to 45. Every completed classic Sudoku row, column, and box therefore has that total. But the total is a consequence of the rule, not a substitute for it.
Compare these two collections: 1,2,3,4,5,6,7,8,9 and 1,1,3,4,5,6,7,9,9. Both add to 45. The second repeats 1 and 9 and omits 2 and 8. It fails the Sudoku requirement even though the sum passes.
This is an example of a necessary condition that is not sufficient. A correct unit must total 45, but totaling 45 does not force it to contain each required digit once. The distinction appears whenever a quick numerical check summarizes information and loses detail.
For a reliable final check, confirm membership and uniqueness. Read each unit and mark off 1 through 9 on a separate checklist. If a digit is encountered twice, stop and inspect the relevant added entries. If a digit is absent, another must be repeated in a full nine-cell unit using the allowed digits.
Arithmetic can still be useful in variants that explicitly add sum constraints. There, the sum is part of the puzzle's instructions and must be combined with the other rules. In classic Sudoku, checking a sum may catch some errors, but it cannot certify the answer. The small counterexample is worth remembering because it explains precisely why a tempting shortcut leaves a gap.
Sources & notes
Original puzzle teaching and explanation by Evan Tessell.