View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_] Ashish Mathur[_2_] is offline
external usenet poster
 
Posts: 1,766
Default Index, match, multiple IFs query

Hi,

You could try this

=INDEX(Sheet2!$D$3:$H$7,SUMPRODUCT((B4:C8=F7)*ROW( B4:B8))-ROW($B$3),5)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"zx6roo" wrote in message
...
I have the following individual functions
=INDEX(Sheet2!$D$3:$H$7,MATCH($F7,ONE,0),5)
=INDEX(Sheet2!$D$3:$H$7,MATCH($F7,TWO,0),5)
=INDEX(Sheet2!$D$3:$H$7,MATCH($F7,THREE,0),5)
=INDEX(Sheet2!$D$3:$H$7,MATCH($F7,FOUR,0),5)
=INDEX(Sheet2!$D$3:$H$7,MATCH($F7,FIVE,0),5)


I need to combine them all in the same cell so IF F7 matches data in
ranges
ONE, TWO, ETC it will return whatever is in column 5.

Ive done some searching on the net and also looked at Microsofts help on
this. I can see how to create a multiple function if I want it to be ONE
&
TWO but not ONE or TWO. Ive tried various combinations of functions but
a
little stuck.

Any help is much appreciated.