Excel Functions Tutorials
- Information Functions in Excel
- Financial Functions in Excel (17+)
- Logical Functions in Excel (15+)
- TEXT Functions in Excel (29+)
- Lookup Reference in Excel (44+)
- Maths Functions in Excel (52+)
- Date and Time Function in Excel (22+)
- Statistical Function in Excel (50+)
- Excel Charts (48+)
- Excel Tools (98+)
- Excel Tips (178+)
- VBA (162+)
- Power Bi (35+)
#N/A is an error in excel which is called as not available and we have inbuilt ISNA function in excel is a type of error handling function in excel which is used to identify if any of the cells has the #N/A error, this function returns a value true if #N/A error is identified and returns if there is any other value apart from #N/A.
Table of Contents
What is ISNA Function in Excel?
The “ISNA” function is a very interesting function of Excel. It is used for the purpose of exception handling in Excel and VBA programming. The purpose of the ISNA function is to identify whether there is #N/A error that exists in any cell, formula or value. #N/A error is more common in the formulas where excel needs to find something. Whenever a formula looks for any value and that value doesn’t exist, in that case, the system returns #N/A error, ISNA function returns true or false based on the existence of #N/A error.
So with the help of ISNA function Excel experts can easily deal with #N/A error, they can replace the error with another value.
ISNA Formula Excel
The ISNA formula excel is as follows:
Parameters of ISNA Function in Excel
As it is clear from the syntax shown above the ISNA function has only one parameter which is explained below:
Value: The “Value” parameter is quite flexible, it can be another function or formula, a cell or a value that need to be tested.
The ISNA function returns:
- True: If “Value” parameter returns #N/A error or,
- False: If the “Value” parameter doesn’t return #N/A error.
This will be much clearer from the following examples explained in the next section
How to Use Excel ISNA Function?
In this section, we will understand the uses of the ISNA function and will look at a few examples with the help of actual data. The ISNA function is really easy to use, and as explained in the previous section, it uses only one mandatory parameter.
Let’s take some examples by providing various values of the parameter and we will check the output of the ISNA function.
In the above, we have used a function called FIND function which returns the position of a character in a cell.
So the out of the function FIND will be 7.
Let’s just pass above FIND function as a parameter to
In the parameter, we have used a Find function which returned “7” as output. That’s why ISNA returned FALSE because the output of Value Parameter is not #N/A error.
Now let’s just pass #N/A directly as a parameter to ISNA function
In the above case, we directly passed #N/A as a parameter to ISNA function and ISNA returned a TRUE value, which proves that ISNA detects #N/A error present in any cell.
Now let’s pass #VALUE! as a parameter to ISNA function
In the above case, we passed #VALUE! as a parameter to the ISNA function. #VALUE! is also a data missing error. But ISNA returned a FALSE value because ISNA detects only #N/A error, not any other error.
In this example, we will use some other functions as parameters for the ISNA function.
Output is True
Explanation of ISNA Function in Excel
In the above example, we have used a data table with the information of some Animals and their prices. Then we used a VLOOKUP function inside the ISNA function. So when we enter an Animal name that exists in the data table, then VLOOKUP returns the price of that Animal which means return value of VLOOKUP is not #N/A. If we enter an animal name that is not present in the data table, in that case, the return of VLOOKUP function will be #N/A error.
CASE 1: When an animal exists in the data table
When we entered “Cow” in that case VLOOKUP found the price of the cow in the data table. That means no #N/A error that is why ISNA returned FALSE.
Case 2: When the animal is not present in the data table
When we entered “Horse” in that case VLOOKUP didn’t found the price of a horse in the data table. That means #N/A error that is why ISNA returned TRUE.
CASE 3: When an animal exists in the data table
When we entered “Lion” in that case VLOOKUP found the price of the lion in the data table. That means no #N/A error that is why ISNA returned FALSE.
Things to Remember about the ISNA Function in Excel:
- It can be used as a worksheet function.
- It returns a Boolean value (TRUE or FALSE).
This has been a guide to ISNA Function in Excel. Here we discuss the ISNA Formula in excel along with excel example and downloadable excel templates. You may also look at these useful functions in excel –