Pull corresponding name for top 10

mhenk

Well-known Member
Joined
Jun 13, 2005
Messages
591
My data is organized in 5 columns of 33 rows (U7:Y39), all numeric values

What I'd like to do is identify the top 10 items in this range (which I do via the LARGE function), and then return the corresponding header from row 6.

Any advice?
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Excel Workbook
OPQRSTUVWXY
6Header1Header2Header3Header4Header5
785772831597770
8257959478406739
9965877960428495
1059558317478830
1135012448131026
12833288702292290
1319804Header5Header5323218943811447
1429650Header1Header136290888754696
1539630Header1Header178785920134561
1649602Header3Header3506830512426147
1759591Header2Header22247216744335
1869542Header3Header365792545546193
1979432Header3Header3821589656264323
2089251Header2Header2319504815535578
2199223Header4Header4431268219300899
22109202Header3Header328900287296324
23711666442868506
24244882612817606
2590123950831477
262342199178179
27963491690711980
28830351323101121
29705255472469625
30202564775922765
31920891898816353
325611423387590
3314924474824845
34708423799723295
350614690662476
36549472527279755
3767816482354200
38297428954449769
3988213633529795
Sheet



The results are in column S, which is a formula which combines the two formulae in the cells in columns Q & R (just so you can see how it's made up).
The rng in the formula is the yellow range given the name rng. You can replace it with the range address instead, if you want ($U$7:$Y$39).
Note the formulae in Q13 and S13 are ARRAY-ENTERED as the note about Formula Array: says above.
You ONLY need the formula in column S, the formulae in columns Q & R can be deleted.
The formulae should be copied down the columns to get the rest of the results.
If there are two results, as there are in the 10th largest value (920), it only tells you the header of one of them.
 
Last edited:
Upvote 0
Excel Workbook
OPQRST
12123
1319804Header5
1429650Header1
1539630Header1
1649602Header3
1759591Header2
1869542Header3
1979432Header3
2089251Header2
2199223Header4
22109202Header3Header1
Sheet


R13 copied across to column T, then the three cells copied down to row 22.
Uses the same data as in my first response.
You'll need the 1,2,3 in row 12.
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,813
Members
452,945
Latest member
Bib195

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