View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Ron Coderre[_3_] Ron Coderre[_3_] is offline
external usenet poster
 
Posts: 60
Default look up tables and getting rid of the #N/A

Typically, you would pre-test for the item to find....
Here are a couple ways:

=IF(ISNUMBER(MATCH("find_me",A1:A10,0)),VLOOKUP("f ind_me",A1:C10,3,0),"")
or
=IF(COUNTIF("find_me",A1:A10),VLOOKUP("find_me",A1 :C10,3,0),"")

Is that something you can work with?

Regards,

Ron Coderre
Microsoft MVP (Excel)

"smiley61799" wrote in message
...
When you do not have information for a cell how do you get it to leave the
cell blank or return a zero as opposed to the #N/A