#1   Report Post  
Posted to microsoft.public.excel.misc
harshaputhraya
 
Posts: n/a
Default help on INDEX


Hi,
I am trying to use INDEX function to find the match for the maximum
score in a set of columns (say O2:O25,Q2:Q25,S2:S25 )and return the
corresponding name from column M.

I used the following formula
=INDEX(M2:M25,MATCH(MAX(O2:O25,Q2:Q25,S2:S25),O2:O 25,0))
here it would return me the value only if the maximum score is present
in
O2:O25

But i need to match the the maximum score with more than one columns.
ie i want to match it with O2:O25,Q2:Q25,S2:S25.

I tried out this formula
=INDEX(M2:M25,MATCH(MAX(O2:O25,Q2:Q25,S2:S25),O2:O 25,Q2:Q25,S2:S25,0))

But its not executing.

Please provide me a solution.

Appreciate ur time n help:)

Harsha


--
harshaputhraya
------------------------------------------------------------------------
harshaputhraya's Profile: http://www.excelforum.com/member.php...o&userid=33225
View this thread: http://www.excelforum.com/showthread...hreadid=540533

  #2   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default help on INDEX

Hello Harsha,

Quick & dirty:
=INDEX(M2:M25,MATCH(MAX(O2:O25,Q2:Q25,S2:S25),CHOO SE(1*(MAX(O2:O25)=MAX(Q2:Q25,S2:S25))+2*(MAX(Q2:Q 25)=MAX(O2:O25,S2:S25))+4*(MAX(S2:S25)=MAX(O2:O2 5,Q2:Q25)),O2:O25,Q2:Q25,O2:O25,S2:S25,O2:O25,Q2:Q 25,O2:O25),))

HTH,
Bernd

  #3   Report Post  
Posted to microsoft.public.excel.misc
Domenic
 
Posts: n/a
Default help on INDEX

Here's another way...

U2:

=MAX(O2:O25,Q2:Q25,S2:S25)

V2:

=INDEX(M2:M25,MATCH(U2,INDEX(O2:S25,0,MATCH(TRUE,C OUNTIF(OFFSET(O2:O25,,{
0,2,4}),U2)0,0)*2-2+1),0))

Hope this helps!

In article
<harshaputhraya.27ks9y_1147237201.1893@excelforu m-nospam.com,
harshaputhraya
<harshaputhraya.27ks9y_1147237201.1893@excelforu m-nospam.com wrote:

Hi,
I am trying to use INDEX function to find the match for the maximum
score in a set of columns (say O2:O25,Q2:Q25,S2:S25 )and return the
corresponding name from column M.

I used the following formula
=INDEX(M2:M25,MATCH(MAX(O2:O25,Q2:Q25,S2:S25),O2:O 25,0))
here it would return me the value only if the maximum score is present
in
O2:O25

But i need to match the the maximum score with more than one columns.
ie i want to match it with O2:O25,Q2:Q25,S2:S25.

I tried out this formula
=INDEX(M2:M25,MATCH(MAX(O2:O25,Q2:Q25,S2:S25),O2:O 25,Q2:Q25,S2:S25,0))

But its not executing.

Please provide me a solution.

Appreciate ur time n help:)

Harsha

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Index / Hlookup Pamela Creighton Excel Worksheet Functions 1 February 5th 06 07:22 PM
Formatting result of Index function ExcelFred Excel Worksheet Functions 5 July 26th 05 01:34 PM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
Min formula not returning value from Index ExcelMonkey Excel Worksheet Functions 3 January 29th 05 01:47 AM
index to a range of cells Frank Kabel Excel Worksheet Functions 0 October 27th 04 05:39 PM


All times are GMT +1. The time now is 10:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"