You are on page 1of 8

1/15/2018 How to correct a #N/A error - Office Support

Search Office help  


Buy Office 365 
Office
Sign in
Products
Apps   Resources

Install
Templates
Account
Support
Training

Buy Office 365


Admin

Excel / Formulas and functions / Errors / How to correct a #N/A error

How to correct a #N/A error


Applies To: Excel 2016, Excel 2013, Excel 2010, Excel 2007, Excel 2016 for Mac, More...

The #N/A error generally indicates that a formula can’t find what it’s been asked to look for.

https://support.office.com/en-us/article/How-to-correct-a-N-A-error-a9708411-f82e-4e1b-8a7e-28c28311b993 1/8
1/15/2018 How to correct a #N/A error - Office Support

Top solution
The most common cause of the #N/A error is with VLOOKUP, HLOOKUP, LOOKUP, or MATCH
functions if a formula can’t find a referenced value. For example, your lookup value doesn’t exist
in the source data.

Item not found in source data

In this case there is no “Banana” listed in the lookup table, so VLOOKUP returns a #N/A error.

Solution: Either make sure that the lookup value exists in the source data, or use an error handler
such as IFERROR in the formula. For example, =IFERROR(FORMULA(),0), which says:

https://support.office.com/en-us/article/How-to-correct-a-N-A-error-a9708411-f82e-4e1b-8a7e-28c28311b993 2/8
1/15/2018 How to correct a #N/A error - Office Support

=IF(your formula evaluates to an error, then display 0, otherwise display the formula’s result)

You can use “” to display nothing, or substitute your own text: =IFERROR(FORMULA(),”Error
Message here”)

If you’re not sure what to do at this point or what kind of help you need, you can search for
similar questions in the Excel Community Forum, or post one of your own.

Note: Click here if you need help on the #N/A error with a specific function, like VLOOKUP or
INDEX/MATCH.

If you want to move forward, then the following checklist provides troubleshooting steps to help
you figure out what may have gone wrong in your formulas.

Incorrect value types 

There is extra spacing in the cells 

Using the Approximate Match vs. Exact Match method (TRUE/FALSE) 

https://support.office.com/en-us/article/How-to-correct-a-N-A-error-a9708411-f82e-4e1b-8a7e-28c28311b993 3/8
1/15/2018 How to correct a #N/A error - Office Support

An array formula references a range that doesn’t have the same number of rows or 
columns as the range that contains the array formula

If you have manually entered #N/A or NA() in cells because data was missing, replace it 
with actual data as soon as it’s available. Until you do this, formulas that refer to these
cells can’t calculate a value and will return the #N/A error instead.

A formula using a predefined or user-defined function is missing one or more required 


arguments.

A user-defined function you entered isn't available. 

A macro you run uses a function that returns #N/A 

You edit a protected file that contains functions such as CELL, and the contents of the 
cells turn to N/A errors

Need help understanding a function's arguments? 

Using #N/A with charts 

https://support.office.com/en-us/article/How-to-correct-a-N-A-error-a9708411-f82e-4e1b-8a7e-28c28311b993 4/8
1/15/2018 How to correct a #N/A error - Office Support

For more information on a #NA error appearing in a


specific function, see the topics below:
Correct the #N/A error in VLOOKUP function

Correct the #N/A error in INDEX/MATCH functions

Top of page

Need more help?


You can always ask an expert in the Excel Tech Community, get support in the Answers
community, or suggest a new feature or improvement on Excel User Voice.

See Also
Convert numbers stored as text to numbers

VLOOKUP function

HLOOKUP function
https://support.office.com/en-us/article/How-to-correct-a-N-A-error-a9708411-f82e-4e1b-8a7e-28c28311b993 5/8
1/15/2018 How to correct a #N/A error - Office Support

LOOKUP function

MATCH function

Overview of formulas in Excel

How to avoid broken formulas

Use error checking to detect errors in formulas

Keyboard shortcuts in Excel for Windows

Keyboard shortcuts in Excel for Mac

All Excel functions (alphabetical)

All Excel functions (by category)

https://support.office.com/en-us/article/How-to-correct-a-N-A-error-a9708411-f82e-4e1b-8a7e-28c28311b993 6/8
1/15/2018 How to correct a #N/A error - Office Support

Connect with an expert Expand your skills


CONTACT US  EXPLORE TRAINING 

Was this information helpful? Yes No

What's new Store & Education Enterprise Developer Company


Support
Surface Book 2 Microsoft in Microsoft Azure Microsoft Visual Careers
Account profile education Studio
Surface Pro Enterprise About Microsoft
Download Center Office for students Windows Dev
Xbox One X Data platform Center Company news
Sales & support Office 365 for
Xbox One S schools Find a solutions Developer Privacy at
Returns provider Network Microsoft
VR & mixed reality Deals for students
Order tracking & educators Microsoft partner TechNet Investors
Windows 10 apps resources
Store locations Microsoft Azure in Microsoft Virtual Diversity and
Office apps education Microsoft AppSource Academy inclusion
Support
Manufacturing & Microsoft Accessibility
Buy online, pick resources developer
up in store program Security

https://support.office.com/en-us/article/How-to-correct-a-N-A-error-a9708411-f82e-4e1b-8a7e-28c28311b993 7/8
1/15/2018 How to correct a #N/A error - Office Support

Financial services Channel 9

Office Dev Center

 English (United States)

Contact Us Privacy & Cookies Terms of use & sale Trademarks Office accessibility Legal © Microsoft 2018

https://support.office.com/en-us/article/How-to-correct-a-N-A-error-a9708411-f82e-4e1b-8a7e-28c28311b993 8/8

You might also like