TOP 5 From Multiple Rows

Deagers

New Member
Joined
Aug 28, 2014
Messages
3
LabourCost
Cleaning200.58
Travel Time489.56
Wet Time55.00
Set- UP855.00
Operating Equipment780.00
Spotter200.00
Supervision1200.00

<tbody>
</tbody>

I need a formula that gives me the top 5 values in Col B and then Displays them with the appropriate Value in Col A As such Below

Supervision1200.00
Set-Up855.00
Operating Equipment780.00
Travel Time489.56
Cleaning200.58

<tbody>
</tbody>


Any Help with this one would be greatly appreciated guys
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Why not just use an Autofilter with Top 5 results by value
Home>>Editing>>Filter>>Number Filters>>Top10 and adjust as required
 
Upvote 0
Using a formula system...

LabourCost Top N5
Cleaning200.58 Top N adjusted6
Travel Time489.56 LabourTop Cost
Wet Time55.00 Supervision1200
Set- UP855.00 Set- UP855
Operating Equipment780.00 Operating Equipment780
Spotter200.00 Travel Time489.56
Supervision1200.00 Cleaning200.58
Plumbing200.58 Plumbing200.58

<COLGROUP><COL style="WIDTH: 134pt; mso-width-source: userset; mso-width-alt: 6343" width=178><COL style="WIDTH: 82pt; mso-width-source: userset; mso-width-alt: 3896" width=110><COL style="WIDTH: 19pt; mso-width-source: userset; mso-width-alt: 881" width=25><COL style="WIDTH: 124pt; mso-width-source: userset; mso-width-alt: 5859" width=165><COL style="WIDTH: 77pt; mso-width-source: userset; mso-width-alt: 3640" width=102><TBODY>
</TBODY>

E1: 5

E2, just enter:
Rich (BB code):
=COUNTIF(B2:B9,">="&LARGE(B2:B9,E1))

D4, control+shift+enter, not just enter, and copy down:
Rich (BB code):
=IF($E4="","",INDEX($A$2:$A$9,
  SMALL(IF($B$2:$B$9=$E4,ROW($A$2:$A$9)-ROW($A$2)+1),
  COUNTIF($E$4:E4,E4))))

E4, just enter and copy down:
Rich (BB code):
=IF(ROWS($E$4:E4)<=$E$2,LARGE($B$2:$B$9,ROWS($E$4:E4)),"")
 
Upvote 0

Forum statistics

Threads
1,214,808
Messages
6,121,684
Members
449,048
Latest member
81jamesacct

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