Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to do a t-Test in Excel?
  • How to Create One and Two Variable Data Tables in Excel
  • Chart Axes in Excel
  • How To Create Frequency Distribution in Excel
  • Get column name from index in Excel Table

References

  • Approximate match with multiple criteria in Excel
  • How to get last column number in range in Excel
  • Count rows with at least n matching values
  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions
  • Extract data with helper column in Excel

Data Validations

  • Excel Data validation specific characters only
  • Excel Data validation no punctuation
  • Excel Data validation must not contain
  • How To Create Drop-down List in Excel
  • Data validation must not exist in list

IFNA function: Description, Usage, Syntax, Examples and Explanation

by

What is IFNA function in Excel?

IFNA function is one of the Logical functions in Microsoft Excel that returns the value you specify if the formula returns the #N/A error value; otherwise returns the result of the formula.

Syntax of IFNA function

IFNA(value, value_if_na)

The IFNA function syntax has the following arguments.

  • Value    Required. The argument that is checked for the #N/A error value.
  • Value_if_na    Required. The value to return if the formula evaluates to the #N/A error value.

IFNA formula explanation

  • If Value or Value_if_na is an empty cell, IFNA treats it as an empty string value (“”).
  • If Value is an array formula, IFNA returns an array of results for each cell in the range specified in value.

Example of IFNA function

Steps to follow:

1. Open a new Excel worksheet.

2. Copy data in the following table below and paste it in cell A1

Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.

You can adjust the column widths to see all the data, if need be.

Formula Description Result
=IFNA(VLOOKUP(“Seattle”,$A$5:$B$10,0),”Not found”) IFNA tests the result of the VLOOKUP function. Because Seattle is not found in the lookup range, VLOOKUP returns the #N/A error value. IFNA returns the string “Not found” in the cell instead of the standard #N/A error value. Not found
Region ID City
Atlanta 105
Portland 142
Chicago 175
Los Angeles 251
Boise 266
Cleveland 275

Post navigation

Previous Post:

How to generate random date between two dates in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • How to return blank in place of #DIV/0! error in Excel
  • Check multiple cells are equal in Excel
  • OR function Examples in Excel
  • XOR function: Description, Usage, Syntax, Examples and Explanation
  • Extract multiple matches into separate rows in Excel

Date Time

  • Calculate retirement date in Excel
  • How to calculate next scheduled event in Excel
  • Get month from date in Excel
  • DATEVALUE function: Description, Usage, Syntax, Examples and Explanation
  • EDATE function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Group arbitrary text values in Excel
  • Running count group by n size in Excel
  • Group numbers with VLOOKUP in Excel
  • Group times into 3 hour buckets in Excel
  • Group numbers at uneven intervals in Excel

General

  • Flash Fill in Excel
  • How to calculate percent of students absent in Excel
  • How to fill cell ranges with random number from fixed set of options in Excel
  • How to Create Calendar in Excel
  • Transpose: Switch ‘Rows to Columns’ or ‘Columns to Rows’ in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning