Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Good afternoon all,
I have 3 columns: Teacher Trainee Score The teachers' names will repeat as each teacher will have multiple trainees. I used advance filter to copy unique values of Teacher Names to a new location in the workbook. Next to each Teachers' name I would like to display the Trainee's name with the maximum score among that Teacher's trainees. Example A B C 1 Teacher Trainee Score 2 Bob Sarah 100 3 Bob James 95 4 Michelle Harold 97 5 Michelle Lori 93 Teachers' Top performers! 8 Bob Sara 9 Michelle Harold I have been experimenting with: B8 would be =If(AND(C2:C5 = Max(C2:C5), A8 = A1:A5),B1:B5) I would appreciate any guidance here! Renee |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=INDEX(B1:B20,SUMPRODUCT(--(C1:C20=MAX(IF(A1:A20=A2,C1:C20))),ROW(A1:A20)))
which is an array formula, it should be committed with Ctrl-Shift-Enter, not just Enter. -- HTH Bob Phillips (remove nothere from email address if mailing direct) "Renee" wrote in message ... Good afternoon all, I have 3 columns: Teacher Trainee Score The teachers' names will repeat as each teacher will have multiple trainees. I used advance filter to copy unique values of Teacher Names to a new location in the workbook. Next to each Teachers' name I would like to display the Trainee's name with the maximum score among that Teacher's trainees. Example A B C 1 Teacher Trainee Score 2 Bob Sarah 100 3 Bob James 95 4 Michelle Harold 97 5 Michelle Lori 93 Teachers' Top performers! 8 Bob Sara 9 Michelle Harold I have been experimenting with: B8 would be =If(AND(C2:C5 = Max(C2:C5), A8 = A1:A5),B1:B5) I would appreciate any guidance here! Renee |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() I'd be tempted to use a user defined function here which scanned through the teachers names and kept track of the maximum before reporting at the end. Martin http://homepage.ntlworld.com/martin.rice1/ -- mrice ------------------------------------------------------------------------ mrice's Profile: http://www.excelforum.com/member.php...o&userid=10931 View this thread: http://www.excelforum.com/showthread...hreadid=532716 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Here's one possible solution where ties for top score are taken into
consideration. Also, it will allow you to easily display any amount of top scores, such as Top 3, Top 5, Top 10, etc. Assuming that A4:C15 contains the data, copy a unique list of teacher names to Column E, starting at E4, then try the following... F2: enter 1, indicating that you want a Top 1 list. If, for example, you want a Top 3 list, enter 3 instead. F4, copied down: =LARGE(IF($A$4:$A$15=E4,$C$4:$C$15),$F$2) ....confirmed with CONTROL+SHIFT+ENTER, not just ENTER G4, copied down: =SUMPRODUCT(--($A$4:$A$15=E4),--($C$4:$C$15=F4)) H4, copied across and down: =IF(COLUMNS($H4:H4)<=$G4,INDEX($B$4:$B$15,MATCH(LA RGE(IF($A$4:$A$15=$E4,$ C$4:$C$15-ROW($C$4:$C$15)/10^5),COLUMNS($H4:H4)),$C$4:$C$15-ROW($C$4:$C$1 5)/10^5,0)),"") ....confirmed with CONTROL+SHIFT+ENTER, not just ENTER Hope this helps! In article , Renee wrote: Good afternoon all, I have 3 columns: Teacher Trainee Score The teachers' names will repeat as each teacher will have multiple trainees. I used advance filter to copy unique values of Teacher Names to a new location in the workbook. Next to each Teachers' name I would like to display the Trainee's name with the maximum score among that Teacher's trainees. Example A B C 1 Teacher Trainee Score 2 Bob Sarah 100 3 Bob James 95 4 Michelle Harold 97 5 Michelle Lori 93 Teachers' Top performers! 8 Bob Sara 9 Michelle Harold I have been experimenting with: B8 would be =If(AND(C2:C5 = Max(C2:C5), A8 = A1:A5),B1:B5) I would appreciate any guidance here! Renee |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
conditional formatting: problem entering EOMONTH formula... | Excel Discussion (Misc queries) | |||
conditional formatting: problem entering EOMONTH formula... | Excel Discussion (Misc queries) | |||
conditional formatting: problem entering EOMONTH formula... | Excel Discussion (Misc queries) | |||
I get error with "ROWS" in the formula - nested formula question | Excel Worksheet Functions | |||
How does special formula apply to conditional formatting? | Excel Discussion (Misc queries) |