View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Bernard Liengme[_3_] Bernard Liengme[_3_] is offline
external usenet poster
 
Posts: 1,104
Default OR function with MATCH ?

Very cleaver!
I would not of thought of using SIGN like this.
Cheers
--
Bernard


"T. Valko" wrote in message
...
Try it like this (add your sheet name!):

=INDEX($J$2:$J$600,MATCH(1,($B$2:$B$600=$B45)*SIGN (($E$2:$E$600="Alpha")+($E$2:$E$600="Bravo"))*($I$ 2:$I$600="current"),0))

--
Biff
Microsoft Excel MVP


"ExcelTomcat787" wrote in
message ...
How would I use MATCH with the ability to set multiple variables for the
match?

My formula is:

=INDEX('Due Now'!$A$2:$K$662,MATCH($B45&"Alpha"&"current",'Due
Now'!$B$2:$B$600&'Due Now'!$E$2:$E$600&'Due Now'!$I$2:$I$600,0),10)

My formula will lookup "B45AlphaCurrent". But I want the Alpha part to
be
either "Alpha" OR "Bravo" in this formula. Any thoughts?

Thanks in advance.