Excel Magic Trick 967: Formula To Extract Top 5 Numbers & Names, Including Ties or Duplicates

Sdílet
Vložit
  • čas přidán 2. 08. 2024
  • Download Excel Start File: people.highline.edu/mgirvin/Y...
    Download Excel File: people.highline.edu/mgirvin/Ex...
    Concepts:
    1. This video is great to learn how to use a formula to extract top 5 numbers (revenues, sales, units or sports scores) and the associated names (Sales Representatives, Employees or Athlete Names) including the situation when there are ties or duplicates in the numbers.
    2. What to do when VLOOKUP can't do a lookup for duplicate values or ties and it is not possible to do a concatenated helper column; meaning there are not two lookup values, but instead just one lookup value (number value from LARGE).
    In this Video:
    1. SMALL Function Example: for Excel 2007 or earlier array formula with the functions: LARGE, COUNTIF, IF, ROWS, INDEX, SMALL and ROW. Also see: array operations, comparative operators, join symbol ampersand, and expandable ranges.
    2. AGGREGATE Function Example: Excel 2010 or 2013 array formula with the functions: LARGE, COUNTIF, IF, ROWS, INDEX, AGGREGATE and ROW. Also see: array operations, comparative operators, join symbol ampersand, syntax for show nothing or empty cell or null text string and expandable ranges.
    3. How Come VLOOKUP will not work
    4. Find Hurdle Value for Top 5 using LARGE function
    5. Count how many values should be extracted using COUNTIF function, comparative operator and Ampersand (join symbol)

Komentáře • 174

  • @excelisfun
    @excelisfun  Před 12 lety

    You are welcome! I am happy it helps!

  • @excelisfun
    @excelisfun  Před 12 lety

    I am glad that you liked it!

  • @excelisfun
    @excelisfun  Před 12 lety

    I am glad that you like it!

  • @iplaystuff2465
    @iplaystuff2465 Před 8 lety +15

    Man, you probably have no idea how much this helped me out. I was on the brink of going crazy before I found this. So thanks a lot!

  • @excelisfun
    @excelisfun  Před 12 lety +1

    You are welcome!

  • @excelisfun
    @excelisfun  Před 12 lety

    You are welcome! I am happy to help!

  • @excelisfun
    @excelisfun  Před 12 lety

    Wow!!!! That is TOTALLY amazing!!! I had no idea that it could work that way.
    Thanks for the great trick.
    I can't wait to make a video to display your amazing trick!!

  • @excelisfun
    @excelisfun  Před 12 lety

    I am glad that you like it, krn14142! Yes, I changed the production for the mic because I had some "pops" in this particular video. I also produced in HD - but it took 20 times longer (literally instead of producing in 1 - 2 minutes it took 20 to 30...)

  • @elphau
    @elphau Před 12 lety

    Hi Mike, I've been following your Excel for quite sometime now. My boss said I'm the Excel expert in the office, and I owed it you a lot. cos, i believe 80% of my excel skill come from watching your video. just wanna say thank you.

  • @omarrivera0108
    @omarrivera0108 Před 12 lety

    Absolutely love learning in this specific modular approach. You are definitely a magician with this stuff! I'm so glad I came across your channel. Greatest example of knowledge sharing! You're making such a difference. THANK YOU!

  • @827stormin
    @827stormin Před 7 lety +1

    this video is beyond excellent. really helped me out on some of my projects. totally awesome. does a great job explaining it in easy follow along style.
    these current formulas and the set up is perfect probably for most people. hope him or someone would please post formula in the rank column to make it: 1,1,3,4,5,5,5,8, etc...
    with this added would make it complete and i believe a lot of people would really love it. the best without dispute.

  • @excelisfun
    @excelisfun  Před 12 lety

    I am glad that the video helps!

  • @daffy.
    @daffy. Před 4 lety +1

    Ah man, this has literally saved my whole spreadsheet model. Thank you so much!

  • @markmoscosa2371
    @markmoscosa2371 Před 11 lety

    That trick was Fantastic Mike. Admire all your passion for Excel and to share this knowledge with the Crew !

  • @excelisfun
    @excelisfun  Před 12 lety

    You are welcome for the knowledge!

  • @excelisfun
    @excelisfun  Před 12 lety

    Cool! I am glad that you liked the video!

  • @havzz19
    @havzz19 Před 9 lety

    Hi, this is a really great show of how to use some of the functions! Will definitely be using this demo to help set up my data! Thanks :-))))

  • @Sumiyeco_boutique
    @Sumiyeco_boutique Před 12 lety

    This guy is a great presenter. Clear speech.

  • @excelisfun
    @excelisfun  Před 12 lety

    Cool! I am glad that you like this video!

  • @valeriamarano2188
    @valeriamarano2188 Před 8 lety +1

    I Love you!!!!! I've saved so many time!! You make my day!!

  • @DannGillen
    @DannGillen Před měsícem +1

    Really well done! Thank you for your clarity! You rock!

  • @SyedMuzammilMahasanShahi

    Wow. That is amazing. Thanks Mike for this EXCELlent video.

  • @JavyD
    @JavyD Před 12 lety +1

    This was amazing. Great Job! One of my favorites.

  • @excelisfun
    @excelisfun  Před 11 lety

    I do not have a video on that particular situation. For back and forth dialog to get customized Excel solutions, try:
    mrexcel [dot] com/forum

  • @excelisfun
    @excelisfun  Před 12 lety

    I have some basic videos on Access:
    youtube [dot] com/course?list=ECB0DB785B9C9B­E8A8
    Great CZcams site about Access:
    youtube [dot] com/user/learnaccessbycrystal

  • @levans13
    @levans13 Před 6 lety

    Thank you for sharing this information! Worked perfectly!!!

  • @excelisfun
    @excelisfun  Před 12 lety

    I do not have a handout or video on the generic rules of how to put functions together. Sorry.

  • @TheGK2009
    @TheGK2009 Před 10 lety

    Thanks!! This series is very helpful. Please keep posting these excellent excel tricks and tutorial.
    Regards,,
    GK

  • @excelisfun
    @excelisfun  Před 12 lety

    Thank you for the kind words. I always wonder what people are thinking when they dislike a video that has the sole intent of giving away free information in a reasonable way...
    I have some basic videos on Access:
    youtube [dot] com/course?list=ECB0DB785B9C9BE8A8
    Great CZcams site about Access:
    youtube [dot] com/user/learnaccessbycrystal

  • @Samy991188
    @Samy991188 Před 3 lety

    Man, you probably have no idea how much this helped me out too :( , I was on the brink of going crazy before I found this. So thanks a lot! i'm following now all your videos.... thanksssssssssssss

  • @mariachica2741
    @mariachica2741 Před rokem +1

    you saved my life! THANKS!

  • @excelisfun
    @excelisfun  Před 12 lety

    Wow! Beautiful setup with the RANK! I can't wait to see your video!

  • @askni1985
    @askni1985 Před 12 lety

    There should not be any dislike button for all videos on this channel, thank you, your videos are much appreciated and there is a request, please make videos like this on access also

  • @TruongTammie
    @TruongTammie Před 11 lety

    You are awesome, the video is just exactly how i need it. Thank you so much!!!!

  • @63ALEXGO
    @63ALEXGO Před 12 lety

    Mike
    instead of select the formula manual before pressing f9 to show the result of your formula
    you may select the section of the screen tip, excel will select the formula for you
    example in
    if(a1=b1,c1)
    you don't have to select the a1=b1 manually before pressing f9
    in screen tip (if(logical test,value if true,value if false)
    just select logical test in the screen tip
    then excel will select a1=b1 for you
    you are a great teacher
    I learn a lots from your videos
    million thanks

  • @susanwhite5009
    @susanwhite5009 Před 5 lety

    Excellent video. So clear to follow and downloadable files to go along with the video... What could be better? I should've found this sooner.
    Thank you so much!

  • @excelisfun
    @excelisfun  Před 11 lety

    I do not know. Try THE best Excel question site:
    mrexcel [dot] com/forum

  • @shyamnilvk
    @shyamnilvk Před 7 lety

    Mate really appreciated, you help me a lot buddy. Thank you very much.

  • @alaypaun
    @alaypaun Před 7 lety +2

    Dude, you just saved me hours of my life. Thanks for this, you're a legend :D

  • @gustavoutz21
    @gustavoutz21 Před 4 lety

    Wow this video saved my day. thank you!

  • @TheKinsayan
    @TheKinsayan Před 6 lety

    Great thanks ! And great formula !

  • @ryanbauer3304
    @ryanbauer3304 Před 11 lety

    AWESOME!!! Thank you so much. I have been trying to figure this out for like a year :D

  • @at-excel
    @at-excel Před 12 lety

    The formulas are finished. I modified it, to show the ranks not in order 1,2,3,4,5,6 but in 1,2,2,4,5,5 if there are some ties.
    I used a time list and added an additional Rank.eq in Column C
    C6: =Rank.eq(a6;$a$6:$a$12;1)
    D6: =if(rows($d$6:d6)

  • @Comehometoday
    @Comehometoday Před 12 lety

    Great video! saves me whole day trying to figure out how to extract top 10 numbers with names from a pivot table

  • @vipuljhaveri4805
    @vipuljhaveri4805 Před 4 lety

    Thank a lot , for your brilliant and lucid explanation , well advanced tricks made very easy for all with perfect presentation and with its download files to learn , practice and use ,
    you are a unique mentor ! ! !

  • @aashishadhikari7194
    @aashishadhikari7194 Před 5 lety

    You are too brilliant, no word to explain you how much you helped me, thanks dear

    • @excelisfun
      @excelisfun  Před 5 lety

      Glad the videos help, Aashish!!! Thank you for your support with your comment, Thumbs Up and Sub : )

  • @SANDYRUPA2006
    @SANDYRUPA2006 Před 12 lety

    I feel he is a great Teacher
    very easy to understand
    Keep it up
    Thanks a lot
    give us about more about Access

  • @karolinaunderwood1039
    @karolinaunderwood1039 Před 5 lety

    this is great! thank you so much for your help. Do you think you could also show us how to improve this formula with two variables for small function? I am using it for the Risk register to pull out Top 5 risks. However, I need to apply an additional condition that pulls out only Top 5 risks which have the status "open".

  • @diamanthaxhimusa8103
    @diamanthaxhimusa8103 Před 12 lety

    You are amazing teacher. I admire you , you make me to love ,to woik in excel .. Thank you

  • @deepk82
    @deepk82 Před 9 lety

    Great job, solved many problems :-)

  • @RobertLongM
    @RobertLongM Před 5 lety

    What an amazing teacher you are!

    • @excelisfun
      @excelisfun  Před 5 lety

      Glad you like it, Robert! Thanks for your support : )

  • @lucaviglio1206
    @lucaviglio1206 Před 3 lety

    Amazing video... So helpful.. Thanks a lot Mike

  • @barrieracingclub7097
    @barrieracingclub7097 Před 4 lety

    This is amazing, i want to know if you have 5 times of the same manager with all different visit can he calculate from each manager and after rank them ?

  • @andersbruun1272
    @andersbruun1272 Před 9 lety +1

    Hi, and thanks for a great video, it was a huge help for me. An additional question, is it possible in any way to add a secondary criteria, when making the top 5? Fx. when shooting clay targets. 20 hits in 20 shots. Then 20/21, 20/22, 19/20 and 19/21. That's the correct order, obviously 20/20 is better than 20/21. How can I make excel sort it out for me?
    Regards, Anders Bruun

  • @fernleystephens2436
    @fernleystephens2436 Před 7 lety

    I've volunteered to be the treasurer of a local organization and have been busy building a spreadsheet to help me track our finances. I think of a feature I'd like to add but have no idea how to implement it but all I have to do is look through your videos and I'll find the answer. Thanks a lot for your help.

  • @ammarazizi9962
    @ammarazizi9962 Před 4 lety

    thank you so much! this really help me to analyze data much much faster!

  • @dumpalakalki6897
    @dumpalakalki6897 Před 5 lety

    Thank you sir today I learned new things from you

  • @AhmadMustafaMohmedMetwalley

    you are amizing ...this is summery for hundred of your vedios....thanks so much

  • @anil11996
    @anil11996 Před 12 lety

    Your work is excellence

  • @ahmedalturkey7864
    @ahmedalturkey7864 Před 7 lety +1

    You are awesome

  • @iftekharraju318
    @iftekharraju318 Před 5 lety

    excellent...thanks man..

  • @6san6sei6
    @6san6sei6 Před 8 lety

    amazing trick. now i can make pareto charts fast and easy

  • @at-excel
    @at-excel Před 12 lety

    Thanks a lot for your comments on my CZcams channel.
    Now I'm looking for a way to show the correct ranks without column C. Still waiting for your next video, Andreas.

  • @fajardiniarikamil2712
    @fajardiniarikamil2712 Před 4 lety

    i did it ,it works and i dont know how it work but it gives me what i want

  • @muraligonti8999
    @muraligonti8999 Před 6 lety

    Grate formula... Tq

  • @askni1985
    @askni1985 Před 12 lety +1

    Thank you for the links

  • @buriskad
    @buriskad Před 2 lety

    Is there a way to extract top values for displayed cells only? Amazing lesson btw, thanks!

  • @oysalameh
    @oysalameh Před 11 lety

    Hi, thanks for great videos. what shall I do more to have a formula as mentioned in this video but with new column in the data like department, for example the top 5 visits from a specific department

  • @RohitKumar-cc7zi
    @RohitKumar-cc7zi Před rokem

    Welcome Owsome bro just keep it up 👍👍👍👍 fabulous

  • @euanstenson6293
    @euanstenson6293 Před 5 lety

    big up, v helpful

  • @ganeshkumarsit8671
    @ganeshkumarsit8671 Před 5 lety

    Thanks a lot. It helped me very much

    • @excelisfun
      @excelisfun  Před 5 lety

      You are welcome, a lot! Thanks for your support with your comment, thumbs up and Sub : )

  • @beatrizinmobiliariamexicobyiad

    Hi! Thank you so much! I have a question: Is it possible to use the countif function for a set of columns with defined names and try to get the result by row? . Something like: countif ("column1name" and "column2name", and "column3name", etc) have more than one number in each row. Thank you!!!!

  • @akademiks
    @akademiks Před 12 lety

    Thanks for this tutorial.. I've got a question though. I'm having a difficult time logically putting together & branching Excel functions/formulas together.. Do you have any videos or PDFs where you basically go through the fundamentals of this? Right now, I'm at the point where I'm only really able to put multiple functions together by memory, and I'd really like to get a stronger understanding..

  • @KennethTranMD
    @KennethTranMD Před 4 lety

    Wow, thanks a lot. That's very helpful.

    • @excelisfun
      @excelisfun  Před 4 lety

      You are very welcome, Kenneth!

    • @KennethTranMD
      @KennethTranMD Před 4 lety

      @@excelisfun if i want D6:D10 to show 1,2,3,4,4 instead of 1,2,3,4,5. How could I do that? thanks

  • @eLMaestroDos
    @eLMaestroDos Před 4 lety

    Thank you so much for this sir this is really great..

  • @guilhermefilho
    @guilhermefilho Před 4 lety

    You rule man!!

    • @excelisfun
      @excelisfun  Před 4 lety

      That is so funny, this video is the video I am releasing tomorrow, Oct 4, 2019 as my Flash Back Friday. It is an oldie but a goodie...

  • @excelisfun
    @excelisfun  Před 12 lety

    Yes, you can make a re-make of it in German!
    Excelisfunner says hi to you!

  • @s.kishoredina6241
    @s.kishoredina6241 Před 4 lety

    Great wrk 👍👍 thanks for your vedio

  • @borremetal
    @borremetal Před 6 lety

    Thank you

  • @Innovlrnr
    @Innovlrnr Před rokem

    I am trying to consume this very valuable knowledge , and scratching my head too as it's not easily understandable for novice like me

  • @athanasiosbarmpas6392
    @athanasiosbarmpas6392 Před 6 lety

    Hi sir in the case of the tie can we add criteria also for the ranking?Thanks

  • @excelisfun
    @excelisfun  Před 12 lety

    It does seem weird, but it is the syntax that the COUNTIF function requires in this situation.

  • @vijaysahal4556
    @vijaysahal4556 Před 3 lety

    nice sir 👍🏻👍🏻👍🏻👍🏻👍🏻

  • @at-excel
    @at-excel Před 12 lety

    Thanks for the great tutorial (again). I would like to produce a german remake of it.
    Greetings from Germany - also to ExcelIsFunner

  • @alializadeh8195
    @alializadeh8195 Před 2 lety

    Thanx

  • @AVielot
    @AVielot Před 12 lety

    Mike, wonderful video!.. I was wondering if you could maybe try a video of adding an additional criteria and then extract based on this additional constraint? For example, lets select the top 5 but eliminate the "Max" because it meets the criteria of an "outlier" ... resulting in an extract of only 4.... Scratching my head over this... but still trying to figure this out...

  • @ArmandoReveron94
    @ArmandoReveron94 Před 6 lety +1

    I'm needing some help. I'm using Excel 2016 to create a volleyball round robin spreadsheet and I'm needing to get the Top 5 players in order, everything seems fine, but the VLookup function isn't returning the name of the players. I don't know what I'm doing wrong...please and thank you!

  • @MichaelByrneWX
    @MichaelByrneWX Před 9 lety

    Is there a way to add date criteria also, I want to show two lists in my dashboard report, Top 10 last month and Top 10 last year. I refresh my data base table of transactions several times per month. p.s. I've learned fantastic tips and tricks from you over the years

  • @taintsweatnope5093
    @taintsweatnope5093 Před 5 lety

    Thank you thank you thank you for your help with this!!!!

    • @excelisfun
      @excelisfun  Před 5 lety

      You are welcome, welcome, welcome, J. B.!!! Thanks for your support on each vid with your comment, Thumbs Up and of course your Sub : )

    • @taintsweatnope5093
      @taintsweatnope5093 Před 5 lety

      @@excelisfun In your example the area of return is the same size as the dataset whereas my area of return is much smaller. I am getting false outcomes and am wondering if that could be the cause. Any ideas?

    • @taintsweatnope5093
      @taintsweatnope5093 Před 5 lety

      @@excelisfun solved it

  • @ShahabUddin-qh5bl
    @ShahabUddin-qh5bl Před 4 lety

    Great video Sir, I am trying return value matching different columns but row function doesn't help

  • @mybadongt613
    @mybadongt613 Před 11 lety +1

    On a different note, what if there are 3, 4 or 5 names or data that are the same instead of 2 same names as in the example? How would it be coded? Do you have a video of a variation of this??

  • @shekhvasim249
    @shekhvasim249 Před 5 lety +4

    What to do when in top ten more than 1 duplicate value

  • @norsalwati9138
    @norsalwati9138 Před 4 lety

    Thank you so much this really helps me listing all the names with the tie marks. But can you please advise how do we do if we also want to rank the name of the tie marks based on other condition. For the example in your case, Moji and Hafiz have the same marks. can i ranking Moji and Hafiz based on other condition such as other marks? Thank you.

  • @prince4x4
    @prince4x4 Před 4 lety

    Thanks u safe my life.

  • @tayfun2429
    @tayfun2429 Před 10 lety

    Thank you for this tutorial. One more question I am using this example in a combination with week numbers but is not working do you have any idea?
    I enter in B4 week nr and in the C5 to C12 are week numbers example 1,1,1,3,3,4,4
    when I enter 1 in B4 excel should show top 5 in this weeks and the same with other numbers. thank you for your feedback.

  • @excelisfun
    @excelisfun  Před 12 lety +1

    That is too bad that you can't install 1013. But no worries, Excel 2010 or 2007 still are TOTALLY amazing!!!

  • @MrHeinsryan
    @MrHeinsryan Před 12 lety

    Hi this is a great video, but I do have a quick question:
    How would you go about filtering via formula top 2 managers that contain names starting with the letter M?
    This is hypothetical and relative to what I'm trying to do. I'm trying to pull out the top performers of 2012, when 2011 is also listed in the same range. I'm having trouble leaving the 2011 top performers out and can't solve it on my own. All help is appreciated!
    Ryan

  • @excelisfun
    @excelisfun  Před 11 lety +1

    You do not want to use IFERROR rather then IF. Why? Because with an alternative logical test and the IF, the formula will not have to run the big array formula in every cell; with IFERROR the formula must run the whole formula in every cell. Although for small data sets, the calculation time saved is not noticeable, for large sets it is dramatic. It is efficient to use IF instead of IFERROR . Here is a video:
    Excel Magic Trick 1029: DON'T Use IFERROR, Use IF and Logical Test If Possible...

  • @nhabzsadalani5307
    @nhabzsadalani5307 Před 5 lety

    hello, i've been trying to figure out, if i have a 15 names in the cells for example from cell4 to cell19, how can i manage to highlight the name which is more repeated in the cells, thank you in advance for the reply.

  • @YotesFan1980
    @YotesFan1980 Před 2 lety

    Great video! It helped me with a leaderboard for a baseball stat.
    I have run into one tiny problem. How do I create a restriction with what you're doing at roughly the 8:00 mark to make a minimum appearance requirement? If, say, a pitcher needs 15 appearances to qualify for a percentage stat? With what I'm trying, the function returns the first guy it sees with the top-ranking percentage, despite the fact that he has only one appearance. Thank you in advance!