How to use IFNA Function in Excel

how to use excel ifna function

Quick Intro

By using Excel IFNA Function you can evaluate a value for #N/A.

If an error occurs you can change it by some specific value or with a more meaningful message and if an error doesn’t occur it will return original value. Unlike IFERROR Function, IFNA test only for #N/A.

Defination for Excel IFNA Function

In above example, I have used IFNA to deliver a meaningful message for an error. You can use this type of formula to evaluate & specify a particular message against #N/A.


IFNA(value, value_if_na)

  • value Value you want to test for #N/A error.
  • value_if_na Value you want to return if an error occurred.

More Information on TRUE Function

  • If you skip specifying any argument, IFNA will treat it as empty string (“”).
  • If a value is an array then it will return the result as an array.
  • If will ignore all other errors #REF!, #DIV/0!, #VALUE!, #NUM!, #NAME?, and #NULL!.


In the below example, I have used IFNA to evaluate #N/A. In VLOOKUP Function #N/A will occur when the lookup value is not in the lookup range and for that I have specified a meaningful message.

Examples For Excel IFNA Function

Note: IFNA Function is introduced in Excel 2013 so it is not available in previous versions.

Sample File

download sample file to learn more about this tips

What’s Next?

To learn more about Excel IFNA Function you can check Microsoft’s Help Section. And, if you have a unique idea to use it, I would love to hear from you.

There is also you have IFERROR function which is highly useful. Apart from this, I have a list of excel functions and some real life formulas examples.