Vlookup if #N/A then enter enter data in cell I4

D

duketter

I am performing a vlookup and looking for data in another worksheet. If the
worksheet doesn't contain a match the vlookup brings back a "#N/A" like it is
suppose to. However if it doesn't find a match I want it to show what is in
cell "I4" instead of "#N/A".

Thanks!
 
R

RagDyer

Something like this:

=If(ISNA(Vlookup(25,Sheet2!A1:C100,3,0)),I4,Vlookup(25,Sheet2!A1:C100,3,0))
 
Top