unique, sort, top 5

orsm6

Well-known Member
Joined
Oct 3, 2012
Messages
515
Office Version
  1. 365
Platform
  1. Windows
hi all - I'm in a jam and need some support. I am making a production summary dashboard for the team and I am asked to show the top 5 downtime reasons, durations, occurrences and present them highest to lowest so i can graph it. But not sure how it is done.

I have uploaded an image showing the column headers and the respective column letter it sits in, but was hoping someone could help me pull out the top 5 DURATIONS sorted highest to lowest but also marry it up to the REASON NAME.

there could be duplicate durations which is why I am also at a loss how to do this.
not even sure if unique is the right way to go about it.


TIA everyone :)
 

Attachments

  • DT.png
    DT.png
    7.3 KB · Views: 17

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Attachments

  • solve.png
    solve.png
    2.9 KB · Views: 14
Upvote 0
As you have 365 you could do that with a single formula that will spill
Excel Formula:
=TAKE(SORT(HSTACK(H43:H1501,C43:C1501),-1,-1),5)
 
Upvote 0
As you have 365 you could do that with a single formula that will spill
Excel Formula:
=TAKE(SORT(HSTACK(H43:H1501,C43:C1501),-1,-1),5)
Hi Fluff - thank you for your help.

I tried the formula (assuming i could paste it anywhere on the same sheet) and it resulted in #VALUE!
 
Upvote 0
Oops had a stray - sign in there. It should be
Excel Formula:
=TAKE(SORT(HSTACK(H43:H1501,C43:C1501),1,-1),5)
 
Upvote 1
Solution
Oops had a stray - sign in there. It should be
Excel Formula:
=TAKE(SORT(HSTACK(H43:H1501,C43:C1501),1,-1),5)
thank you - I actually added another column which has come in handy.

that was a great formula, thank you.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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