Skip to content

Formula shows as text instead of the result — Google Sheets fix

Updated

You type =SUM(A1:A3) and the cell keeps showing =SUM(A1:A3). No #ERROR!, no #NAME?, no result. The formula was stored as text, or the sheet is in a view that displays formulas instead of values. The two cases look the same in one cell and are easy to tell apart once you know the tests.

A formula that does calculate and then fails is a different problem: formula parse locale and unknown function. Keep the Google Sheets UI in English.

  1. Open a blank spreadsheet. In A1 type 10. A2 20. A3 30.

A working formula, as contrast. In B1 enter =SUM(A1:A3). B1 is 60. Leave B1 as the control.

Show formulas, whole sheet. Turn on View → Show formulas, or press Ctrl+~. B1 now displays =SUM(A1:A3), and so does every other formula on the sheet. Columns often get wider. The formula bar still shows =SUM(A1:A3). Press Ctrl+~ again, or turn the menu item off. B1 is 60. That toggle is the first test: if every formula flipped, the view was on. Leave the view off before the next steps.

View menu open with Show formulas checked, or the sheet after Ctrl+~. B1 displays =SUM(A1:A3) as text-looking formula. A1:A3 are 10, 20, 30. English UI.

Plain text no longer recreates this, as of a 2026-11-27 check. Select B3. Format → Number → Plain text. Then type =SUM(A1:A3) and press Enter. In the live English UI with Locale set to United States, B3 still calculates 60 and sits right-aligned. Several entry methods were tried, including typing, paste, and confirming a leading =. Do not use this as the one-cell recreate. B3 can stay as a working formula for contrast.

A leading space or apostrophe still does. In B5 type a space, then =SUM(A1:A3). B5 shows =SUM(A1:A3) or sits left as text. In B6 type an apostrophe, then =SUM(A1:A3). The apostrophe is the “store as text” prefix. The formula bar can show '=SUM(A1:A3) while the cell paints =SUM(A1:A3). Neither cell is 60. Leave B5 and B6 broken.

Format change alone does not convert a text cell. With B5 or B6 still showing the formula text, Format → Number → Automatic leaves the cell as text. The stored value starts with a space or an apostrophe, not =. Click into the cell, delete the prefix so the first character is =, and press Enter. The cell becomes 60.

B6 selected. Formula bar shows '=SUM(A1:A3) with a leading apostrophe. The cell displays =SUM(A1:A3) left-aligned and is not 60. B5 is also formula text. B1 is 60. English UI.
  • Show formulas is a view, not a cell format. It affects every formula on the sheet. It is easy to turn on by accident with Ctrl+~. Turning it off restores every result at once. Google documents that shortcut as “Show all formulas.”
  • Plain text is still the format for ids and other codes that must stay text, but it is not a reliable way to stop a typed formula from calculating. On 2026-11-27, in an English sheet with Locale set to United States, a cell set to Plain text still evaluated a typed =SUM(...). If you see formula text in one cell, check for a leading space or apostrophe before assuming the number format is the cause.
  • A leading space makes the first character a space, so Sheets never sees a formula. A leading apostrophe is the standard “this is text” prefix and is also not a formula. Changing the number format later does not parse those cells. The prefix has to be deleted and the formula re-entered.
  • Alignment is only a hint. Text often sits on the left, numbers on the right, but a centered column will hide that. ISTEXT(B3) and looking at the first character in the formula bar are the checks.

This is not a parse error. A locale semicolon or a smart quote still starts with = and shows #ERROR! or #NAME?, with a tooltip: formula parse locale, smart quotes, unknown function. This is not dates stored as text and not leading zeros dropped, although Plain text on an id column is often why a later formula in that same column is stored as text.

Leave B5 and B6 as text so the prefix cases stay visible. Put Show formulas back off.

If the whole sheet displayed formulas, toggle the view off. View → Show formulas, or Ctrl+~. B1 should be 60 again. You do not re-enter cells for this case.

If only some cells show the formula text, remove the prefix, then re-enter. Select those cells. In the formula bar, the first character must be =. Delete any leading space or apostrophe and press Enter. Format → Number → Automatic is still worth setting, but it will not parse a value that starts with a space or an apostrophe. For a long column of formulas stored as text, after the cells start with = you can use Edit → Find and replace: find =, replace with =, tick Also search within formulas, current sheet. That forces a re-parse without changing the text.

B3 selected after Format → Number → Automatic and re-entry. Formula bar shows =SUM(A1:A3). B3 is 60. B5 still shows a leading space before the equals sign and is text.

Delete the space or the apostrophe in front of =. In the formula bar, the first character must be =.

Stop it coming back. If a column is Plain text on purpose (ids, ZIP codes, SKUs), put calculated formulas in the next column, on Automatic. A typed = formula was observed to calculate even in a Plain text cell, but ids still belong in a text column so Sheets does not drop leading zeros: leading zeros dropped.

If after a re-entry the cell shows #NAME? or Formula parse error, the text problem is solved and you now have a real formula problem.