Extract UNIQUE Items for Dynamic Data Validation Drop Down List

Поділитися
Вставка
  • Опубліковано 10 лют 2025

КОМЕНТАРІ • 815

  • @LeilaGharani
    @LeilaGharani  7 років тому +41

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

    • @MySpreadsheetLab
      @MySpreadsheetLab 7 років тому +1

      Thanks Leila !!

    • @rahulahuja1412
      @rahulahuja1412 6 років тому +1

      Expounded perfectly. Thank you.
      But doesn't work in Excel 2007 unless I go to each cell individually and enter F2, then F9.

    • @ModernPindawale
      @ModernPindawale 6 років тому

      Thank you MA'am

    • @ModernPindawale
      @ModernPindawale 6 років тому +1

      I will do it through your suggestion

    • @javadkhalilarjmandi3906
      @javadkhalilarjmandi3906 6 років тому +1

      I saw the video that you suggested, your solution is the best, fastest, simplest and very easy, really thank you. although I must add:"ExcelIsFun" was awesome too.

  • @excelisfun
    @excelisfun 7 років тому +49

    Unique List & Sort Formulas - hardest ones around!!! Great work on the video !!!

    • @rajkathare123
      @rajkathare123 7 років тому +3

      ExcelIsFun
      Hello Sir,
      I do watch your excel videos daily...
      But some time I feel irritating because I don't understand them...
      But your videos are excellent 👍👍👍

    • @LeilaGharani
      @LeilaGharani  7 років тому +6

      Thanks a lot Mike :) yes, and also fun to tackle.

    • @michalroesler
      @michalroesler 4 роки тому

      yes.

  • @wampage
    @wampage 6 років тому +1

    This is Excel brilliance. When you see the complexity of what you think is simple, you will see the simplicity of what you think is complex. Incredibly useful and flexible insight for exploiting a flatfile. Thank you!

    • @LeilaGharani
      @LeilaGharani  6 років тому +1

      I like that sentence! I'm glad you like the video. It's fun trying to solve cases like these. I'm glad there are others like yourself who also see the beauty in solving these challenges. Thank you!

  • @genccomo7993
    @genccomo7993 6 років тому +1

    Same, except one less index(). =IFERROR(INDEX($B$8:$B$22, MATCH(0,COUNTIF($C$7:C7, $B$8:$B$22), 0)),""). Still works, albeit infinitely slow with large data sets. One of the best videos I've seen.

  • @subhadiproy4025
    @subhadiproy4025 6 років тому +1

    Leila Gharani... You are the best in excel. I watch most of your videos and it really helped me a lot in my professional life.

    • @LeilaGharani
      @LeilaGharani  6 років тому

      Thank you for the nice comment! I'm really happy to hear you find the videos useful for your work :)

  • @jimcrain412
    @jimcrain412 5 років тому +2

    Mind Blown! You are brilliant!! Thanks for this. I have looked for more than a decade for a way to do this. This is so elegant & much less klug-y than other solutions I have found. i have gotten partway there, before. but I rarely need to work with arrays. It gets fuzzy to try to recall this stuff. Thanks, again!!

  • @janmeijering5999
    @janmeijering5999 3 роки тому +1

    Thanks Leila for all your wonderfull and informative videos, I learned a lot and with that I found an even more easy approach:
    Format your source as a table
    Put the following formula on a separate tab or hidden in cell A1 =SORT(UNIQUE(FILTER(Table2[Cities];Table2[Cities]""))) this formula returns a sorted list of unique cities without blanks from a table where it looks at the column Cities.
    Reference in the data validation list to cel A1#

    • @marcobanderas3306
      @marcobanderas3306 2 роки тому

      These array-based functions are/were only available in Ghseets (+their workspace[corporate] equivalent) and I think added in Excel365 as well. The standard MS Office-based Excel is still in the woods - those functionsa re unavailable there. Similar case with Xlookup, countunique and a few other arrat formulae which have been available in Gsheet corporate for at least 2 years.

  • @DP-xz8xr
    @DP-xz8xr 4 роки тому

    Best video on UA-cam. I have wanted to do this for years on various projects and could never get anything working, so also worked around it. Just followed your example on one of my complex solutions and works like a charm even though I'm using Mac Office365. Many many thanks. Beautifully clear example and explanation.

    • @LeilaGharani
      @LeilaGharani  4 роки тому +1

      My pleasure Darren. Glad it worked on your Mac too :)

  • @MysteryMan159
    @MysteryMan159 4 роки тому

    I’m thankful your channel exists but furious that it’s this complicated to do anything in excel. This is an example of using excel for something that a coded application attached to a database could do WAY better lol.

  • @TravisLP27
    @TravisLP27 2 роки тому

    Best explanation of how to use OFFSET for data validation I've seen yet, well done. I've combined this with UNIQUE and FILTER for a cascading drop down based on powerquery tables. I always forget exactly how to do it and have to look it up and this is the best one I've found so far. Named Ranges help alot too. Good stuff.

  • @rustamtau7944
    @rustamtau7944 4 роки тому

    Your 15-minutes video i watched about 1.5 hour to understand what am i doing when i repeat your actions on the screen. It's amazing.
    By the way, i already purchased two of your courses on Udemy, your solutions and approach to explain things in my Top3 Excel-Tutors Chart.

    • @LeilaGharani
      @LeilaGharani  4 роки тому +1

      Glad the video is helpful. I hope you enjoyed the courses.

  • @DrSougataBanerjee
    @DrSougataBanerjee 6 років тому

    Every time I watch your lessons, I end up being in awe with the level of your Excel mastery and the innovative solutions you bring on the table!! Kudos to your wisdom!

    • @LeilaGharani
      @LeilaGharani  6 років тому +1

      Thank you for the kind words. There is still so much to learn though :) that's what makes Excel fun. Thank you for your support.

    • @DrSougataBanerjee
      @DrSougataBanerjee 6 років тому

      True! 'Learning' is a never-ending journey.

  • @almeidr
    @almeidr 6 років тому +1

    Hello Leila, I'm impressed with your knowledge of Excel and explanation of things in a calm, soothing tone. I wish growing up, I had teachers that taught in this style!

  • @kbjagadeesh
    @kbjagadeesh 6 років тому +25

    OMG! how did I miss this channel, one of the best excel tutor....subscribed!

  • @venkatiyer7459
    @venkatiyer7459 4 роки тому

    Excellent One Mam to avoid CSE ... Your explanation and making the viewers think beyond ... Thanks a lot ....

  • @diannedrechsler4792
    @diannedrechsler4792 6 років тому

    Thanks again Leila, I was copying the formula while you were showing it. Now onto the next video to create a second dynamic list that is conditional upon the first list (depts. and sub-depts.) You made it really easy to follow - except the formula - never could have come up with that myself. So handy when you're under pressure to get things done!

    • @LeilaGharani
      @LeilaGharani  6 років тому

      You're welcome Dianne - glad this helps. Don't forget, you can also download the workbooks from the link provided (you get to the blog post and then scroll right down)

  • @gyalbobhutia2825
    @gyalbobhutia2825 4 роки тому

    Thank you although I am a naive in excel but your explanation are lucid and open the thought process, please keep posting your new videos.

  • @RonBarrett1954
    @RonBarrett1954 4 роки тому +4

    OMG. Nothing else just simply OMG! You have earned a new level of respect. Well done!

  • @blackknight6452
    @blackknight6452 5 років тому +9

    everything is great even your way of speaking is so sweet. writing "thank you" is less than what you deserve

  • @johannesmp3
    @johannesmp3 3 роки тому

    This video is so awesome and yet very tricky. One has just keep practicing this. It's so much nesting that my head is still spinning. Gotta say that your way of eliminating the spaces in the list (after using iferror) was more straightforward than mine. I said counta range-countif(range,"")

  • @shuhaib.y7584
    @shuhaib.y7584 3 роки тому

    If the youtube providing any unlimited like option then I will spend my life full of pressing like button for this video... Thanks a lot more may God bless you dear

  • @iziaurrahman
    @iziaurrahman 6 років тому

    I like your channel Leila. It is very easy to follow at the same time contents are very rich. Also you explain couple of different options to come to same answer. I really like it. Please keep posting new videos.

  • @lawrenceheltzer8820
    @lawrenceheltzer8820 3 роки тому +1

    One tip: Since wildcard characters you used only work with text, I suggest instead using "COUNTA - COUNTBLANK" that works with both text and numbers. Love your work!

  • @hemanthrajakuncham
    @hemanthrajakuncham 4 роки тому

    To get a unique list..we can trim the duplicates using advanced filter... but it doesn't meet requirement like automatic update..
    Really nice work...

  • @gurneetkaur1498
    @gurneetkaur1498 4 роки тому +1

    Hi Leila, I could create a Unique drop-down list, by using UNIQUE, FILTER and then created a combo box to get a Unique drop down. All thanks to your wonderful tutorials and the way you explain each and every function in detail.

    • @DanielFassa
      @DanielFassa 8 місяців тому

      thank you, that was what I was looking for. so much easier.

  • @grantdrinnen2076
    @grantdrinnen2076 4 роки тому +3

    Interesting, I will have to give this a try! I had always used the following array formula to extract unique items from a range, where "data" is the same range reused over and over:
    {=INDEX(Data,SMALL(IF(MATCH(Data,Data,0)=ROW(INDIRECT("1:"&ROWS(Data) ) ) , MATCH(Data, Data, 0), "") , ROW(INDIRECT ( "1: "&ROWS (Data))))) }

  • @kuldeep.3012
    @kuldeep.3012 3 роки тому

    First press Like button then start video
    This is my new rule
    Because Mam your videos are always amazing.

  • @shermuhammad3441
    @shermuhammad3441 4 роки тому

    dear Leila , hello , i got a lot of knowledge from your excel related vidoes. thanks a lot for your nice contributions.

    • @LeilaGharani
      @LeilaGharani  4 роки тому

      Glad you like them!

    • @shermuhammad3441
      @shermuhammad3441 4 роки тому

      @@LeilaGharani thank you and stay blessed.

    • @shermuhammad3441
      @shermuhammad3441 4 роки тому

      kindly tell me video for adding or deleting say 150-cells which exist in-between of a big excel file. how to delete or adding cells inside (say at mid of the file) ? regards

  • @mubashir38
    @mubashir38 2 роки тому

    Laila. I watch your videos with full attention but these sudden adds breaks it up. Thanks for sharing so nice videos. I hope you also give lectures on data science too.

  • @hadibq
    @hadibq 2 роки тому

    the array nature of countif is the unlocker here!! awesome Leila! Thanks!

  • @yuema1495
    @yuema1495 5 років тому

    So soothing to listen to your voice and learned some useful skills at the same time !!!

  • @kigoindonesia3195
    @kigoindonesia3195 4 роки тому +1

    Thanks laila, this is good solution for everyone still using the old version of excel.

  • @rudiklein
    @rudiklein 6 років тому

    I have no words for this. How did you ever figure that combination of functions, including the reversed countif, out. I take my hat of. And the best part is that this is excactly what I was looking for. From now on, first research stop: Leila!

    • @LeilaGharani
      @LeilaGharani  6 років тому

      I'm glad this is exactly what you were looking for! Thank you for your feedback and support. The knowledge I share and the solutions I find are a combination of watching, reading and learning from the other brilliant Excel online team members and also playing around and testing things out. There are so many interesting solutions out there - finding them and learning in the process is the fun part :)

  • @danielgarduno8067
    @danielgarduno8067 6 років тому

    Omg, you are awesome. I been search for a formula like yours for about 3 months. This formula is exactly what I needed. Thank you!

  • @meghasyam427
    @meghasyam427 6 років тому

    This is the most confusing topic so far and still you made it as simple as possible...Thank you so much Leila

  • @noaman1976
    @noaman1976 4 роки тому

    Before this video my excel sheet reached 30 MB ! Now it is only 2MB!! Thank you Leila.

  • @ismailismaili0071
    @ismailismaili0071 7 років тому +6

    It's OMG you really blow my mind the count if formula when you switch the rule of criteria as range wow i never thought of that thank you Ms. Leila

  • @Textory_1
    @Textory_1 Рік тому

    Thank you. it saved my day. Helped me in completing a project.👍

  • @FerrelFrequency
    @FerrelFrequency 3 роки тому

    WOW…This helped way more than the lookups. Big thanks.

  • @johannesmp3
    @johannesmp3 Рік тому

    Simply genius. Anything you don't know in Excel?

  • @JNguyenKnight
    @JNguyenKnight 7 років тому

    Very useful. I would have thought Excel would have something like this already built in, since it's likely to be needed quite often. But obviously they don't. So I'm glad to see you take this on. Thanks Leila. I'm definitely going to make use of this one.

    • @LeilaGharani
      @LeilaGharani  7 років тому

      Thanks for your comment. Yes - it would be great if the Excel team come up with a feature like this soon :)

  • @timbrykkk
    @timbrykkk 4 роки тому +1

    Leila, you got on my knees! :D

  • @RameshGau
    @RameshGau 4 роки тому

    thanks a lot for your videos for enhancing our excel skill.

  • @sachinrv1
    @sachinrv1 7 років тому

    Leila, This is probably the most complicated (one may call it wild) integrated function I have ever come across. But the way you explain; made it very easy. Mind blowing

    • @LeilaGharani
      @LeilaGharani  7 років тому

      True! It is quite complex. But I just did a video for the dependent drop down version of this which is probably slightly more complex -- I need to edit the video, should be out in a few weeks....

  • @ursraj27
    @ursraj27 7 років тому

    This is an ingenious way of using COUNTIF. Excellent tutorial.

    • @LeilaGharani
      @LeilaGharani  7 років тому

      Thanks Rajesh! Glad you like it.

  • @rsn29sep
    @rsn29sep 6 років тому

    Content is superb, shared with my colleagues, explained with ease

    • @LeilaGharani
      @LeilaGharani  6 років тому

      Thank you for your support and sharing the videos!

  • @GeertDelmulle
    @GeertDelmulle 6 років тому

    Impressive and super-smart way of tackling the problem! Love it.
    And you really are the perfect Index/Match teacher - your knowledge and application of these functions is really top-notch.
    Thank you for sharing...
    ...But I still wish for and I’m still counting the days until we get the new calc engine at work so that we can use dynamic arrays and the new functions to make this really easy to solve.

    • @LeilaGharani
      @LeilaGharani  6 років тому +1

      Thank you Geert! I can't wait either :)

  • @mariosh2
    @mariosh2 5 років тому +1

    This is the second time this video helps me out to solve a problem! I can't thank you enough!

  • @clarehumail
    @clarehumail 5 років тому

    I am real like your teaching, it is very clear and helpful for me. Thank you Leila!!! Btw, I come from Taiwan!!!

    • @LeilaGharani
      @LeilaGharani  5 років тому

      That's great. I'm glad you like the tutorials. Greetings to Taiwan!

  • @philipmcdonnell7168
    @philipmcdonnell7168 6 років тому +1

    Another great tutorial with explanations I’ve never seen anywhere else. I have data validations with excess blanks everywhere. Those are going to be so much neater now. 👍🏻🤓

    • @LeilaGharani
      @LeilaGharani  6 років тому +1

      Thank you Philip! Glad you like the tutorial & explanation :)

  • @sarishhendre726
    @sarishhendre726 3 роки тому

    Thank you so so so so much for the video. I was looking for a solution since days. Thank you so much!!

  • @irfanmansoori3060
    @irfanmansoori3060 3 роки тому

    Awesome Leila.. You are a genius..

  • @francisocaaki
    @francisocaaki 9 місяців тому

    Thanks Leila. A special thanks from Uganda

  • @m3lv1n19
    @m3lv1n19 7 років тому

    Happy New Year Leila
    I have just started a project and this was the first hurdle I was trying to overcome. Can't wait to try this.
    Excellent video as ever

    • @LeilaGharani
      @LeilaGharani  7 років тому

      That's great! Glad this helps. Happy new year to you too Melvin.

  • @jackychawla5422
    @jackychawla5422 7 років тому

    Mam ur concepts are out of this world ..new year starts with this magic....

    • @LeilaGharani
      @LeilaGharani  7 років тому

      Wow! Thanks Jacky for the very nice comment :)

  • @sideshowbobby71
    @sideshowbobby71 5 років тому +3

    I love how you went through your logic and thought process.

  • @houstonsam6163
    @houstonsam6163 7 років тому

    Very helpful. I frequently learn useful applications of worksheet functions from you, many thanks.

    • @LeilaGharani
      @LeilaGharani  7 років тому

      I'm happy to hear that Sam. Thanks for your comment.

  • @timosborn73
    @timosborn73 3 роки тому

    Thanks Leila, very useful & methodically explained.

  • @sujeetsamal
    @sujeetsamal 2 роки тому

    Many questions in one class...thank you mam..

  • @MrDanielduranc
    @MrDanielduranc 2 роки тому

    Brilliance, you are the best!! Love it

  • @praveenk1672
    @praveenk1672 4 роки тому

    Easily the best tutorial. Though I couldn’t understand on the first instance, I just simply followed your steps and achieved the result

  • @edwardlin2941
    @edwardlin2941 3 роки тому

    Nice formula, ❤️ your explanations!

  • @philalmeida1962
    @philalmeida1962 4 роки тому

    Your a lifesaver Leila! Thanks!

  • @leofiatlux01
    @leofiatlux01 Рік тому

    You are a life saver, Leila! Tks!

  • @kennethkretschmer1027
    @kennethkretschmer1027 6 років тому

    Thank you. Your channel has every answer I am looking for to finish setting up my accounting system. Eleven thumbs up.

    • @LeilaGharani
      @LeilaGharani  6 років тому

      I'm really happy to hear that! Thanks for the thumbs up :)

  • @Ani_Suv
    @Ani_Suv 3 роки тому

    El Magnifico....That was done so smooothtly..Thank you so much🤗

  • @justinmeyers7044
    @justinmeyers7044 5 років тому

    I used your formula. Nice video. I appreciate it.

  • @drsteele4749
    @drsteele4749 7 років тому

    Way to go Leila. Nice use of INDEX to avoid CSE.

    • @LeilaGharani
      @LeilaGharani  7 років тому

      Thanks. It's always fun to look for CSE free formula alternatives :)

  • @shakhobiddinnakiev1984
    @shakhobiddinnakiev1984 4 роки тому

    WOOOOOOOOOWWWWWWW!!!!!!!!! GREAAAAT JOB !!!!!!!!!!!!!!!!!! YOU SAVED MY LIFE )))))))))))

  • @rodrocdl
    @rodrocdl 3 роки тому

    It looked complicated the first time I watched it but on my second run it totally makes sense. Thank you Leila

  • @gauravatrey
    @gauravatrey 4 роки тому

    Greate way to extract unique items, thank you very much Leila for this video.

  • @SaddamKhan-jd2sj
    @SaddamKhan-jd2sj 3 роки тому

    This is the first time I had no clue what Leila was doing. I'm not familiar with Index and match. I learnt about the iferror. And my focus is now to learn index and match

  • @lilianadfcc
    @lilianadfcc 4 роки тому

    Love this video... great presentation and explanation. Congrats

  • @rajkathare123
    @rajkathare123 7 років тому

    Hello Mam,
    I like very much the way you explain each and everything in detail.

    • @LeilaGharani
      @LeilaGharani  7 років тому

      Thank you Raj! I'm happy to hear that.

  • @AndrewBennettScience
    @AndrewBennettScience 4 роки тому +1

    Countif ?* just changed my life. Thank you! 😁

  • @askulasaatwik8thc644
    @askulasaatwik8thc644 6 років тому

    Thanks for easy way of explaining these formulas.

    • @LeilaGharani
      @LeilaGharani  5 років тому

      I'm glad you find these easy to follow :)

  • @peterzika6535
    @peterzika6535 4 роки тому +1

    You do far the best thorough videos. Great presentation, explanation and really structural. I am amazed and grateful. Thanks

  • @engr.mithun7455
    @engr.mithun7455 4 роки тому

    Wow Tnxxx q Mam
    I am Frome Bangladesh.
    I am ur big Fan Mam.

  • @yatinpurohit
    @yatinpurohit 5 років тому

    Very useful take on alternative to Ctrl-Shift-Enter. Also, very well explained step-by-step.

  • @muhammadusmanraja8336
    @muhammadusmanraja8336 7 років тому

    You know what.... you are genius and exceptional person

    • @LeilaGharani
      @LeilaGharani  7 років тому +1

      Thank you Muhammad for the very kind comment. I am just someone who has fun with Excel :)

  • @harshababu8321
    @harshababu8321 4 роки тому +1

    Hi Leila,
    At the outset thank you for the wonderful video and above all your ideas. I simply admire your explanation of the formula. Simply superb!

  • @gurmeetsingh-cq6br
    @gurmeetsingh-cq6br 4 роки тому

    Thanks, I applied it in my office. Felt great thanks

  • @mynameisujjal
    @mynameisujjal 5 років тому +1

    U r just Genius mam...

  • @douglaszulu6281
    @douglaszulu6281 7 років тому

    Great video Leila, it helps me get a unique list without CSE.

  • @karthikb2296
    @karthikb2296 5 років тому

    I like the channel and your best explanation madam

    • @LeilaGharani
      @LeilaGharani  5 років тому

      I'm glad to hear that. It's great to have you here.

  • @doublehd159
    @doublehd159 4 роки тому

    I was having so much trouble understanding this concept but you helped me finally get it so thank you!!

  • @bcgalz
    @bcgalz 5 років тому

    Dear leila thanks for making videos

  • @know1squarter307
    @know1squarter307 7 років тому

    Genius,Saves CSE and the use of pivot tables....Great video.....

  • @johnborg6005
    @johnborg6005 7 років тому

    Great Trick Leila. I always used the match and Frequency to get a unique list with CSE. This was Great. :)

    • @LeilaGharani
      @LeilaGharani  7 років тому

      Thanks John. Match & frequency is great too.

  • @faresrabia
    @faresrabia 7 років тому

    Very thanks for your contribution Leila, good trips and tricks

    • @LeilaGharani
      @LeilaGharani  7 років тому

      Thanks Fares. Glad you like the tips and tricks.

  • @jamessekadde8167
    @jamessekadde8167 7 місяців тому

    So helpful 😊...🇺🇬

  • @jhamca10
    @jhamca10 7 років тому

    Happy New Year Leila. Thanks a lot for your valuable video.

    • @LeilaGharani
      @LeilaGharani  7 років тому

      Thank you and happy 2018 to you too :)

  • @abdesamadsammah6652
    @abdesamadsammah6652 3 роки тому

    Thanks a lot for sharing!
    You r an angel :)

  • @marwinreyes314
    @marwinreyes314 4 місяці тому

    Great job, I already tried this but it runs very slow when I tried to get the unique names on a thousands list of names. But, still a very good and useful tutorial. Keep it up.

  • @MKapitan
    @MKapitan 4 роки тому

    Thank you very much. It was exactly what I looked for.

  • @SUBRAMANIANM1958
    @SUBRAMANIANM1958 4 роки тому

    Hi Very simple and easy to follow for excel users. Great work. Keep up the knowledge sharing

  • @edtardaguila3599
    @edtardaguila3599 5 років тому

    converting to a non cse formula is a stunner for me, thanks a lot

  • @MrsCathT
    @MrsCathT 5 років тому

    Brilliant and so helpful! I’m a fan of all your videos! Thank you!

  • @alialtalalwah3027
    @alialtalalwah3027 4 роки тому

    Thanks .. today one skill got gained

  • @saurabhatre2158
    @saurabhatre2158 3 роки тому

    Thanks a lot , you helped me so much .