Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Problem with INDEX formula

Another way which is slightly shorter given that it won't return errors and
it will still return the correct values if you insert rows above the formula
and it also return the values in the order from top to bottom

=IF(ROWS(E$4:E4)<=SUM(N($E$4:$E$22=MAX($E$4:$E$22) )),INDEX($C$1:$C$22,SMALL(IF($E$4:$E$22=MAX($E$4:$ E$22),ROW($E$4:$E$22)-ROW($A$1)+1),ROWS($E$4:E4))),"")



--


Regards,


Peo Sjoblom




"Sasikiran" wrote in message
...
Hello,

I have a formula =INDEX(C4:C33,MATCH(MAX(E4:E33),E4:E33,0 which looks for
the maximum value in the range E4:E33 and displays the name of the person
which is equivalent in the range C4:C33.

C4:C33 has names and their respective values are there in range E4:E33.

The problem is if the max value is the same for two or more persons.

Please let me know how can the formula be changed that it shows all the
names if the max value is same for 2 or more persons.

Thanks in advance
Sasikiran




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 formula problem billyho Excel Worksheet Functions 4 August 14th 07 07:44 PM
INDEX problem with cells of same value Igby Excel Worksheet Functions 2 May 25th 07 06:52 PM
Index/Match problem Lisa Excel Worksheet Functions 7 April 26th 07 06:28 PM
INDEX PROBLEM...I THINK Steve Excel Worksheet Functions 15 February 20th 07 09:28 PM
INDEX problem malik641 Excel Worksheet Functions 7 July 7th 05 01:50 PM


All times are GMT +1. The time now is 12:44 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"