Excel Magic Trick 1314: Array Formula To Create Sorted Unique List with Mixed Data

Поділитися
Вставка
  • Опубліковано 18 лис 2024

КОМЕНТАРІ • 69

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

    Mike!!!! Dude, I don’t really have a use for that formula but as always you have educated me! I find myself watching your videos just for the knowledge. You always explain how the formula works, thanks again!!!

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

      You are welcome for the explanation of the Excel formulas!!!! It is always MUCH more fun with an explanation of the hows and whys : ) : )

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

    Woooow! MODE.MULT trick - absolutely awesome!!

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

      Yes, this is a wild, wild formula. Too bad I did not just use Power Query : )

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

      Good to know both ways!

  • @krn14242
    @krn14242 8 років тому

    Wow. that is one long formula. EXCELlent explanation Mike.

    • @excelisfun
      @excelisfun  8 років тому

      Glad you liked it, WRH!!!

  • @svaliveti
    @svaliveti 8 років тому +1

    nice and clear explanation. thanks mike and lori m !!!

    • @excelisfun
      @excelisfun  8 років тому +1

      You are welcome! Thanks to lori m for posting!

  • @lazalazarevic6192
    @lazalazarevic6192 8 років тому

    This formula makes my head spin :)
    Awesome XL gymnastics

    • @excelisfun
      @excelisfun  8 років тому

      Glad you like the XL gymnastics!!!

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

    =Sort(Unique(List is very convenient and fast, but somehow I cannot let go of beauties like this !!!

  • @BillSzysz1
    @BillSzysz1 8 років тому

    Masterpiece !!!
    Thanks Mike and lori m !!!

  • @pankaj007arbia
    @pankaj007arbia 8 років тому +1

    Dear Sir, I am your great follower and really appreciate your explaining style. I humbly request you to kindly upload a full video for "Power query 2016" as I found it totaly different than 2015. kindly help sir.

    • @excelisfun
      @excelisfun  8 років тому +1

      Try my Excel Highline Class Playlist:
      people.highline.edu/mgirvin/AllClasses/218_2016/218Excel2016.htm
      Videos 3, 20, 21, 22.

    • @pankaj007arbia
      @pankaj007arbia 8 років тому +1

      Thanks a lot Sir

  • @SaeedAttaky
    @SaeedAttaky 8 років тому

    thank you from egypt ✌

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

    Amazing trick 👌

  • @ExcelxlNl
    @ExcelxlNl 8 років тому

    Thanks a lot for this awesome formula.

    • @excelisfun
      @excelisfun  8 років тому

      Thanks to lori m and our amazing Online Excel team!!!

  • @giorgitsomaia9832
    @giorgitsomaia9832 8 років тому

    very very very helpful Video, thank you for your hard work :) I got one problem may be you will help somehow, when I updated MS to 2016 there are now new formulas :( like =TEXTJOIN, any ideas how to download them?

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

    Thanks man really good your videos!!

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

    Why do we use index twice ? I tried using it once without the row and it worked

  • @darrylangelojaftha7116
    @darrylangelojaftha7116 8 років тому

    Good day, your video's has been very helpful so far, but now I'm stuck, I have 2 sheet, the fist has all the cashiers names and amount deposited at the end of day, it also the A.N.D(Amounts Not Deposited) and Surplus. Now my second sheet is the A.N.D/Surplus register. My question, Is there a formula to auto populate the second sheet based only if there is cashiers that is short of surplus (the name only) WITHOUT using a drop down list? Thanks in advance

    • @excelisfun
      @excelisfun  8 років тому

      I am not sure. Try posting question to: mrexcel.com/forum for back and firth dialog to get an Excel solution

  • @olakubakare212
    @olakubakare212 8 років тому

    Hi, i went through your playlist. As a beginner which video do i start with cos i'm just lost

    • @excelisfun
      @excelisfun  8 років тому

      Excel Basics Playlist:
      ua-cam.com/play/PL3FBEE51974F03CCF.html
      then
      Full Excel Class:
      Excel 2016:
      ua-cam.com/play/PLrRPvpgDmw0lcTfXZV1AYEkeslJJcWNKw.html
      or
      Excel 2013:
      ua-cam.com/play/PLrRPvpgDmw0nh4BBxqjcsnbB4ME4JjzfJ.html
      or
      Excel 2010:
      ua-cam.com/play/PL706DCCD130378289.html

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

    Good day, please give a hint how to change this formula to make it lookup duplicates only (not unique values) in sorted order?

  • @mohamedchakroun4973
    @mohamedchakroun4973 8 років тому

    That is absolutely funny and crazy I can t believe that excel can make these queries without VBA

    • @excelisfun
      @excelisfun  8 років тому +1

      Funny and Crazy is good!! : )

  • @dericcheung8904
    @dericcheung8904 8 років тому

    To: Mike , I have checked the n(if(1 formula :is it first introduced in Chinese forum and found by the Chinese lecture Piny in 2011 ? would you confirm that the n(if(1 could be worked in excel 2003 & 2007 ?

    • @excelisfun
      @excelisfun  8 років тому

      I cannot confirm that "is it first introduced in Chinese forum and found by the Chinese lecture Piny in 2011 ?" As I said in the video, a UA-camr reported that it was true. I heard it second hand, I did not see it myself and therefore I cannot confirm it.
      n(if(1 should work in any version, but I have not try it in all versions. Bill Szysz tried in in 2010 and I tried it in Excel 2013 and 2016 and it worked.

    • @excelisfun
      @excelisfun  8 років тому

      LoriM from UA-cam reported it as true. Just as I said in this video.

    • @dericcheung8904
      @dericcheung8904 8 років тому

      +ExcelIsFun thanks for reply. it is because I am vey interesting in the formula "index" plus "n(if(1" to increase the power of index function

    • @dericcheung8904
      @dericcheung8904 8 років тому

      +ExcelIsFun I have checked that "offset" plus "n(if(1" can increase the power of "offset". Would you introduce more offset videos in future together with n(if(1 ?

  • @kartickchakraborty7948
    @kartickchakraborty7948 8 років тому

    Dear Respected Sir, I earnestly request you to upload a video on "How to run a macro in a protected sheet without any vba code?" I need it very much........ Please Sir.....

  • @sherifazmy3510
    @sherifazmy3510 8 років тому

    Dear Sir, my question is not related to this video, I need your help to advise me to choose from all of these videos what is appropriate for intermediate stage. Thanking you in advance

  • @WhyPayMoreOnline
    @WhyPayMoreOnline 8 років тому

    Hi, how to formula a excel.
    exp: when i type A001 in cell A1, it will show cell E5 Data.
    when i type A002 in cell A2, it will show cell E10 Data.
    Hope you can help me.
    Thank you.

    • @excelisfun
      @excelisfun  8 років тому

      I am not sure. Try posting question to: mrexcel.com/forum

  • @samrendrapandey2250
    @samrendrapandey2250 8 років тому

    HI!
    I am trying to create range with this method.Using Match function i get the value '2" but the whole result is not converting into range.
    =sheet!B&(Match(value,array,0):B29 = SHEET!B2:B29
    Please suggest

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

    Why couldn’t we use Small instead of Mode mult?

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

    instead of row(data)-row(header), just do rows(data)

  • @kartickchakraborty7948
    @kartickchakraborty7948 8 років тому

    Sir, Do you know someone who can do it (run a macro in protected sheet)
    without any vba code. Please tell him. I need it very much. I want to
    make a project which is password protected. So I need it very much sir.

  • @FRANKWHITE1996
    @FRANKWHITE1996 8 років тому

    this is crazy :)

    • @excelisfun
      @excelisfun  8 років тому

      Yes, but hopefully it is Crazy Fun!!!

    • @FRANKWHITE1996
      @FRANKWHITE1996 8 років тому

      this is crazy amazing fun! :D

  • @Sal_A
    @Sal_A 8 років тому

    {0,0} the strangest construction for exact match I have seen. Pretty scary....

    • @excelisfun
      @excelisfun  8 років тому

      I totally agree. Two points: 1) The MATCH, {00}, IFNA, and MODE.MULT to reduce the resultant array of relative positions and errors down to just a resultant array of relative positions is quite amazing.... 2) It is the most unusual Function Argument Array Operation I have ever seen... And actually, the final point is that after more than 30 years, we all still keep learning really new and amazing ways to use Excel!!!

    • @excelisfun
      @excelisfun  8 років тому

      You meant "Scary Good", right?

    • @Sal_A
      @Sal_A 8 років тому

      Absolutely, just makes you wonder how much recondite information exists when we test the powers of Excel.

    • @excelisfun
      @excelisfun  8 років тому

      Yes, maybe so much recondite information/techniques exists because there are so many permutations of mixing all the Excel features/functions (and the underlying code that those of us outside Microsoft do not have access to)!! This is why we all have so much fun every day with Excel! So many new and wonderful things to discover and learn! It is great to be on such an amazing Online Excel team!!! Go Team!!!

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

    Hi Mike why not use this: ROW(Data)-MIN(ROW(Data))+1 instead ROW(Data)-ROW($A$23)

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

      My rule is this:
      If I am not 100% sure that the data is in a Proper Data Set with Field Names, use: ROW(Data)-MIN(ROW(Data))+1 or ROW(Data)-ROW($A$23) +1
      But if the data is in a Proper Data Set, then we look at Field Name and use: ROW(Data)-ROW($A$23)
      I don't think it is necessary to use MIN and ROW because then you have to have Excel Calculation Engine do two calculations, two functions. What is your reasoning for MIN and ROW?

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

      ​@@excelisfun You're right, i watched your EMT videos, you mostly used ROW(Data)-MIN(ROW(Data))+1 method, I wondered why this is not the case here.

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

      @@pedjanbgd4221 I do not think i have ever used ROW(Data)-MIN(ROW(Data))+1, I always use ROW(Data)-ROW(TopCell)+1 or ROW(Data)-Row(FieldName)

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

      ​@@excelisfun My mistake, I meant this method ROW(Data)-ROW(TopCell)+1 - (My favorite)

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

    This is really terrific stuff! Wow, way to go LoriM and Mike Gervin. The algorithm already has a use: see here www.mrexcel.com/forum/excel-questions/959397-excel-formula-return-ordered-list-unique-values-criteria.html#post4608370

    • @excelisfun
      @excelisfun  8 років тому

      Awesome!!! That is why we hang out on our awesome Online Excel Team!!!! Go Team!

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

    3:00

  • @jennycheung4530
    @jennycheung4530 8 років тому

    Lemon tree

    • @excelisfun
      @excelisfun  8 років тому

      What do you mean by "Lemon Tree"?

  • @siddeeqmerchant7683
    @siddeeqmerchant7683 8 років тому

    hey mike,
    with your help i myself had created a data extraction formula which can substitute advance filters just wanted to share it with you, so can you give me your email id