A Google Sheets formula that will not calculate is almost always one of a few fixable things: the cell is formatted as plain text, the formula is missing its leading equals sign, the separators do not match your sheet's locale settings, one cell in a referenced range is empty in the wrong way, or the sheet is still set to calculate manually. The fastest fix is to check the leading = first, then clear the text number format from the cells, then look at the parser error message Google gives you. Most problems resolve within two minutes once you know which of those it is.

A quick note before you start: menu names in Google Sheets are consistent across browsers, but a few of the labels and the location of some options shift slightly between the desktop web app and the mobile app, and between language and region versions. Where a step only works on desktop, the guide says so.

What You'll Need

  • Edit access to the spreadsheet (Viewer access will let you see results but not fix or edit formulas)
  • A desktop browser for the full formula tools, since the mobile app has a reduced formula bar and no error-checking dialog
  • The exact error code or message if Sheets shows one (for example #REF!, #N/A, #ERROR!, or #VALUE!)
  • The cell or range you expected the formula to read, so you can compare it against what the formula actually references

Step-by-Step

  1. Look for the leading equals sign. Click the cell and look in the formula bar at the top of the sheet. A formula must begin with =. If you see text like SUM(A1:A5) with no equals sign, the sheet is storing it as plain text. Double-click the cell and add the = at the very start, then press Enter.
  2. Check the cell's number format. A cell formatted as Plain text refuses to evaluate formulas. Select the cell or range, open the Format menu, then Number, and choose Automatic. If the cell still shows the formula as literal text, use Format > Number > Automatic once more after retyping the formula, because changing the format on an already-typed string sometimes needs a re-entry to take effect.
  3. Read the error code before changing anything. Hover over the small red triangle in the cell's corner, or open the error message that appears in the formula bar. Each code points at a different cause and guessing wastes time.
    • #REF! means a referenced cell or sheet was deleted or moved. Rebuild the reference by clicking the correct cell while editing the formula.
    • #NAME? means Sheets does not recognise a function name or range name, usually a typo such as VLOOUP or a named range that no longer exists.
    • #VALUE! means the formula is doing maths on text. A number stored with an apostrophe, or a cell containing a stray space, will cause this.
    • #N/A in lookup formulas means the search key was not found. Check for extra spaces or text-versus-number mismatches.
    • #DIV/0! means a divisor is zero or empty. Wrap the division in IFERROR to suppress it.
    • #ERROR! usually means the formula did not parse. Check bracket pairs and argument counts.
  4. Match the argument separators to your locale. In US and UK English settings, function arguments are separated by commas. In many European and South American locales, Sheets expects semicolons instead. If you pasted a formula from a website or a colleague's sheet and it returns a parse error, try swapping every comma between arguments for a semicolon, or check File > Settings > Locale to see which convention your file uses. Do not change the locale on a shared file without telling the other editors, because it can break their formulas.
  5. Confirm the sheet is calculating automatically. Open File > Settings > Calculation and check that recalculation is set to automatic rather than manual. On manual, values only refresh when you force it. On desktop you can press Ctrl+Alt+F9 (Windows) or Cmd+Option+F9 (Mac) to force a full recalculation; the mobile app has no equivalent shortcut, so switch to desktop for this.
  6. Check for iterating or self-referencing formulas. A formula cannot live in a cell it also reads. If you typed =A1+1 into cell A1, Sheets will report a circular dependency and refuse to calculate. The same happens across sheets if a chain of references loops back. Trace the references and move the output to a different cell.
  7. Strip hidden characters and spaces. If a lookup fails or a VLOOKUP returns #N/A, select the problem cells and use Data > Trim whitespace to remove leading and trailing spaces. Imported data from a CSV or a website often carries non-breaking spaces that look identical to normal ones. Retyping a value by hand is often quicker than hunting for them.
  8. Check text versus number types. Numbers imported as text align left by default; real numbers align right. A lookup against a number stored as text will fail silently. Convert by selecting the column and using Format > Number > Number, or by multiplying by 1 in a helper formula.
  9. Test the formula on a fresh sheet. If nothing obvious is wrong, open a new blank spreadsheet and paste the formula plus a small sample of the source data. If it works there, the problem is in the original file's data or locale, not the syntax.
  10. Reload the browser tab or reinstall the app. After a sign-out and sign-in, hard-reload the tab with Ctrl+Shift+R (Windows) or Cmd+Shift+R (Mac) to clear a stale script. On mobile, close the Sheets app fully and reopen it. Do not clear app data or delete the file as a first step, since that discards unsaved edits.

Common Mistakes

The most frequent mistake is assuming the formula is broken when the input is. A cell holding "1,234" with a comma inside the quotes is text, not a number, and any arithmetic on it fails. Imported spreadsheets are full of these.

Second is deleting a row or column and then wondering why an entire column of formulas turned into #REF!. Sheets does not repair references to deleted cells; you have to rebuild them. If you need formulas to survive moves and insertions, use INDIRECT sparingly or restructure with named ranges.

Third is mixing commas and semicolons, especially after copying a formula from a tutorial. The tutorial's author may have a different locale than yours.

Fourth is editing a formula inside a cell rather than the formula bar. Clicking a cell and typing can overwrite or merge text. Always click the cell, then edit in the bar at the top.

Fifth is assuming ArrayFormula is a regular formula. Functions like ARRAYFORMULA, QUERY and FILTER need a dedicated column and will return odd results if you drag them down a range. Delete the extra copies and let one formula spill.

Tips

  • Use IFERROR(your_formula, "") to hide expected failures in dashboards, but never to mask a real data problem you have not yet investigated.
  • Press Ctrl+Shift+Enter to wrap a formula in ARRAYFORMULA on desktop if you need a result across a whole column.
  • Name your ranges with Data > Named ranges. Named references survive column inserts and make formulas far easier to read.
  • Freeze header rows before editing, so you can always confirm which column a formula points at.
  • Keep a scratch sheet in the same file for testing formulas before they go into live cells.
  • Download an editable copy of a shared file rather than typing over someone else's version, then diff the two if formulas behave differently.

Troubleshooting

If the formula shows the right result but the wrong value on another device, check that both devices are signed into the same account and that the file has synced. A phone with an old cached version can show stale numbers.

If a formula works in a test sheet but not in the live one, the live sheet likely has a protection range. Look for a lock icon on the column header; if it is protected, ask the owner to grant edit access, since a viewer cannot change formulas even in unlocked cells.

If a shared file's formula suddenly shows #NAME? after someone else edited, they may have deleted a named range or changed the locale. Check File > Version history to see the edit and restore an earlier version if needed. Restoring creates a new version and does not erase the old one, so you can undo it.

If the whole file is slow or shows loading errors, check whether the sheet has huge array formulas reading entire columns. Narrow a range from A:A to A1:A1000 to cut the calculation load. If the problem persists across files, wait and retry, since a temporary service issue can cause errors that look like formula bugs.

If that did not work: copy the formula's text into a plain text editor to check for hidden characters, then rebuild it step by step inside the sheet rather than pasting. If it still fails, the underlying data is the problem, and the quickest route is a fresh sheet with the same data typed in manually for comparison.

Frequently Asked Questions

Why does my formula show as text instead of calculating?

Either the cell is formatted as Plain text, or the formula is missing its leading equals sign. Set the format to Automatic and retype the formula starting with =.

Why does a formula copied from a website give an error?

The separator may be wrong for your region. Try replacing commas between arguments with semicolons, or check the file's locale under File > Settings.

Why does VLOOKUP return #N/A when the value is clearly there?

Usually a space or a number stored as text in either the lookup key or the source column. Trim whitespace and convert columns to the same type.

Can I force a spreadsheet to recalculate?

Yes, on desktop only: press Ctrl+Alt+F9 on Windows or Cmd+Option+F9 on Mac. Set calculation to automatic in File > Settings > Calculation.

Why did my formulas break after I deleted a column?

Sheets does not repair references to deleted cells, so you get #REF!. Undo the deletion with Ctrl+Z or rebuild the reference by clicking the correct cells.

Can someone else's edits break my formulas?

Yes, if they delete named ranges, change the locale, or delete referenced cells. Check File > Version history to see who changed what.