Compare NA vs IF

2 vs

Compare NA vs IF side-by-side — differences, popularity and recommendation

Presets: VLOOKUP vs XLOOKUP SUM vs SUMIFS INDEX vs MATCH vs XLOOKUP IF vs IFS vs SWITCH COUNT vs COUNTA vs COUNTIF AVERAGE vs AVERAGEIF vs AVERAGEIFS MAX vs LARGE vs MIN TEXT vs TEXTJOIN vs CONCAT FILTER vs SORT vs UNIQUE ROUND vs ROUNDUP vs ROUNDDOWN
All functions Pick at least 2 functions
Feature
Information
=NA()
Syntax
Logical
=IF()
★ Winner
Syntax
Category
Information information
Logical logical
Popularity
15 / 100
95 / 100
Views
◉ 21 views
◉ 60 views
Output
Error
Mixed
Version
All versions
All versions
Volatile
No
No
Dynamic Array
No
No
Description
Returns the error value #N/A. #N/A is the error value that means "no value is available." Use NA to mark empty cells. By entering #N/A in cells where you are missing information, you can avoid the problem of unintentionally including empty cells in your calculations. (When a formula refers to a cell containing #N/A, the formula returns the #N/A error value.)
How to use the IF function in Excel to make logical comparisons between data values.
Syntax
=NA( )
=IF(logical_test, value_if_true, [value_if_false])
Arguments
0 Arguments
3 Arguments
logical_test value_if_true value_if_false (Optional)
Examples
2
5
Tips
1
2

★ Recommendation — Winner: =IF()

=IF() is recommended based on higher popularity, newer version and Dynamic Array support.

Winner: =IF()