ProofDrill

IFNA

Shows your own result when a lookup finds nothing.

Worked example

Which desk is Zara at?

D2=IFNA(VLOOKUP(C2,A2:B3,2,FALSE),"No desk")

RowABCD
1PersonDeskFindDesk
2Ben2-14ZaraNo desk
3Mia3-02

Only #N/A is replaced. Other errors still show, so you can fix them.

How to write it

=IFNA(value, value_if_na)

value
The formula to try, usually a lookup.
value_if_na
What to show when it gives #N/A.

Watch out for

  • It does not catch #REF! or #DIV/0!. That is the point of it.
  • Give a clear message, not an empty text, so nobody reads it as zero.