IFNA
The IFNA function in Google Sheets is a powerful tool to evaluate a value. If the value is an #N/A error, it returns the specified value. Whether you're handling data errors or creating error handling mechanisms, the IFNA function simplifies the task. Dive into our comprehensive guide to master its application.
Function Syntax and Parameters
Syntax: IFNA(value, value_if_na)
Parameters:
- value: The value to evaluate.
- value_if_na: The value to return if- valueis an #N/A error.
Step-by-Step Tutorial
- 
Using IFNAwith non-error value:- Example: =IFNA(10, "No error")
- Result: 10
 
- Example: 
- 
Using IFNAwith #N/A error:- Example: If A1has the value#N/A, then=IFNA(A1, "Not available")will return"Not available".
 
- Example: If 
Use Cases and Scenarios
- Data Analysis: Replace #N/A errors with a custom message or value.
- VLOOKUP Error Handling: Handle #N/A errors when using the VLOOKUP function.
- Data Validation: Check for errors and display specific values in case of errors.
Related Functions
- IFERROR: Evaluate a value and return a custom value if an error is encountered.
- ISNA: Check if a value is the #N/A error.