The ISNA function in Excel is a logical function that helps users assess if a given value is the N/A error. This is particularly useful in pivot tables or data analysis where identifying missing values is crucial for accurate reporting and decision-making.
Syntax
ISNA(value)
- value: The expression or cell reference that you want to check for the N/A error.
Example #1
=ISNA(A1)
This formula checks if the value in cell A1 is N/A. Example result: TRUE if A1 contains N/A, otherwise FALSE.
Example #2
=ISNA(VLOOKUP(B2, C1:D10, 2, FALSE))
This uses ISNA to determine if the VLOOKUP function returns an N/A error when looking for the value in B2 within the range C1:D10. Example result: TRUE if the value is not found, otherwise FALSE.
Example #3
=ISNA(SUM(E1:E10))
This checks if the sum of the cells from E1 to E10 results in an N/A error. Example result: TRUE if there’s an N/A error in the range, otherwise FALSE.
Error handling
- N/A: Indicates the value is not available. This occurs when a formula or a function cannot find a referenced value.
- VALUE!: This error happens when the function’s argument is of the wrong type, such as a text string when a numeric value is expected.
- REF!: This indicates a reference to a cell that is not valid, often due to deleted cells.
- NAME?: This occurs when Excel doesn’t recognize text in a formula, typically if a function name is misspelled.