Matching Highest to Name

mlmrob

Board Regular
Joined
Sep 22, 2008
Messages
78
Office Version
  1. 365
Platform
  1. Windows
Good Morning

I have a sheet where up to last five ratings of a racehorse are shown. I would like to take highest rating each horse has achieved and place that number next to the horses name further up the page.
The sheet is presented with today's racecards,Row 2 to Row 469.

From 470 to 2384 in Column I are the ratings that each horse achieved.

From Row 470 to 474 you can see the horse Adapt To Dan. In Row I are the ratings that horse achieved in its last five races.I would like to take the best rating in Row I and place it next to Adapt To Dan in Row 2. Any column will do.
Then the next horse, Astelia, row 475 to 478 and place its best rating from Row I next to its name in Row 3.And do on.

The numbers of horses can change daily so the range can be shorter or longer.

This is a link to the OneDrive account where it is sitting


Thank you

Rob
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
how about using MAXIFS
=MAXIFS(F:F,C:C,C2)

you dont say what version of excel you are using

I put in H but as i copied down - i found some data there

a snapshot of file here
formreport_2022-10-14.xlsx
ABCDEFGH
1race_timetrackhorse_namefurlongshorse_weightofficial_ratingDistBt
217:00:00DundalkAdapt To Dan (IRE)10.51287075
317:00:00DundalkAstelia (IRE)10.51387173
417:00:00DundalkBoragh Empress (IRE)10.51235059
517:00:00DundalkDalvey10.51388391
617:00:00DundalkDeluca Chop (FR)10.51246571
717:00:00DundalkGhumama (IRE)10.51257295
817:00:00DundalkJames Henry (IRE)10.51306565
917:00:00DundalkMovie King (IRE)10.51304790
1017:00:00DundalkNever Back Down (IRE)10.51305663
1117:00:00DundalkPower On (IRE)10.5135060
1217:00:00DundalkRene Artois (IRE)10.51287782
1317:00:00DundalkShore (USA)10.51325364
1417:00:00DundalkSir Lovealot (IRE)10.512300
1517:00:00DundalkSkontonovski10.51327072
1617:00:00DundalkSupposedtobe (IRE)10.51327070
1717:00:00DundalkSweeping Statement (IRE)10.51337177
1817:00:00DundalkTen Coins (IRE)10.51266270
1917:30:00DundalkA Shin Undine (IRE)10.51296869
2017:30:00DundalkAction Motion (IRE)10.51336572
2117:30:00DundalkBeer With The Boys10.51366464
2217:30:00DundalkCursory Exam10.51396767
2317:30:00DundalkDarkened (IRE)10.513368117
2417:30:00DundalkDraco Pulchrac (IRE)10.51416969
2517:30:00DundalkEastern Racer (IRE)10.51346268
2617:30:00DundalkInnamorare (IRE)10.51326066
2717:30:00DundalkKing Arthurs Sword (IRE)10.51336172
2817:30:00DundalkLovesome Dove (IRE)10.51265866
2917:30:00DundalkMads Black Eights (IRE)10.51356666
formreport_2022-10-14
Cell Formulas
RangeFormula
H2:H29H2=MAXIFS(F:F,C:C,C2)
 
Upvote 0
Solution
Depends on version, formula would need to be different in older versions of Excel:
formreport_2022-10-14.xlsx
ABCDEFGHIJ
1race_timetrackhorse_namefurlongshorse_weightofficial_ratingDistBt
217:00:00DundalkAdapt To Dan (IRE)10.51287071.19375
317:00:00DundalkAstelia (IRE)10.51387165.125
417:00:00DundalkBoragh Empress (IRE)10.51235048.43182
517:00:00DundalkDalvey10.51388385.24286
617:00:00DundalkDeluca Chop (FR)10.51246556.25
717:00:00DundalkGhumama (IRE)10.51257260.21875
817:00:00DundalkJames Henry (IRE)10.51306557.0625
917:00:00DundalkMovie King (IRE)10.51304786.53125
1017:00:00DundalkNever Back Down (IRE)10.51305650.125
1117:00:00DundalkPower On (IRE)10.5135057.39286
1217:00:00DundalkRene Artois (IRE)10.51287778.59375
1317:00:00DundalkShore (USA)10.51325357.21429
1417:00:00DundalkSir Lovealot (IRE)10.51230-27.9
1517:00:00DundalkSkontonovski10.51327063.75
1617:00:00DundalkSupposedtobe (IRE)10.51327063
1717:00:00DundalkSweeping Statement (IRE)10.51337172
1817:00:00DundalkTen Coins (IRE)10.51266254.53571
1917:30:00DundalkA Shin Undine (IRE)10.51296866.78947
2017:30:00DundalkAction Motion (IRE)10.51336565.0625
2117:30:00DundalkBeer With The Boys10.51366459
2217:30:00DundalkCursory Exam10.51396760.875
formreport_2022-10-14
Cell Formulas
RangeFormula
J2:J22J2=MAXIFS(I:I,C:C,C2)
 
Upvote 0
Thanks guys, I have Microsoft 365

In that case I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0

Forum statistics

Threads
1,216,855
Messages
6,133,092
Members
449,778
Latest member
dep1969

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