Typing =SUM(B2:B25) under a column of prices or hours — watching Google Sheets display a stubborn 0 even though twenty numbers sit right above the total — happens because SUM completely ignores any cell stored as text rather than a true number. Whenever numbers arrive pasted from bank websites, PDFs, or formatted as Plain Text (similar to issues in Google Sheets number formatting quirks), they look identical to real numbers yet calculate as zero.
Clue 1: Numbers Align Left Instead of Right (Plain Text Format)
By default in Google Sheets, real numbers align to the right edge of a cell while text aligns to the left edge. Check your column alignment first:
- Highlight the stubborn column of numbers.
- Click Format in the top menu > Number > Number (or Automatic).
- If cells still hug the left edge or show a leading apostrophe (
'150.00) when clicked in the formula bar, highlight the column, press Ctrl + H (Find and replace), click Search using regular expressions, search for^'or re-type one test cell to confirm the apostrophe strips cleanly.
Clue 2: Hidden Spaces or Currency Words Copied From Web Pages
Pasting price tables straight off bank portals or invoices frequently sneaks invisible non-breaking spaces or typed currency strings (such as GBP 45.00, $ 120, or a trailing invisible space after 25.50) into every cell, forcing Sheets to treat the whole cell as plain text:
- Highlight the range and click Data > Data cleanup > Trim whitespace to strip hidden leading and trailing spaces in one click.
- If copied cells include typed letters like
USDorhrsinside the text itself rather than number formatting, press Ctrl + H, replaceUSDwith nothing, and click Replace all. - To rescue numbers in one clean helper column without manual editing, use
=ARRAYFORMULA(VALUE(TRIM(B2:B25)))or convert single cells via=VALUE(B2)so Sheets parses them strictly as real numbers.
Clue 3: Mismatched Decimal Commas vs Dots
If your spreadsheet Locale uses dots for decimals (12.50 in UK/US) while pasted European bank numbers use commas (12,50), Google Sheets treats every comma-decimal entry as text — pushing SUM to zero. Check File > Settings > Locale matches the source format, or use Find & Replace cleanly (and note our companion fix for preventing Sheets changing numbers into dates) so every cell calculates accurately.