View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
AJL AJL is offline
external usenet poster
 
Posts: 18
Default Need help with vlookup.

I'm not sure if this is possible, but I have a column of data generated by a
series of exact match Vlookups. If one of the matches is not found it
returns a blank, so the column could look like
B
E
G
J

O
R
U

2

or possibly

B
D


M
Q
R
U

2

Depending on what the vlookup finds. My question is, how do I search this
column and return conditional values. For example, if I search the column
and both a B and D are present I'd like to return a 1. But if a B and E are
present, I'd like to return a 2. If B,E, and R are present I'd like to
return a 3 and so on. Any ideas?