Array not showing correct matches.

Davebro

Board Regular
Joined
Feb 22, 2018
Messages
135
Office Version
  1. 365
  2. 2021
  3. 2016
Platform
  1. Windows
I am using an array to find the top number rating (column E) for the time, but they are not matching up and I am getting duplicate names not matching the time.


Book1
ABCDEFGHIJ
1TimeScoreTimeScoreTop Score
2GANNON GLORY5:00745:0077CORINTHIA KNIGHT
3LATE ARRIVAL5:00765:1090LUCY LIGHTFOOT
4CORINTHIA KNIGHT5:00775:20115WHATABOUTYEH
5KATH'S TOYBOY5:00725:4577CORINTHIA KNIGHT
6VAUNTED5:00705:55104SECRET TRIX
7PATONTHEBACK5:00716:1591CHERRY
8FISCAL POLICY5:00726:3083NOGO'S DREAM
9ATOMISE5:00756:45105TANMAWWY
10IMPELLER5:00757:0068MOSTALLIM
11ATLANTIC HEART5:00737:1576LATE ARRIVAL
12WRECK IT RYLEY5:00707:3085UNLIMITED DATA
13SOUTH DAKOTA SIOUX5:00727:4568MOSTALLIM
14MOSTALLIM5:00688:0083NOGO'S DREAM
15PRINCESS SAVANNAH5:00688:1568MOSTALLIM
16MAGICAL EFFECT5:00748:3073ATLANTIC HEART
17ROUND THE ISLAND5:00739:0095YAASER
18STAR OF LADY M5:1086
19ESTATE5:1084
20NOGO'S DREAM5:1083
21SKALLYWAG BAY5:1086
22SECRET MISTRAL5:1083
23EROSION RISK5:1088
24UNLIMITED DATA5:1085
25AGOSTINO5:1085
26LUCY LIGHTFOOT5:1090
27TOMMYDAN5:20106
28BLUE SANS5:20109
29BRIGHT SUNBIRD5:20111
30CLASSIC CONCORDE5:20107
31SOMMERVIEU5:20
32BETTY'S BELLE5:20108
33JUST CALL ME AL5:20109
34WHATABOUTYEH5:20115
35ROBEAM5:20111
36ALFRED5:4561
37HINT OF THE JUNGLE5:45
38JOHNNY JOHNSON5:4577
39RAFT UP5:4560
40SILVER TRUMPET5:45
41WAQIF5:45
42ZOLA POWER5:4567
43BLACK JACK DAVEY5:4563
44TEA LEAF TED5:4548
45MAKE IT EASY5:4569
46ACER5:4571
47BAND OF JOY5:4572
48SECRET TRIX5:55104
49LELANTOS5:55102
50FEMALE APPROACH5:5598
51STUDENT CHAP5:55102
52MAROOCHI5:55103
53COCONUT TWIST5:55100
54THE LONGEST DAY5:55104
55RACING SPIRIT5:55104
56SIGHT NOR SEEN5:55102
57BYZANTINE EMPIRE6:1579
58STAR FOR A DAY6:1552
59PORT ERIN6:1552
60REFLEX6:1557
61THE CRAFTYMASTER6:1547
62ANNA AURELIA6:1566
63CHERRY6:1591
64DEBBY'S DELIGHT6:15
65DECORATION6:1582
66MOVIE STAR LOOKS6:1571
67SHOWY6:1559
68VALUE ADDED6:1586
69ALPEN POWER6:30
70CHARGED UP6:3083
71DUE CONSIDERATION6:3050
72SWIFT SALIAN6:3072
73LOUBIERE6:3062
74BUTTERCROSS FLYER6:30
75LEXINGTON BELLE6:3072
76TANMAWWY6:45105
77LETHAL NYMPH6:45104
78SILVER SAMURAI6:45103
79STERLING KNIGHT6:45104
80APHELIOS6:45102
81DORA PENNY6:45100
82MISTER BLUEBIRD6:4599
83DIG TWO6:45102
84EXPERT AGENT6:45103
85STAR START7:0068
86LINCOLN ROCKSTAR7:0064
87ROCKIN ROSA7:0064
88CUBAN ROCK7:0065
89LADYLINGMOOR7:0057
90HEART OF SOFIA7:0062
91RAQISA7:1575
92SEA OF CHARM7:1575
93SAYWHATYOUWANT7:1568
94TORBELLINO7:1574
95ABSOLUTE QUEEN7:1573
96SYDNEY MEWS7:1576
97MAJESTIC JAMEELA7:1570
98YORKINDNESS7:3085
99WONTGETFOOLEDAGEN7:3064
100EXCELCIUS7:3083
101ROBERT JOHNSON7:3079
102BELLE OF ANNANDALE7:3084
103RED MISSILE7:3068
104IDILICO7:3082
105BAEZ7:3082
106MUJID7:4561
107VILLALOBOS7:4565
108INTO THE SPOTLIGHT7:4560
109THRAVE7:4568
110STARRY EYES7:4563
111KUMASI7:4564
112ADACE7:4561
113BLUE CURACAO7:4563
114CENTERSTAGE7:4562
115TEXAS MAN8:0078
116MERESIDE ANGEL8:0077
117CINQUE VERDE8:0082
118ECCLESIASTICAL8:0083
119HARD NUT8:0069
120GLORY HALLELUJAH8:0075
121PRIMO'S COMET8:0080
122GALILEO GLASS8:1568
123BBOB ALULA8:1565
124FILLYFUDGE8:1564
125THOMAS EQUINAS8:1566
126LILANDRA8:1565
127HEERATHETRACK8:1561
128OH SO AUDACIOUS8:1564
129ROMAN TEMPEST8:1562
130THE GAME IS UP8:1558
131RORY8:3071
132AHAMOMENT8:3069
133GUNNERSIDE8:3071
134SPARKLE IN HIS EYE8:3073
135MONHAMMER8:3071
136MERRICOURT8:3070
137ONE OF OUR OWN8:3070
138ORIENTAL LILLY8:3065
139ALAZWAR9:0083
140STAR SHIELD9:0087
141FLYLIKEANEAGLE9:0086
142FINBAR'S LAD9:0094
143SHOWMEDEMONEY9:0085
144ARCHDUKE FERDINAND9:0080
145YAASER9:0095
146REGAL RAMBLER9:0087
147GOMETRA GINTY9:0090
148VIVA VOCE9:0086
149YEEEAAH9:0087
Sheet1
Cell Formulas
RangeFormula
I2:I17I2=VLOOKUP(J2,A:E,5,0)
J2:J17J2=INDEX($A$2:$A$301,MATCH(MAX(IF($B$2:$B$301=$H2,$E$2:$E$301)),$E$2:$E$301,0))
Press CTRL+SHIFT+ENTER to enter array formulas surrounded with curly braces.
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
How about
Fluff.xlsm
ABCDEFGHIJ
1TimeScoreTimeScoreTop Score
2GANNON GLORY05:007405:0077CORINTHIA KNIGHT
3LATE ARRIVAL05:007605:1090LUCY LIGHTFOOT
4CORINTHIA KNIGHT05:007705:20115WHATABOUTYEH
5KATH'S TOYBOY05:007205:4577JOHNNY JOHNSON
6VAUNTED05:007005:55104SECRET TRIX
7PATONTHEBACK05:007106:1591CHERRY
8FISCAL POLICY05:007206:3083CHARGED UP
9ATOMISE05:007506:45105TANMAWWY
10IMPELLER05:007507:0068STAR START
11ATLANTIC HEART05:007307:1576SYDNEY MEWS
12WRECK IT RYLEY05:007007:3085YORKINDNESS
13SOUTH DAKOTA SIOUX05:007207:4568THRAVE
14MOSTALLIM05:006808:0083ECCLESIASTICAL
15PRINCESS SAVANNAH05:006808:1568GALILEO GLASS
16MAGICAL EFFECT05:007408:3073SPARKLE IN HIS EYE
17ROUND THE ISLAND05:007309:0095YAASER
18STAR OF LADY M05:1086
19ESTATE05:1084
20NOGO'S DREAM05:1083
21SKALLYWAG BAY05:1086
22SECRET MISTRAL05:1083
23EROSION RISK05:1088
24UNLIMITED DATA05:1085
25AGOSTINO05:1085
26LUCY LIGHTFOOT05:1090
27TOMMYDAN05:20106
28BLUE SANS05:20109
29BRIGHT SUNBIRD05:20111
30CLASSIC CONCORDE05:20107
31SOMMERVIEU05:20
32BETTY'S BELLE05:20108
33JUST CALL ME AL05:20109
34WHATABOUTYEH05:20115
35ROBEAM05:20111
36ALFRED05:4561
37HINT OF THE JUNGLE05:45
38JOHNNY JOHNSON05:4577
39RAFT UP05:4560
40SILVER TRUMPET05:45
41WAQIF05:45
42ZOLA POWER05:4567
43BLACK JACK DAVEY05:4563
44TEA LEAF TED05:4548
45MAKE IT EASY05:4569
46ACER05:4571
47BAND OF JOY05:4572
48SECRET TRIX05:55104
49LELANTOS05:55102
50FEMALE APPROACH05:5598
51STUDENT CHAP05:55102
52MAROOCHI05:55103
53COCONUT TWIST05:55100
54THE LONGEST DAY05:55104
55RACING SPIRIT05:55104
56SIGHT NOR SEEN05:55102
57BYZANTINE EMPIRE06:1579
58STAR FOR A DAY06:1552
59PORT ERIN06:1552
60REFLEX06:1557
61THE CRAFTYMASTER06:1547
62ANNA AURELIA06:1566
63CHERRY06:1591
64DEBBY'S DELIGHT06:15
65DECORATION06:1582
66MOVIE STAR LOOKS06:1571
67SHOWY06:1559
68VALUE ADDED06:1586
69ALPEN POWER06:30
70CHARGED UP06:3083
71DUE CONSIDERATION06:3050
72SWIFT SALIAN06:3072
73LOUBIERE06:3062
74BUTTERCROSS FLYER06:30
75LEXINGTON BELLE06:3072
76TANMAWWY06:45105
77LETHAL NYMPH06:45104
78SILVER SAMURAI06:45103
79STERLING KNIGHT06:45104
80APHELIOS06:45102
81DORA PENNY06:45100
82MISTER BLUEBIRD06:4599
83DIG TWO06:45102
84EXPERT AGENT06:45103
85STAR START07:0068
86LINCOLN ROCKSTAR07:0064
87ROCKIN ROSA07:0064
88CUBAN ROCK07:0065
89LADYLINGMOOR07:0057
90HEART OF SOFIA07:0062
91RAQISA07:1575
92SEA OF CHARM07:1575
93SAYWHATYOUWANT07:1568
94TORBELLINO07:1574
95ABSOLUTE QUEEN07:1573
96SYDNEY MEWS07:1576
97MAJESTIC JAMEELA07:1570
98YORKINDNESS07:3085
99WONTGETFOOLEDAGEN07:3064
100EXCELCIUS07:3083
101ROBERT JOHNSON07:3079
102BELLE OF ANNANDALE07:3084
103RED MISSILE07:3068
104IDILICO07:3082
105BAEZ07:3082
106MUJID07:4561
107VILLALOBOS07:4565
108INTO THE SPOTLIGHT07:4560
109THRAVE07:4568
110STARRY EYES07:4563
111KUMASI07:4564
112ADACE07:4561
113BLUE CURACAO07:4563
114CENTERSTAGE07:4562
115TEXAS MAN08:0078
116MERESIDE ANGEL08:0077
117CINQUE VERDE08:0082
118ECCLESIASTICAL08:0083
119HARD NUT08:0069
120GLORY HALLELUJAH08:0075
121PRIMO'S COMET08:0080
122GALILEO GLASS08:1568
123BBOB ALULA08:1565
124FILLYFUDGE08:1564
125THOMAS EQUINAS08:1566
126LILANDRA08:1565
127HEERATHETRACK08:1561
128OH SO AUDACIOUS08:1564
129ROMAN TEMPEST08:1562
130THE GAME IS UP08:1558
131RORY08:3071
132AHAMOMENT08:3069
133GUNNERSIDE08:3071
134SPARKLE IN HIS EYE08:3073
135MONHAMMER08:3071
136MERRICOURT08:3070
137ONE OF OUR OWN08:3070
138ORIENTAL LILLY08:3065
139ALAZWAR09:0083
140STAR SHIELD09:0087
141FLYLIKEANEAGLE09:0086
142FINBAR'S LAD09:0094
143SHOWMEDEMONEY09:0085
144ARCHDUKE FERDINAND09:0080
145YAASER09:0095
146REGAL RAMBLER09:0087
147GOMETRA GINTY09:0090
148VIVA VOCE09:0086
149YEEEAAH09:0087
Master
Cell Formulas
RangeFormula
I2:I17I2=AGGREGATE(14,6,$E$2:$E$300/($B$2:$B$300=H2),1)
J2:J17J2=INDEX(A:A,AGGREGATE(15,6,ROW($E$2:$E$300)/($B$2:$B$300=H2)/($E$2:$E$300=I2),1))
 
Upvote 1
Solution
How about
Fluff.xlsm
ABCDEFGHIJ
1TimeScoreTimeScoreTop Score
2GANNON GLORY05:007405:0077CORINTHIA KNIGHT
3LATE ARRIVAL05:007605:1090LUCY LIGHTFOOT
4CORINTHIA KNIGHT05:007705:20115WHATABOUTYEH
5KATH'S TOYBOY05:007205:4577JOHNNY JOHNSON
6VAUNTED05:007005:55104SECRET TRIX
7PATONTHEBACK05:007106:1591CHERRY
8FISCAL POLICY05:007206:3083CHARGED UP
9ATOMISE05:007506:45105TANMAWWY
10IMPELLER05:007507:0068STAR START
11ATLANTIC HEART05:007307:1576SYDNEY MEWS
12WRECK IT RYLEY05:007007:3085YORKINDNESS
13SOUTH DAKOTA SIOUX05:007207:4568THRAVE
14MOSTALLIM05:006808:0083ECCLESIASTICAL
15PRINCESS SAVANNAH05:006808:1568GALILEO GLASS
16MAGICAL EFFECT05:007408:3073SPARKLE IN HIS EYE
17ROUND THE ISLAND05:007309:0095YAASER
18STAR OF LADY M05:1086
19ESTATE05:1084
20NOGO'S DREAM05:1083
21SKALLYWAG BAY05:1086
22SECRET MISTRAL05:1083
23EROSION RISK05:1088
24UNLIMITED DATA05:1085
25AGOSTINO05:1085
26LUCY LIGHTFOOT05:1090
27TOMMYDAN05:20106
28BLUE SANS05:20109
29BRIGHT SUNBIRD05:20111
30CLASSIC CONCORDE05:20107
31SOMMERVIEU05:20
32BETTY'S BELLE05:20108
33JUST CALL ME AL05:20109
34WHATABOUTYEH05:20115
35ROBEAM05:20111
36ALFRED05:4561
37HINT OF THE JUNGLE05:45
38JOHNNY JOHNSON05:4577
39RAFT UP05:4560
40SILVER TRUMPET05:45
41WAQIF05:45
42ZOLA POWER05:4567
43BLACK JACK DAVEY05:4563
44TEA LEAF TED05:4548
45MAKE IT EASY05:4569
46ACER05:4571
47BAND OF JOY05:4572
48SECRET TRIX05:55104
49LELANTOS05:55102
50FEMALE APPROACH05:5598
51STUDENT CHAP05:55102
52MAROOCHI05:55103
53COCONUT TWIST05:55100
54THE LONGEST DAY05:55104
55RACING SPIRIT05:55104
56SIGHT NOR SEEN05:55102
57BYZANTINE EMPIRE06:1579
58STAR FOR A DAY06:1552
59PORT ERIN06:1552
60REFLEX06:1557
61THE CRAFTYMASTER06:1547
62ANNA AURELIA06:1566
63CHERRY06:1591
64DEBBY'S DELIGHT06:15
65DECORATION06:1582
66MOVIE STAR LOOKS06:1571
67SHOWY06:1559
68VALUE ADDED06:1586
69ALPEN POWER06:30
70CHARGED UP06:3083
71DUE CONSIDERATION06:3050
72SWIFT SALIAN06:3072
73LOUBIERE06:3062
74BUTTERCROSS FLYER06:30
75LEXINGTON BELLE06:3072
76TANMAWWY06:45105
77LETHAL NYMPH06:45104
78SILVER SAMURAI06:45103
79STERLING KNIGHT06:45104
80APHELIOS06:45102
81DORA PENNY06:45100
82MISTER BLUEBIRD06:4599
83DIG TWO06:45102
84EXPERT AGENT06:45103
85STAR START07:0068
86LINCOLN ROCKSTAR07:0064
87ROCKIN ROSA07:0064
88CUBAN ROCK07:0065
89LADYLINGMOOR07:0057
90HEART OF SOFIA07:0062
91RAQISA07:1575
92SEA OF CHARM07:1575
93SAYWHATYOUWANT07:1568
94TORBELLINO07:1574
95ABSOLUTE QUEEN07:1573
96SYDNEY MEWS07:1576
97MAJESTIC JAMEELA07:1570
98YORKINDNESS07:3085
99WONTGETFOOLEDAGEN07:3064
100EXCELCIUS07:3083
101ROBERT JOHNSON07:3079
102BELLE OF ANNANDALE07:3084
103RED MISSILE07:3068
104IDILICO07:3082
105BAEZ07:3082
106MUJID07:4561
107VILLALOBOS07:4565
108INTO THE SPOTLIGHT07:4560
109THRAVE07:4568
110STARRY EYES07:4563
111KUMASI07:4564
112ADACE07:4561
113BLUE CURACAO07:4563
114CENTERSTAGE07:4562
115TEXAS MAN08:0078
116MERESIDE ANGEL08:0077
117CINQUE VERDE08:0082
118ECCLESIASTICAL08:0083
119HARD NUT08:0069
120GLORY HALLELUJAH08:0075
121PRIMO'S COMET08:0080
122GALILEO GLASS08:1568
123BBOB ALULA08:1565
124FILLYFUDGE08:1564
125THOMAS EQUINAS08:1566
126LILANDRA08:1565
127HEERATHETRACK08:1561
128OH SO AUDACIOUS08:1564
129ROMAN TEMPEST08:1562
130THE GAME IS UP08:1558
131RORY08:3071
132AHAMOMENT08:3069
133GUNNERSIDE08:3071
134SPARKLE IN HIS EYE08:3073
135MONHAMMER08:3071
136MERRICOURT08:3070
137ONE OF OUR OWN08:3070
138ORIENTAL LILLY08:3065
139ALAZWAR09:0083
140STAR SHIELD09:0087
141FLYLIKEANEAGLE09:0086
142FINBAR'S LAD09:0094
143SHOWMEDEMONEY09:0085
144ARCHDUKE FERDINAND09:0080
145YAASER09:0095
146REGAL RAMBLER09:0087
147GOMETRA GINTY09:0090
148VIVA VOCE09:0086
149YEEEAAH09:0087
Master
Cell Formulas
RangeFormula
I2:I17I2=AGGREGATE(14,6,$E$2:$E$300/($B$2:$B$300=H2),1)
J2:J17J2=INDEX(A:A,AGGREGATE(15,6,ROW($E$2:$E$300)/($B$2:$B$300=H2)/($E$2:$E$300=I2),1))
Thank you so much, works fine.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,816
Messages
6,181,141
Members
453,021
Latest member
Justyna P

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