How do I replace "#N/A" error, to continue my formula w/o error?

A

Ali Khan

I am using a VLookup formula to collect data from a sheet, but every time I
get '#N/A#' error in one cell & the entire formula returns an error message.
I need to intervene manually to fix, which causes alot of time wastage.

I tried using 'conditional formatting'but had no luck.

Pls suggest a quick solution.
 
B

bpeltzer

The answer will depend on how you want it fixed. Do you want the N/A to
cause the final result to be blank or 0, or to somehow indicate an error? If
so, you can detect the issue inside an if:
=if(isna(vlookup(...)),0,vlookup(...))
 
Top