Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
When SUM returns 0 or an incorrect total, the most common cause is that the cells being summed contain numbers stored as text — they look like numbers but the SUM function treats them as zero. Other causes include a circular reference causing a 0 result, or calculation being set to manual so the formula is not updating.
=SUM(A2:A100)=SUMPRODUCT(VALUE(IF(ISNUMBER(A2:A100),A2:A100,0)))When A2:A100 contains a mix of real numbers and text-numbers, SUM returns 0 for text entries. SUMPRODUCT with VALUE forces conversion so all numeric-looking values are summed. Fix the source data for a long-term solution.
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Got the same error in multiple cells? Upload your whole sheet and the Auditor will flag every 0 and broken formula at once — free. Pro plans (₹199/$4.99/mo) can apply the verified fixes and download the corrected file in one click.
Numbers stored as text typically left-align in the cell (real numbers right-align by default). In Excel a small green triangle appears in the top-left corner. Use =ISNUMBER(A2) — TRUE means a real number, FALSE means text or blank.
The most likely cause is that calculation mode was accidentally switched to Manual (Ctrl+Alt+F9 triggers recalculation in Excel, or Formulas > Calculation Options). A circular reference introduced by a recent edit is the second most likely cause.
Use SUBTOTAL(9, range) which automatically skips rows hidden by a filter. For rows hidden manually (not by filter), use SUBTOTAL(109, range).
Multiply ranges together row by row and sum the result — ideal for weighted totals.
How-toSum the 30 calendar days ending on a chosen date with SUMIFS, including timestamps on the final day and excluding future rows.
ReferenceAggregate a range (sum, average, count…) while ignoring other SUBTOTALs and, optionally, hidden rows. Ideal under filters.
How-toAdd up an entire column with SUM. Total a whole column or a fixed range — identical in Excel and Google Sheets.
How-toBuild a cumulative running total with a SUM and a clever anchored reference that grows as you copy it down. Works in both apps.
How-toTotal amounts that fall in a given month with SUMIFS and two date bounds. Works the same in Excel and Google Sheets.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: