- SpreadJS Overview
- Getting Started
- JavaScript Frameworks
- Best Practices
- Features
- SpreadJS Designer
- SpreadJS Designer Component
- SpreadJS Collaboration Server
- Touch Support
-
Formula Reference
- Formula Overview
-
Formula Functions
- Barcode Functions
- Compatibility Functions
- Database Functions
- Date and Time Functions
- Engineering Functions
- Financial Functions
- Information Functions
- Logical Functions
- Lookup and Reference Functions
- Math and Trigonometric Functions
- Statistical Functions
- Sparkline Functions
- Text Functions
- Web Functions
- RegEx Functions
- Other Functions
- Import and Export Reference
- Frequently Used Events
- API Documentation
- Release Notes
(Showing Draft Content)
IFNA
This function calculates the specified value if the formula returns #N/A error, otherwise it returns the actual result of the formula.
Syntax
IFNA(value, value_if_na)
Arguments
This function has the following arguments:
Argument | Description |
|---|---|
value | Refers to a number, or expression that needs to be tested |
value_if_na | Refers to an alternate number, or expression that is returned ifvaluereturns #N/A error |
Remarks
If value or value_if_na is empty, IFNA treats it as an empty string value ("").
Data Types
Accepts numeric, string (or any expression) data for both arguments.
Examples
IFNA(VLOOKUP("Sweden",$A6ドル:$B8,0ドル),"Not found") gives the result Not found.