View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
zx6roo zx6roo is offline
external usenet poster
 
Posts: 7
Default Index, match, multiple IFs query

The data on sheet two is arranged in as a table.
Range ONE is B4 to B8
Range TWO is C4 to C8
And so on.

F7 can be anything in any of those ranges. What I want is for a lookup to
see what is in F7, look at the table, find whic range it is in and then give
me the number that is located in column 5 of that range.

"Jacob Skaria" wrote:

Please let us know the cell range of ONE TWO ...etc; refers to..and if
possible elaborate a bit more about how your data is arranged

--
Jacob (MVP - Excel)


"zx6roo" wrote:

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.