Thread: N/A Error
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default N/A Error

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

and if there is no match

=IF(A2="","",IF(ISNA(VLOOKUP(A2,Table,2,0)),"",VLO OKUP(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


"Alvin" wrote in message
...
How can you prevent getting a N/A error message when using a lookup
formula
if the reference cell is blank?