Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() 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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Index / Hlookup | Excel Worksheet Functions | |||
Formatting result of Index function | Excel Worksheet Functions | |||
cell color index comparison | New Users to Excel | |||
Min formula not returning value from Index | Excel Worksheet Functions | |||
index to a range of cells | Excel Worksheet Functions |