How to Use the ISNA Function in Excel

Today, we will explore the ISNA function in Excel and Google Sheets.

Overview

The ISNA function is utilized to determine if a cell contains the #N/A error value. It returns TRUE if the cell’s value is #N/A; otherwise, it returns FALSE. This function is straightforward and proves extremely useful in managing datasets that might include errors.

Syntax

The syntax for the ISNA function is identical in both Excel and Google Sheets:

ISNA(value)
  • value – The value you want to test for the #N/A error.

Examples

Example 1: Basic Usage

Assume cell A1 contains the #N/A error. Using the ISNA function to check this error would work as follows:

A B
#N/A =ISNA(A1)

In cell B1, the formula =ISNA(A1) will return TRUE.

Example 2: Conditional Formatting

The ISNA function can also be utilized with conditional formatting to visually highlight cells that contain #N/A errors. Here’s how to apply it:

  1. Select the range of cells you wish to format.
  2. Go to “Format” – “Conditional formatting” in the toolbar.
  3. Select “Custom formula is” from the drop-down menu.
  4. Input the formula =ISNA(A1) (assuming A1 is the top-left cell in your selected range).
  5. Choose the formatting style you prefer for cells containing #N/A errors.

Example 3: Using IF Function

The ISNA function can be paired with the IF function to execute specific actions depending on the presence of a #N/A error in a cell. Consider the following example:

A B
#N/A =IF(ISNA(A1), “Error found”, “No error”)

In cell B1, the formula =IF(ISNA(A1), "Error found", "No error") will yield “Error found.”

These examples highlight the versatility of the ISNA function in Excel and Google Sheets. Whether you are checking for errors, highlighting problematic cells, or integrating error-checking into your formulas, the ISNA function is an essential tool for your data management toolkit.

More information: https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665

Other functions
Returns information about the formatting, location, or contents of a cell
Returns a number corresponding to an error type
Returns information about the current operating environment
Returns TRUE if the value is blank
Returns TRUE if the value is any error value except #N/A
Returns TRUE if the value is any error value
Returns TRUE if the number is even
Returns TRUE if there is a reference to a cell that contains a formula
Returns TRUE if the value is a logical value
Returns TRUE if the value is not text
Returns TRUE if the value is a number
Returns TRUE if the number is odd
Returns TRUE if the value is a reference
Returns TRUE if the value is text
Returns a value converted to a number
Returns the error value #N/A
Returns the sheet number of the referenced sheet
Returns the number of sheets in a reference
Returns a number indicating the data type of a value