N/A Error

A

Alvin

How can you prevent getting a N/A error message when using a lookup formula
if the reference cell is blank?
 
P

Peo Sjoblom

=IF(A2="","",VLOOKUP(A2,Table,2,0))

and if there is no match

=IF(A2="","",IF(ISNA(VLOOKUP(A2,Table,2,0)),"",VLOOKUP(A2,Table,2,0)))

--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey
 
Top