IFNA

returns value if not #N/A, otherwise alternate · from excel · excel: verified match · sheets: not yet compared

signature

IFNA(value, value_if_na)

returns: any

argumentrequired
value required
value_if_na required

examples

formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.

AB
1 102
2 204
3 306
4 408
5 5010
fx =IFNA(VLOOKUP(E1, A1:B10, 2, FALSE), "missing") 0

errors

error values observed from the engine — each with a call that produces it.

errorproduced by
#ERROR! =IFNA(1,2,3)

related

  • AND returns TRUE if all arguments are true
  • EQ true when two values are equal
  • FALSE returns the logical value FALSE
  • GT true when the first number is greater
  • GTE true when the first number is greater or equal
  • IF returns one value if condition is true, another if false