View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ChrisP ChrisP is offline
external usenet poster
 
Posts: 54
Default "in" function???

I have a cell that could be one of 2 values, if it's one value I want to do a
vlookup and get the associated info from another tab (this I can do). My
problem is that if one of the other 2 values are chosen I would bring back
the same value from a different tab. Can I do something like an IN statement?

For example:

if (a1 in ("exp", "cap"), .....

Thanks!