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))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top