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. #NULL! Error in Excel: What It Means and How to Fix It

#NULL! Error in Excel: What It Means and How to Fix It

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

The short answer

The #NULL! error means Excel was asked for the overlap of two ranges that don't overlap. A space between two references is Excel's intersection operator, so =SUM(B2:B5 D2:D5) returns #NULL!. Fix it by replacing the space with a comma to add both ranges, =SUM(B2:B5,D2:D5), or with a colon to make one range, such as B2:B5.

Key takeaways

  • In Excel, a space between two references means "the cells where these ranges overlap".
  • #NULL! appears when the ranges have no cells in common, almost always because a comma or colon is missing.
  • Use a comma to combine separate ranges (B2:B5,D2:D5) and a colon for one continuous range (B2:B5).
  • Spaces after commas or brackets are fine. Only a space directly between two references causes #NULL!.
On this page+
  1. What does #NULL! mean?
  2. Cause 1: a space instead of a comma
  3. Cause 2: a space instead of a colon
  4. Cause 3: a missing maths operator
  5. Spaces that are safe
  6. How the intersection operator works on purpose
  7. How to find every #NULL! error in a workbook
  8. Should you hide #NULL! with IFERROR?
  9. Practise it

The #NULL! error in Excel means a formula asked for the cells where two ranges overlap, and the ranges don't overlap. In practice, it almost always means you typed a space where a comma or a colon should be, as in =SUM(B2:B5 D2:D5). The fix is one character. This guide explains why the error happens, how to fix it, and how to find every #NULL! in a workbook.

What does #NULL! mean?#

#NULL! means "these ranges have nothing in common". Excel has three reference operators, symbols that join cell references together:

OperatorNameExampleMeaning
: (colon)RangeB2:B5Every cell from B2 to B5
, (comma)UnionB2:B5,D2:D5Both ranges together
A single spaceIntersectionB2:D5 C2:C8Only the cells in both ranges

The space is the surprising one. Because a space between two references is a real operator, Excel doesn't ignore it. It looks for cells that belong to both ranges, and if there are none, the result is #NULL!.

All the examples use this cost table in A1:D5:

ABCD
1ItemJanFebMar
2Rent1,2001,2001,200
3Power180165150
4Supplies9512080
5Travel3000210

Cause 1: a space instead of a comma#

The most common cause is a missing comma between two ranges. Say you want the total of January and March:

Excel formula
=SUM(B2:B5 D2:D5)

Column B and column D share no cells, so the intersection is empty and the formula returns #NULL!. Replace the space with a comma:

Excel formula
=SUM(B2:B5,D2:D5)

The result is 3,415: 1,775 for January plus 1,640 for March. The comma tells SUM to add both ranges. The SUM function guide shows the other ways to give SUM several ranges, and the complete guide to SUM covers AutoSum and totals across columns.

Cause 2: a space instead of a colon#

The second cause is a missing colon inside a range. Typing a space instead:

Excel formula
=SUM(B2 B5)

asks for the overlap of cell B2 and cell B5. Two different single cells never overlap, so you get #NULL!. Put the colon back:

Excel formula
=SUM(B2:B5)

This returns 1,775, the January total. The same slip can happen in any function that takes a range, such as AVERAGE, COUNT or MAX.

Cause 3: a missing maths operator#

The third cause is a space where a plus, minus or multiply sign should be. To add January and February power costs, you might type:

Excel formula
=B3 C3

Excel reads this as "the overlap of B3 and C3", not "B3 plus C3", and returns #NULL!. Add the operator you meant:

Excel formula
=B3+C3

This returns 345 (180 + 165). The slip is easy to make when you edit a formula and delete one character too many, so check the spot you last changed first.

Spaces that are safe#

Not every space in a formula causes #NULL!. Excel only treats a space as the intersection operator when it sits directly between two references. These all work normally:

  • =SUM(B2:B5, D2:D5): the space comes after a comma.
  • =SUM( B2:B5 ): the spaces sit next to brackets.
  • =B2 + D2: the spaces sit next to an operator.

So you can add spaces to make long formulas easier to read. Just never let a space be the only thing between two references.

How the intersection operator works on purpose#

The space operator does have a real use: it returns the cell where a row range and a column range cross. On the cost table:

Excel formula
=B3:D3 C2:C5

Row 3 (Power) and column C (Feb) cross at C3, so the result is 165. You can also wrap it in a function: =SUM(B2:D5 C2:C5) adds only the cells both ranges share, which is all of column C, and returns 1,485.

This works best with named ranges. If you name B3:D3 "Power" and C2:C5 "Feb", then =Power Feb reads almost like English and returns 165. The guide to named ranges shows how to create them. Most people never need this, which is why a #NULL! error is nearly always a typo rather than an intended intersection.

How to find every #NULL! error in a workbook#

To find all the error cells at once, use Go To Special:

  1. Press F5 or Ctrl+G (Mac: Ctrl+G or Fn+F5), then click Special.
  2. Choose Formulas and untick everything except Errors.
  3. Click OK. Excel selects every cell that shows an error.

Press Tab to move from one selected cell to the next and fix each one. If a total near the bottom shows #NULL!, check the formula itself and every cell it uses, because errors pass up into the formulas that depend on them.

You can also count errors with =SUMPRODUCT(--ISERROR(B2:F20)). If you want to know which error a cell holds, =ERROR.TYPE(F2) returns 1 for #NULL!.

Should you hide #NULL! with IFERROR?#

No. IFERROR would turn #NULL! into a blank or a 0, but the formula would still be wrong: you would just stop seeing it. A #NULL! error has an exact cause and a one-character fix, so correct the formula instead.

#NULL! is one of several Excel errors, and each points to a different problem. A deleted cell gives #REF!, text in a sum gives #VALUE!, and a typo in a function name gives #NAME?. The guides to the #REF! error, the #VALUE! error and the #NAME? error cover each one, and the list of all Excel error types puts them side by side.

Practise it#

Try the exercise on this page: it asks you to fix the exact =SUM(B2:B5 D2:D5) formula from this guide. Then practise SUM in a live spreadsheet, where each formula you type is checked instantly. The Debugging SUM lesson goes further, with missed rows, numbers stored as text and totals that count themselves.

Try it yourself

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

A colleague typed =SUM(B2:B5 D2:D5) to add the January and March costs and got #NULL!. Click F2 and type the corrected formula, then press Enter.

fx
ABCDEFG
1
Item
Jan
Feb
Mar
2
Rent
1200
1200
1200
Jan + Mar
3
Power
180
165
150
4
Supplies
95
120
80
5
Travel
300
0
210
6
7
8

Tip: The space between the two ranges is the problem. Put a comma there instead.

Practise this in a lesson

LessonSUM and AutoSumAdd up a column of numbers with SUM, then let AutoSum write the formula for you.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.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

What does #NULL! mean in Excel?

+

It means a formula asked for the intersection of two ranges that don't intersect. The intersection operator is a space, so a space typed by mistake between two references is the usual cause.

How do I fix a #NULL! error in Excel?

+

Look for a space between two cell references in the formula. Replace it with a comma if you want both ranges, as in =SUM(B2:B5,D2:D5), or with a colon if you meant one range, as in =SUM(B2:B5).

Does a space after a comma cause #NULL!?

+

No. =SUM(B2:B5, D2:D5) works fine, because the space sits next to a comma, not directly between two references. Excel ignores spaces next to commas, brackets and most operators.

How do I find all #NULL! errors in a sheet?

+

Use Go To Special. Press F5 or Ctrl+G, click Special, choose Formulas and tick only Errors. Excel selects every cell that shows an error, including #NULL!.

What is the intersection operator in Excel?

+

It is a single space between two references. =B2:D5 C2:C8 returns the cells both ranges share, which is C2:C5 here. It is rarely used on purpose, which is why #NULL! is usually a typo.

Sources

  • SUM function - Microsoft Support
  • Calculation operators and precedence in Excel - Microsoft Support
  • Find and select cells that meet specific conditions - 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. What does #NULL! mean?
  2. Cause 1: a space instead of a comma
  3. Cause 2: a space instead of a colon
  4. Cause 3: a missing maths operator
  5. Spaces that are safe
  6. How the intersection operator works on purpose
  7. How to find every #NULL! error in a workbook
  8. Should you hide #NULL! with IFERROR?
  9. Practise it

Keep reading

Errors & fixes· 5 min read

Every Excel Error Explained: #N/A to #SPILL!

Excel has nine common error types. #N/A means a value wasn't found, #DIV/0! means division by zero, #VALUE! means the wrong kind of data, #REF! means a missing cell, #NAME? means Excel doesn't recognise a word, and #NUM! means an impossible number. #NULL!, #SPILL! and #CALC! cover ranges and dynamic arrays. ##### is just a narrow column.

Errors & fixes· 5 min read

#REF! Error in Excel: What It Means and How to Fix It

#REF! means a formula refers to a cell that isn't valid any more. Usually a row, column or sheet it used was deleted, or a copied formula now points off the edge of the sheet. Press Ctrl+Z straight away to undo the deletion. Otherwise, edit the formula and replace each #REF! with the right cell.

Errors & fixes· 5 min read

#VALUE! Error in Excel: Causes and Fixes

#VALUE! means a formula got the wrong type of value, most often text where it needed a number. Common causes are a word like "n/a" in a cell you add with +, a cell that holds only a space, or a date stored as text. Fix the data, or use SUM, which skips text, instead of adding cells with +.

More on errors & fixes

  • #NUM! Error in Excel
  • Numbers Stored as Text in Excel: Find and Fix
  • Excel Percentage Wrong? Why 5 Becomes 500% and the Fix
  • "PivotTable Field Name Is Not Valid": How to Fix It
  • "There's a Problem With This Formula": Fixes
  • Excel Scientific Notation: Fix Numbers Showing as E+
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