When VLOOKUP can’t find a value in a lookup table, it returns the #N/A error.
you could use theIFNA functionorIFERROR functionto trap this error.
Note: you’re free to use thesame general approachwith theXLOOKUP function.
For example, to test for cells that literally have zero characters (i.e.
If not, return an empty string ("").
More than one condition can be tested by nesting IF functions.
The IF…