Max Value IF

AK_Excel_13

New Member
Joined
Jul 11, 2014
Messages
30
I have a list of 200 names. Each name is shown ten times. This makes my spreadsheet have 2,001 rows of data.
In the columns I have Name, Score, and Max Score. Max Score is empty.
If Joe has scores of 7,4,6,3,8,5,3,2,7, and 4 then the Max Score for him should be 8 (as that is his highest score).
If Steve has scores of 6,3,7,6,5,9,2,4,3, and 3 then the Max Score for him should be 9 (as that is his highest score).

How do I do this for all 200 names?
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Try this, entered into cell C2 and copied down:

=MAX(IF($A$2:$A$2001=A2,$B$2:$B$2001))

Enter with CTRL+SHTF+ENTR, not just enter.
 
Upvote 0
Try this entered with Ctrl, Shift & Enter

=MAX(IF($A$2:$A$2001=A2,$B$2:$B$2001))
 
Upvote 0
This also seems to work:

=SUMPRODUCT(MAX((A$2:A$2001=A2)*B$2:B$2001))

It is arguably a superior formula as it can be entered normally and probably calculates slightly faster.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,958
Messages
6,122,475
Members
449,087
Latest member
RExcelSearch

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top