The Highest Value Match

Mand7

New Member
Joined
Oct 30, 2023
Messages
6
Office Version
  1. 2013
Platform
  1. Windows
Hi,

What formula could I use to get the values in "Highest Score by Country" shown below ?


Thank you!

ParticipantCountryParticipant ScoreHighest Score by Country
MarioItaly
4​
8​
BenUSA
4​
7​
HansGermany
2​
6​
GregUSA
5​
7​
JulesFrance
2​
2​
JurgenGermany
6​
6​
BobUSA
7​
7​
JackUSA
6​
7​
LuigiItaly
8​
8​
PaoloItaly
3​
8​
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
How about
Fluff.xlsm
ABCD
1ParticipantCountryParticipant ScoreHighest Score by Country
2MarioItaly48
3BenUSA47
4HansGermany26
5GregUSA57
6JulesFrance22
7JurgenGermany66
8BobUSA77
9JackUSA67
10LuigiItaly88
11PaoloItaly38
Data
Cell Formulas
RangeFormula
D2:D11D2=MAX(IF($B$2:$B$11=B2,$C$2:$C$11,0))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Solution
Did you confirm it with Ctrl Shift Enter?
 
Upvote 0
Yes
Screenshot 2024-06-04 152118.png
 
Upvote 0
It looks as though the values in col C are text & not numbers.
 
Upvote 0
You are correct. Your formula works! Thank you selfless sir.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,275
Messages
6,171,122
Members
452,381
Latest member
Nova88

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