Excel Formula Returns Blank: Fix It Fast
In this article
If an Excel formula returns blank when you expect a value, the most common reasons are a missing or broken reference, a formula that is being treated as text, a calculation mode set to Manual, or a function that intentionally returns an empty string. The fix is usually one of four things: check the cell reference, confirm the cell is formatted as General or Number rather than Text, press F9 or set calculation to Automatic, or wrap the formula in IFERROR to trap the blank. Work through the steps below in order and you will almost always find the cause.
What You'll Need
- Excel for Windows, Excel for Mac, or Excel for the web (steps are written for desktop Excel; the web version has the same formula bar and Calculation Options menu, though a few ribbon labels sit in slightly different places).
- The workbook that contains the blank-returning formula, ideally saved so you can undo changes.
- A basic understanding of cell references such as A1 or Sheet2!B5.
Step-by-Step
- Click the cell with the formula and read the formula bar. Press F2 to enter edit mode and look at the exact text. Check for a leading apostrophe, a space before the equals sign, or the word TRUE/FALSE typed without an equals sign. Any of those makes Excel store the entry as text, so it displays exactly what you typed and never calculates. Delete the apostrophe or space and press Enter.
- Confirm the cell format is not Text. Select the cell, open the Home tab, and look at the Number Format box. If it says Text, change it to General. Then re-enter the formula (changing the format alone does not recalculate an existing text entry). This is the single most common cause of a formula that looks correct but shows nothing.
- Check that calculation is set to Automatic. Go to Formulas > Calculation Options and make sure Automatic is ticked. If Manual is selected, formulas only update when you press F9 or Ctrl+Alt+F9, so a new formula can sit blank until you force a recalculation. Press F9 after switching back to Automatic.
- Trace the referenced cells. If the formula points at another sheet or workbook, confirm that sheet still exists and the name has not been changed. A #REF! error is obvious, but a reference to an empty cell returns 0 or blank without any warning. Click each referenced cell and check it actually contains the value you expect.
- Look for functions that return an empty string on purpose. IFERROR, IF, XLOOKUP with an if_not_found argument, and VLOOKUP wrapped in IFERROR all return "" when they fail or find nothing. That is not a bug; it is the formula doing what it was told. If you want to see the underlying problem, temporarily remove the IFERROR wrapper and read the error code.
- Check for hidden characters and stray spaces. A lookup value with a trailing space will not match the source data, so the lookup returns blank. Use TRIM on the lookup value, or select the cell and look for extra spaces in the formula bar. Similarly, a non-breaking space copied from a web page can break a match.
- Test the formula in pieces. Select part of the formula in the formula bar and press F9 to evaluate just that section. Excel replaces the selection with its calculated result, which shows you exactly which part is returning blank. Press Esc to restore the formula without changing it.
- Re-enter the formula from scratch. Copy the formula text to a plain text editor, delete the cell contents, set the format to General, and paste the formula back. This clears invisible formatting and text flags that survive a simple edit.
Common Mistakes
- Changing the number format to General but not re-entering the formula. Excel keeps the old text entry until you edit the cell.
- Assuming a blank means zero. An empty string from IFERROR is not the same as 0, and it will break SUM and AVERAGE in ways that are hard to spot.
- Leaving Calculation Options on Manual after opening a large workbook, then wondering why new formulas stay blank.
- Using IFERROR around everything. It hides real errors such as #REF! and misspelled function names, so you never learn what went wrong.
- Referencing a closed workbook. External links to a closed file can return blank or stale values until the source file is opened.
- Forgetting that a formula in a cell formatted as Text will also fail to display a calculated result even after you fix the formula.
Tips
- Use Formulas > Show Formulas (Ctrl+`) to see every formula at once. Blank-looking cells often reveal a text entry or a broken reference immediately.
- Prefer IFERROR only around the specific lookup, not the whole formula, so genuine errors still surface.
- When building a lookup, test the lookup value and the first column of the source separately. If they do not match exactly, the lookup will return blank no matter how the formula is written.
- Keep a scratch sheet for testing formulas before pasting them into a live report.
- If a workbook is shared, check whether someone else has protected the sheet or hidden rows and columns that your formula references.
Troubleshooting
If the steps above did not fix it, work through these checks in order. First, press Ctrl+Alt+F9 to force a full recalculation of every formula in the workbook; this rebuilds dependencies that can go stale after large edits. Second, open Formulas > Evaluate Formula and step through the calculation line by line to see exactly where the blank appears. Third, check whether the cell is part of a merged range; formulas in merged cells can behave unpredictably, so unmerge and retest. Fourth, confirm the workbook is not in a protected view or read-only mode, which can block recalculation. Fifth, if the formula uses a named range, open Formulas > Name Manager and confirm the name still points to the intended cells. Finally, copy the sheet to a new workbook and test there; if the formula works in the copy, the original file has a corruption or link problem, and rebuilding the sheet is usually faster than chasing it.
Frequently Asked Questions
Why does my formula show blank instead of zero?
Because the formula is returning an empty string, usually from IFERROR or an IF statement with "" as the result. Change the result to 0 or remove the wrapper to see the real value.
Why does a formula work in one cell but return blank in another?
The most likely cause is a relative reference that shifted when you copied it. Check the formula bar in the blank cell and confirm the references still point where you expect.
Can a cell format really stop a formula from calculating?
Yes. If the cell is formatted as Text before you enter the formula, Excel stores the formula as text. Change the format to General and re-enter the formula.
Why is my VLOOKUP returning blank when the value exists?
Usually a trailing space, a number stored as text, or a lookup range that does not include the column you are returning. Use TRIM and check the data types on both sides.
Does pressing F9 fix a blank formula permanently?
Only if calculation is set to Automatic. If it is on Manual, F9 recalculates once, and the next change will leave the formula blank again.
Why does IFERROR hide my #REF! error?
That is what IFERROR does: it replaces any error with the value you specify. Remove it temporarily to see the underlying error, fix that, then put it back if you still want the fallback.