How to Rank Duplicate Values in Excel without Skipping Numbers (Top 3 Report with Duplicates)

Поделиться
HTML-код
  • Опубликовано: 4 янв 2025

Комментарии • 328

  • @LeilaGharani
    @LeilaGharani  11 месяцев назад

    Grab the file I used in the video from here 👉 pages.xelplus.com/rank-values-file

  • @tosinis
    @tosinis Год назад +3

    A 4 year old vid saves the day!!!! Thanks Leila. You remain an absolute LEGEND FOREVER!

  • @danielk9422
    @danielk9422 4 года назад +3

    Every time i need a tutorial from Excel, i check Leila's videos before i go to another channel, because she explains it so well. Not like other guys with one hella heavy accents who just uses random formula or whatever without explaining the logic then be like "Ta-da there you have it". Tbh im so grateful for Leila's channel.

    • @LeilaGharani
      @LeilaGharani  4 года назад +1

      Thanks for the kind feedback Daniel!

  • @andianugerah5837
    @andianugerah5837 2 года назад +1

    THE AMOUNT OF TIMES YOU SAVED MY DAY. YOU'RE THE BEST!

  • @mienzillaz
    @mienzillaz 5 лет назад

    I had to give it a moment before i fully understood what is going on. So you're valuating entries bigger then currently checked but with proportional contribution.
    So clever, i love it.

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      Yes :) It does take some time to digest.....

  • @mikepitkanen
    @mikepitkanen 5 лет назад +5

    Hello Leila,
    Thank you for showing the Textjoin function when listing employees by rank - brillant!
    As for ranking without duplicates, what I typically use (because I can work my head around it) is the following formula which would be in cell D5: =RANK.EQ(B5,$B$5:$B$24)+COUNTIF(B$4:B4,B5). Alternatively if the column headings were only numbers (or the data started in the first row) it would change to =RANK.EQ(B5,$B$5:$B$24)+COUNTIF(B$5:B5,B5)-1.
    Love your tutorials! Thank you!
    Michael

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      Thank you Michael - Agree, the unique rank formula is great to avoid duplicate numbers. I use that when creating bar charts that are automatically sorted. Thank you for sharing.

    • @neilgore
      @neilgore 2 года назад

      This is brilliant .. thanks Michael.. any tips on ascending rank?

    • @muradsheikh4381
      @muradsheikh4381 Месяц назад

      I've problem
      Roll No Name Total Mark GPA Grade Positon
      202518 Gabriel 522 5.00 A+ 1
      202536 Michael 519 5.00 A+ 2
      202542 Israfil 529 4.83 A 3
      202585 Izrail 528 4.83 A 4
      202530 Munkar 516 4.58 A 5
      202533 Nakir 490 4.58 A 6
      202532 Raqib 472 4.33 A 7
      202548 Atid 472 4.33 A 7
      202552 Malik 457 4.25 A 9
      202555 Ridwan 435 4.17 A 10
      Used Function:
      =RANK.EQ(D2, $D$2:$D$11) + COUNTIFS($D$2:D2, D2, $C$2:C2, ">" & C2)
      /
      =1 + SUMPRODUCT(($D$2:$D$12>D2) + (($D$2:$D$12=D2)*($C$2:$C$12>C2)))
      Don't skip Number. 9 to be 8. How I Solve it?

  • @mslimtradersserver9110
    @mslimtradersserver9110 3 года назад

    Respected Madam, For ranking purpose i watch dozen of videos in past, so i watch your video today and i find my problem of ranking without skipping number, so you are a great and i am thankfull to you for making this video, be sure this video solve my problem which i facing from 6 years, thank you so much

  • @mahmoudbasheti3551
    @mahmoudbasheti3551 5 лет назад

    That is pretty advanced. Seriously who would've thought something like that could've been done, I love it!! Thank you Excel Queen.

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      You're welcome Mahmoud :) Soon we'll have it easier with dynamic arrays...

  • @excelgazialimuhiddinhacibekir
    @excelgazialimuhiddinhacibekir 5 лет назад +1

    Very neat, clean-cut and handy formulas elaborated in a crisp-clear lecture. Perfect as usual, Leila!

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      Thanks for the kind words. I'm glad you like the video.

  • @AviationAPassion
    @AviationAPassion 2 года назад

    It took me a whole year to find out this solution. Thanks a lot

  • @jordanbeales2897
    @jordanbeales2897 2 года назад

    exactly what i needed within 2 minutes thanks very much

  • @m.hussainbarahvi5998
    @m.hussainbarahvi5998 5 лет назад

    Dear Mam,
    I have no words to thank you. Super trick.
    I was in trouble for the last two years while developing the result sheets of my school and I was unable to find a way... You are genius. May God bless you.

    • @LeilaGharani
      @LeilaGharani  5 лет назад +1

      You're are very welcome. I'm glad I could help with that.

    • @bobgreenfield9158
      @bobgreenfield9158 6 месяцев назад

      ​@@LeilaGharaniWhy doesn't Microsoft offer this as a built-in function choice?

  • @JaskaranSingh-rw2yh
    @JaskaranSingh-rw2yh 4 года назад

    excellent way to do the rank without skipping numbers.. I was searching for this exact formula.. Thanks a lot..

  • @jujuvisnadi
    @jujuvisnadi 2 года назад

    I watched this video a while a go and it blew my mind. Today I had to create a ranking and realised I didn't want to skip positions, so came back to watch it again. Thank you!!
    My question is if I want to add another criteria in order to avoid repeating positions (and not skip positions as well). I can't join both tricks unfortunately.

    • @aashraynalawade
      @aashraynalawade Год назад

      I'm also searching for this, did u find any solution to this?

  • @IanLockley
    @IanLockley 5 лет назад +3

    Thank you so much for all of your videos, especially this one. I'm using this set of functions most days!

  • @muhammadsaqibshah7891
    @muhammadsaqibshah7891 3 года назад

    Thank you so much.......... i spent many hours just to find this

  • @szisziszilvi
    @szisziszilvi 2 года назад +1

    brilliant, Leila, you have just saved my life - again... :D

  • @wayneedmondson1065
    @wayneedmondson1065 5 лет назад

    Hi Leila.. great video! Thanks for the SUMPRODUCT, COUNTIF and TEXTJOIN fun!! Before enrolling in your classes and watching your channel, I would have been clueless as to what you did here. Thanks to your great instructions and clear explanations, I can now easily follow along and understand your approach, as well as replicate your solutions and extend them to other uses. For anyone wanting a deep dive into these great techniques, I strongly recommend that they seek out all your offered resources.. both free and paid. You won't be disappointed and you will up your game in EXCEL. In recreating your example, I realized that you might want to sort the results for the ranks with multiple answers. With DAFs, that would be easy.. wrap the TEXTJOIN function with SORT().. yes? Can't wait until those are released by MS!! Thanks again for all that you offer to the EXCEL community. Your contributions and resources are invaluable. Thumbs up!!

    • @LeilaGharani
      @LeilaGharani  5 лет назад +1

      Thank you Wayne for your kind words and the thumbs up. Dynamic arrays would make this so much easier. I'll have to do a version on that one too :)

  • @rina2012ful
    @rina2012ful 3 года назад

    You are brilliant! Clear explanation.

  • @vishytheprof
    @vishytheprof 4 года назад

    Thank you Leila! This approach to the problem was simply mind blowing

  • @victorcox3227
    @victorcox3227 5 лет назад

    Brilliant...you are so clear in your explanations......but I am still a bit dizzy after that !!…..Very Good Tutorials

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      Glad you like it Victor. I hope the dizziness was not too bad :)

  • @MrHorzel
    @MrHorzel 5 лет назад +1

    Amazing Leila you always seems to go a few steps deeper into the matter, thank you for this one.

  • @krugella1983
    @krugella1983 4 года назад +1

    Your videos are awesome! I rely so much on your expertise to survive in my job! Thanks loads :)

  • @afhlmd
    @afhlmd 5 лет назад +2

    Wow, I'd never come up with a solution like that. Amazing! Thank you so much

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      You're very welcome Affonso. Thank you for dropping by :)

  • @stephanwiness
    @stephanwiness 24 дня назад

    So helpful. Thank you!

  • @mandsaurmandibhavtoday7563
    @mandsaurmandibhavtoday7563 2 года назад

    Your video is very supporting and u are genius.

  • @SolomonKinyanjui_sk
    @SolomonKinyanjui_sk 5 лет назад +1

    That's a good way of ranking, especially the use of sumproduct and countif especially when ranking the top 3, this method will not leave out individuals with the same rank

    • @LeilaGharani
      @LeilaGharani  5 лет назад +1

      Thanks Solomon. Yes - using the usual Vlookup would get the first match - Textjoin is great for this. In the future with dynamic arrays, the formula and the steps will also get more simple :)

  • @oliviermuvandimwe9404
    @oliviermuvandimwe9404 5 лет назад

    Thank you very Much for your coaching and guidance. It is real and It works

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      I'm glad the tutorials are helpful Olivier.

  • @mattias5063
    @mattias5063 5 лет назад +2

    Why you don´t have ten million followers is beyond me. Love your work, kick ass as usual. Keep it up. :)

  • @arshadqamar9951
    @arshadqamar9951 2 года назад

    Awesome work.i really impressed by your work.

  • @entertainmentgalaxy971
    @entertainmentgalaxy971 5 лет назад

    That is slick and ending part with visualization is astonishing. thanks for sharing

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      Thanks Haider. I'm glad you like that part.

  • @cuoivelo8360
    @cuoivelo8360 6 месяцев назад

    Exactly what I'm looking for. Thank you my Queen

  • @usman_sdq
    @usman_sdq Год назад

    Thanks a ton.. I was looking for this for a long. U helped me a lot

  • @sandip_bettereveryday
    @sandip_bettereveryday 5 лет назад

    Understood the power and potential of using TEXTJOIN function better through this video. And SUMPRODUCT as always never fails to amaze!

    • @LeilaGharani
      @LeilaGharani  5 лет назад +1

      TextJoin is one of those hidden super functions :) Thanks for dropping by Sandip.

  • @lpanebr
    @lpanebr 5 лет назад

    I'm gonna have to get my hands dirty and do some testing to fully understand your ranking function. I love it. Thank you!

    • @LeilaGharani
      @LeilaGharani  5 лет назад +2

      Getting hands dirty is the best way to learn :) Thanks Luciano.

    • @bobgreenfield9158
      @bobgreenfield9158 6 месяцев назад

      Make a sample worksheet and test out the ideas.

  • @0ExG0
    @0ExG0 5 лет назад

    Thank you. If i get promoted in my job would be thanks to ur videos. Again Thank you.

  • @iziaurrahman
    @iziaurrahman 5 лет назад +1

    Fantastic! Was working around without knowing this amazing trick. I always learn something new from your channel.

  • @highwayempire1
    @highwayempire1 2 года назад

    This was exactly what I needed. Thx

  • @ptiwari841
    @ptiwari841 7 месяцев назад

    You solve me those problems which CHT Gpt couldn't....😊

  • @rodgersgregory7198
    @rodgersgregory7198 5 лет назад

    Productive session,Thank you

  • @omkar917
    @omkar917 4 года назад

    your videos are the best

  • @von252
    @von252 3 года назад

    This is a great formula!

  • @mohamedselim6547
    @mohamedselim6547 5 лет назад

    Hello Leila
    Thank you for the videos... you're showing how to get the results with explanation.
    in regard to ranking, I used to go with the largest, smallest functions, and I use < or > for ranges with countif

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      Thank you Mohamed. Agree - large and small are great functions for ranking too. Thank you for sharing.

    • @mohamedselim6547
      @mohamedselim6547 5 лет назад

      @@LeilaGharani Hello Leila Gharani, I just wanted to share, this is the best I came up with in excel and VBA few years ago, and shared it on youtube, almost, 6 months ago
      ruclips.net/video/pZZBhH2un5Q/видео.html
      it uses VBA, conditional formatting and in sheet excel function
      it has some features I was looking for and Thankfully were available in Excel 2007
      and I wanted to share my music as well :)
      and again thank you for your excellent Videos

    • @mohamedselim6547
      @mohamedselim6547 5 лет назад

      And This one as well, ruclips.net/video/Qk3v991FcZo/видео.html
      When I first started excel, back then you were a reference, before VBA.
      it's all conditional formatting and a few if statements
      Thanks

  • @user12345654
    @user12345654 Год назад

    Mind-blowing logic !

  • @millerdane
    @millerdane 5 лет назад

    I recently found your channel. Your explanations are very clear, your example are well thought of and relevant for many applications. Keep up the EXCELLENT work of spreading knowledge !!

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      Thank you for the kind feedback Dane!

  • @sergiosmfyo
    @sergiosmfyo 4 года назад

    Excellent!!! It worked for me!!! Thank you!!!

  • @mk_powerbi2873
    @mk_powerbi2873 5 лет назад

    Easy and Nice Amazing Tips, before I used =LARGE() formula but duplicate was my nightmare, Leila, thanks for sharing this video!

  • @moxie1189
    @moxie1189 5 лет назад +3

    For people who do not have Textjoin, an alternative would be to make a sequential list of 1-20 beside column D unique rank. Then in the report tab in cell D6 enter =INDEX(Data!$A$5:$A$24,MATCH(Report!C6,Data!$E$5:$E$24,0)

  • @momololo12
    @momololo12 2 года назад

    Thank you this is super helpful😮

  • @NavinMuskan2012
    @NavinMuskan2012 Год назад

    thank you so much Ms. leila. Thank you so much i have been searching that.

  • @mestruorlan1763
    @mestruorlan1763 5 лет назад

    everything in your channel is very interesting. I'm using this tool as part of my work and requirements as a teacher, but i never had any idea of the other functions. Thank you for sharing your knowledge online.

  • @dejabluek8297
    @dejabluek8297 5 лет назад

    I have so many uses for this! Thank you for this video!

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      I'm glad you can put this to use :)

  • @daviddecastro9653
    @daviddecastro9653 4 года назад

    great work Leila

  • @tha2irtalib343
    @tha2irtalib343 5 лет назад

    beautiful mind .. superior teacher . big "thanks" , Leila .

  • @AshokKumar-sy2qt
    @AshokKumar-sy2qt 5 лет назад

    You are simply great and just brainstorming thanks again!

  • @it-educator9735
    @it-educator9735 2 года назад

    Hi Leila. it was good what u explained.

  • @vida1719
    @vida1719 5 лет назад +3

    Match( Analytical skills, Creativity) = brilliant solution

  • @raushan000007
    @raushan000007 4 года назад

    very informative.. Thanks

  • @dimasagil90
    @dimasagil90 5 лет назад +1

    Beautiful formula, thank you so much👍

  • @smartlearningwithrajeshrai
    @smartlearningwithrajeshrai 5 лет назад

    Excellent tutorial. Thanks

  • @tarinderkaur7621
    @tarinderkaur7621 Год назад

    Very valuable video

  • @17aig
    @17aig 5 лет назад

    Again another awesome presentation thanks!!!

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      Thank you Nissim. Glad you like it :)

  • @vidyacomputeracademychhani1441
    @vidyacomputeracademychhani1441 4 года назад

    very useful video....very .thanku mam

  • @Finezzato
    @Finezzato 5 лет назад

    You just put a big smile to my face :))

  • @benponderin
    @benponderin 5 лет назад

    Precise and concise, well explained, Leila

  • @suryachitra8895
    @suryachitra8895 5 лет назад +6

    Thanks for the video, as always you are awesome with excel. Just wanted to know is there any other alternative for Textjoin function in excel 2016?

  • @shrimohandammani4238
    @shrimohandammani4238 4 года назад

    shandar great keep it up

  • @janvincentbarandino4722
    @janvincentbarandino4722 4 года назад

    A very helpful video! Thank you for this one.

  • @9052113332
    @9052113332 4 года назад

    Hey this video is very useful for me... quick question... how to avg a new joiner along with the existing staffs

  • @GeertDelmulle
    @GeertDelmulle 4 года назад

    I call this the Leila Ranking formula. I used it in an online Teams session (on someone else’s computer) last year and the people were amazed.
    Conclusion: it’s always good to have a Leila Gharani formula on hand - you never know when you might need it. ;-)

  • @bilaldadan2656
    @bilaldadan2656 5 лет назад

    love u for this leila , i really dint find a better explantion than this

  • @nostalgia.mmshah
    @nostalgia.mmshah 2 года назад

    You have an excellent brain 🧠

  • @hazemali382
    @hazemali382 4 года назад

    more than Great ♥

  • @vikascma
    @vikascma 5 лет назад

    You are brilliant...

  • @tamunghauzel17
    @tamunghauzel17 5 лет назад

    I have been looking for this video since 2017. Thanks to you. I'll definitely subscribe your channel.

    • @LeilaGharani
      @LeilaGharani  5 лет назад +1

      Glad I could help with that. Great to have you here.

  • @joannpaules3642
    @joannpaules3642 10 месяцев назад

    This is awesome - but what if you need smallest to largest, with duplicates?

  • @kuka841
    @kuka841 5 лет назад

    this is exactly what I want.. thanks a million

  • @coxsj
    @coxsj 5 лет назад +1

    Thanks I did not realize how RANK.EQ related to RANK. Will use the former going forward.

  • @simonkemp1030
    @simonkemp1030 4 года назад

    Thanks Leila love your work, helps so much when Excel is not your daily work routine .
    Excel 2019 - Tried this video tutorial to get info into your earlier tutorial "Excel Charts: Sorted Bar Chart as Alternative to the Pie Chart 14.7.2016. As I have table of data that now happens to have 2-3 sets of duplicates or Triples it varies, However the Rankings and graphs are all in one file linking to the data sets in another file so ranking etc are carried out on the separate sheet. Now the issue has come to light that this method is not working on duplicates.
    So I thought that the ranking should perhaps have been on the underlying data set worksheet but tried that no different the index and match return's an error so tried on the data sheet the other formula and still get an error - these are the two formula. =RANK.EQ(J55,J$55:$J$219,0)+COUNTIF($J$55:J55,J55)-1 or =SUMPRODUCT((J55

  • @changingmind3248
    @changingmind3248 4 года назад +1

    Came here in hopes of finding an explanation on how to (manually determine the) rank for q-grams (my study-script seems to be too advanced for me...) - stayed because it was impressive and very intruiging.

  • @DougHExcel
    @DougHExcel 5 лет назад

    Great examples...thanks for the video!

  • @shaikhmaruf8880
    @shaikhmaruf8880 5 лет назад

    Really nice.

  • @Max_-
    @Max_- 5 лет назад +1

    Very useful - and impressive! Thank you!

  • @christoslefkimiotis9889
    @christoslefkimiotis9889 4 года назад

    Great solution with the sumproduct, but if some of your data are equal and already listed one after the other (In your video for example all the 9.000s are together) the formula breaks. For example the sumproduct resulted to something that looked like an whole number (i.e integer) but it was not. For example the sumproduct was 8.000000 and no matter how many digits I included it looked like a whole 8 but the INT part of it was 7 !!!!!!! Couldn't get my head around why,....... When I was deleting some of the "same sorted records" (some of your 9.0000s) the formula was working perfectly .....To overcome this I had to totally unsort my data in order to apply your beautiful solution. Thank you very much for your excellent video.

  • @OzduSoleilDATA
    @OzduSoleilDATA 5 лет назад

    BEAUTIFUL! Great solution!

  • @RahulJauhari
    @RahulJauhari 5 лет назад

    Very very thankful for this.i am teacher in intercollage.i face problem every time while declare position in class. When excel skip the number I do it manually.thanks again.

  • @Ticky66MN
    @Ticky66MN 5 лет назад

    That is so awesome and I will be putting it to use immediately. Thank you Leila.

  • @anuragjeetan7221
    @anuragjeetan7221 5 лет назад

    Mind-blowing ma'am

  • @Donnomuch
    @Donnomuch 5 лет назад

    Thank you for sharing this awesome lesson. I personally gained so much knowledge in excel from you. This functions works perfectly on lists of numericals.But i am having trouble, I applied the SUMPRODUCT+COUNTIF function on a student's Mark sheet, and the formula sees letters as 1 as below:
    500 2
    250 4
    Fail 1
    300 3
    I know you'd be so busy and I would not complain even if you don't have time for my problem. If it's not bothersome for you, please help me find a solution for this. Thank you for creating an amazing channel.

  • @davenrmt
    @davenrmt 5 лет назад +1

    Ms Excel,
    I'm trying to rank numbers in a cells that are actually formulas for a countdown. Background: I'm a uni student and I wanted to see how many days before my final exams inorder to prioritize my studying. The column with this formula works great and I have the countdown per course; however, I am trying to rank my courses from 1 - 7 (I'm taking extra courses - love learning!) and I keep getting an error or a "circle reference" error. How would you rank 7 rows with a formula? I could manually just do this but I was hoping to automate it with a formula.
    Thoughts?

  • @yurd563
    @yurd563 5 лет назад

    Thanks a lot!

  • @sonymurad429
    @sonymurad429 5 лет назад

    nice work

  • @lephterisp
    @lephterisp 5 лет назад

    Very interesting and useful.Thanks!

  • @abdulahaad3337
    @abdulahaad3337 5 лет назад

    Thanks. Its very useful.

  • @ทวีเกวียนสูงเนิน

    ขอบคุณครับ good and smart .

  • @thoratpiyush
    @thoratpiyush 5 лет назад

    Very interesting & useful

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      Thank you Piyush. I'm glad you like it!

  • @randyaird2376
    @randyaird2376 5 лет назад +2

    What if you wanted to ranked those people base on group that is the top person in each group. And also return the name of the top person in each group. How would you go about doing that? I predict your insights would be helpful.

  • @vijaygusain119
    @vijaygusain119 5 лет назад

    Great work!

  • @shcuck
    @shcuck 5 лет назад +1

    Awesome video thank you very much for your great videos. I have learned a lot. One thing though that I am struggling with is converting this sumproduct formula to a VBA Function. Would you have any pointers or would you make a video on how to convert this formula into a VBA function?

  • @arunark274
    @arunark274 5 лет назад

    Wow... Great 👍👍👍👍💕💕💕 💐💐💐💐