ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Errors & fixes
  3. Excel Formula Returns 0? Causes and Fixes

Excel Formula Returns 0? Causes and Fixes

By ExcelReady Team·Updated November 2, 2026·5 min read

The short answer

An Excel formula returns 0 when it finds nothing it can use. The usual causes are numbers stored as text, a lookup that lands on an empty cell, SUMIF or COUNTIF criteria that don't match because of spaces or typos, a circular reference, calculation set to Manual, or a number format that hides small values.

Key takeaways

  • SUM, SUMIF and AVERAGE skip numbers stored as text, so a column of text numbers adds up to 0 with no error.
  • VLOOKUP, XLOOKUP and INDEX return 0 when the cell they bring back is empty.
  • A trailing space in the data is enough to make SUMIF or COUNTIF find no match and return 0.
  • A formula that refers to its own cell is a circular reference and usually shows 0 with a warning.
  • Before you change the formula, check the number format: 0.4 shown with no decimals looks like 0.
On this page+
  1. Why does an Excel formula return 0?
  2. Numbers stored as text: the most common cause
  3. Lookup formulas that return 0 instead of blank
  4. SUMIF, COUNTIF and SUMIFS returning 0
  5. Circular references and formulas that show 0
  6. When the formula shows 0 because it isn't recalculating
  7. Wrong ranges, empty cells and number formats
  8. Practise it

When an Excel formula returns 0, it usually isn't broken. It ran, found nothing it could use, and reported zero. The cause is almost always one of seven things: text that looks like numbers, an empty lookup cell, criteria that don't match, a circular reference, Manual calculation, a wrong range, or a number format. This guide shows how to spot each one in under a minute and fix it.

Why does an Excel formula return 0?#

A formula returns 0 when the cells it reads contain no usable numbers or no matches. Excel doesn't show an error in these cases, which is why a 0 is harder to debug than #N/A. Work through this checklist from top to bottom:

What you seeLikely causeQuick check
SUM or AVERAGE of a full column is 0Numbers stored as textNumbers sit on the left of the cell
Lookup shows 0 for one itemThe returned cell is emptyLook at the source row
SUMIF or COUNTIF is 0Criteria don't match exactlyLook for spaces and typos
0 plus a warning messageCircular referenceStatus bar says "Circular References"
0 that never changesCalculation set to ManualPress F9 and watch
0 in a percentage or small totalNumber format hides decimalsClick the cell, read the formula bar

Numbers stored as text: the most common cause#

SUM, SUMIF and AVERAGE skip any cell that holds text, even if the text looks like a number. If every cell in the range is text, the total is 0. This often happens with data copied from a website, a PDF or another system.

Signs that numbers are text:

  • They are left-aligned while real numbers sit on the right.
  • A small green triangle appears in the top-left corner of the cell.
  • When you select them, the status bar shows a Count but no Sum.

To fix them, select the cells, click the warning icon and choose Convert to Number. Or leave the data alone and convert inside the formula:

Excel formula
=SUMPRODUCT(--B2:B6)

The double minus turns each text number into a real one. Our guide to numbers stored as text covers every conversion method, and why SUM shows 0 walks through the SUM-only cases. The SUM function guide is a quick reference for the syntax.

Lookup formulas that return 0 instead of blank#

VLOOKUP, XLOOKUP and INDEX return 0 when they find the right row but the cell they bring back is empty. Excel treats an empty cell as zero in a formula result. So =VLOOKUP("P-104",A2:C8,3,FALSE) shows 0 if the price for P-104 hasn't been entered yet.

That 0 can mislead people, because it looks like a real price. Return a blank instead:

Excel formula
=IF(VLOOKUP(F2,A2:C8,3,FALSE)="","",VLOOKUP(F2,A2:C8,3,FALSE))

A shorter trick is to add &"" to the end of the lookup. It returns an empty string for blanks, but it also turns real numbers into text, so only use it for text columns. The article on returning a blank instead of 0 in VLOOKUP compares both methods.

SUMIF, COUNTIF and SUMIFS returning 0#

A conditional formula returns 0 when no row matches the criteria exactly. The most common reasons are small and invisible:

  1. Extra spaces. "Paid " with a trailing space does not match "Paid". Clean the data with TRIM, or use a wildcard: "Paid*".
  2. Typos or different words. "Complete" and "Completed" are different values.
  3. Numbers stored as text in the column you check or the column you add.
  4. A cell reference inside quotes. ">=G2" compares against the letters G and 2. Write ">="&G2.
  5. Ranges on different rows. If the sum range starts one row lower than the criteria range, the matches add the wrong cells.

Here is a quick test for hidden spaces. If B2 shows Paid, type =LEN(B2) in a spare cell. A result of 5 instead of 4 means there is an extra character.

Circular references and formulas that show 0#

A circular reference happens when a formula refers to its own cell, directly or through other formulas. For example, =SUM(B2:B10) typed in B10 includes itself. Excel shows a warning, and the cell usually displays 0.

To find it, go to Formulas > Error Checking > Circular References. Excel lists the cell. Change the range so it stops one row above the formula, such as =SUM(B2:B9). The guide to finding and fixing a circular reference explains the less obvious cases, where the loop passes through other sheets.

When the formula shows 0 because it isn't recalculating#

If the result stays at 0 even after you type new numbers, Excel may be set to Manual calculation. The formula still holds the value it had when the cells were empty.

Fix it in Formulas > Calculation Options > Automatic. To recalculate once without changing the setting, press F9 on Windows (on a Mac, F9 or ⌘=). Manual mode is often switched on by a workbook you opened earlier, because Excel takes the setting from the first file opened. See why a formula is not updating for the other causes, such as formulas saved as text.

Wrong ranges, empty cells and number formats#

The last group of causes is about what the formula points at and how the answer is displayed.

  • Empty input cells. =B2*C2 returns 0 when C2 is blank. Check that the input cells are filled in.
  • A range that points at the wrong place. After rows are inserted or data moves, a formula may now read empty cells. Click the cell and press F2 to see the coloured range borders. On a Mac, use Control+U if F2 doesn't work.
  • MIN or MAX with no numbers. Both return 0 when the range holds only text or blanks.
  • A number format that hides decimals. A cell that holds 0.4 and is formatted with no decimal places shows 0. Click it and read the formula bar, or use Increase Decimal on the Home tab.

Practise it#

Finding the reason behind a 0 is a skill you build by fixing real sheets. Practise debugging SUM in a live spreadsheet: you'll find a range that misses a row, numbers stored as text and a total that counts itself, and the sheet checks each fix instantly. Then try fixing lookup errors to handle missing and empty lookup results. Start with the exercise on this page: the wildcard turns a 0 into the real paid total.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

The Status cells in B2:B6 that say Paid have a hidden space at the end, so =SUMIF(B2:B6,"Paid",C2:C6) returns 0. In F2, total the paid amounts with a wildcard: =SUMIF(B2:B6,"Paid*",C2:C6).

fx
ABCDEFG
1
Invoice
Status
Amount
2
INV-201
Paid
450
Paid total
3
INV-202
Due
300
4
INV-203
Paid
125
5
INV-204
Paid
600
6
INV-205
Due
275
7
8
9

Tip: The * after Paid matches any characters that follow it, including a space.

Practise this in a lesson

LessonDebugging SUMFind the three bugs behind most wrong totals: a range that misses a row, numbers stored as text, and a total that counts itself.LessonFixing lookup errorsDiagnose #N/A, #REF! and silent wrong answers in lookups, then handle missing items gracefully.Function guideSUMAdd up columns, rows and separate ranges with Excel's SUM function. Clear examples, common mistakes and a live practice exercise.

Frequently asked questions

Why does my Excel formula show 0 instead of the answer?

+

The formula is working but finds nothing to calculate. Check that the numbers are real numbers and not text, that the criteria match the data exactly, and that the formula does not refer to its own cell.

Why does VLOOKUP return 0 instead of blank?

+

VLOOKUP found the row, but the cell it returns is empty, and Excel shows an empty cell as 0. Wrap it in IF to return an empty string when the result is blank, or add &"" to the end if text output is fine.

Why is my SUMIF returning 0?

+

No row matches the criteria exactly. Look for extra spaces in the data, numbers stored as text, a typo in the criteria, or a cell reference typed inside the quotes.

How do I stop Excel showing 0 in empty formula results?

+

Return an empty string with IF, for example =IF(B2="","",B2*C2). If you only want to hide zeros, use a custom number format such as 0;-0;; which leaves the real 0 in the cell.

Why does my formula show 0 until I press F9?

+

Calculation is set to Manual, so formulas only update when you ask. Go to Formulas, Calculation Options and choose Automatic.

Sources

  • SUM function - Microsoft Support
  • Convert numbers stored as text to numbers - Microsoft Support
  • Remove or allow a circular reference - Microsoft Support

Written and checked by the ExcelReady Team. First published November 2, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. Why does an Excel formula return 0?
  2. Numbers stored as text: the most common cause
  3. Lookup formulas that return 0 instead of blank
  4. SUMIF, COUNTIF and SUMIFS returning 0
  5. Circular references and formulas that show 0
  6. When the formula shows 0 because it isn't recalculating
  7. Wrong ranges, empty cells and number formats
  8. Practise it

Keep reading

Errors & fixes· 5 min read

Excel SUM Showing 0? Causes and Fixes

When SUM shows 0, the cells usually hold numbers stored as text, which SUM ignores. Check for left-aligned numbers and green triangles, then select the cells and choose Convert to Number, or use =SUMPRODUCT(VALUE(B2:B6)). Other causes are a circular reference, manual calculation, a wrong range, and formulas that return text instead of numbers.

Lookups· 6 min read

VLOOKUP Return Blank Instead of 0

VLOOKUP shows 0 when the cell it returns is empty. To return a blank instead, test the result and swap it for empty text: =IF(VLOOKUP(E2,A2:C6,3,FALSE)="","",VLOOKUP(E2,A2:C6,3,FALSE)). A shorter trick is =VLOOKUP(E2,A2:C6,3,FALSE)&"", but that turns numbers into text. In Microsoft 365, LET avoids repeating the lookup.

Errors & fixes· 5 min read

Circular Reference Warning in Excel: Find and Fix It

A circular reference is a formula that refers to its own cell, directly or through other cells, such as =SUM(B2:B8) typed in B8. To find it, go to Formulas > Error Checking > Circular References, or read the status bar. Fix it by changing the range so it stops before the formula's cell, here =SUM(B2:B7).

More on errors & fixes

  • Excel Shows the Formula Instead of the Result
  • Green Triangles in Excel: What They Mean
  • Why Excel Shows ##### in a Cell
  • INDEX MATCH Not Working? 7 Causes and Fixes
  • #NAME? Error in Excel: Typos, Quotes and Missing Functions
  • #NULL! Error in Excel: What It Means and How to Fix It
All errors & fixes articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free