Excel Unique of Non-Adjacent Columns - Episode 2252

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

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

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

    Awesome Video!!!! Before Joe invented the word "Lifting", that old antique book termed it "Function Argument Array Operation" for a function argument that expects a single value but we give it more than a single operation. Amazing Array Formula, Mr Excel : )

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

    So that means if I want to FILTER products by rep Joey, and want to show both the columns, I can use: =FILTER(CHOOSE({1,2}, B2:B227, D2:D227), B2:B227="Joey") And if we want to show columns reordered then we can use CHOOSE({2,1}..... also!

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

    This seems to work as well : =UNIQUE(FILTER(A2:F227,(A1:F1=B1)+(A1:F1=D1)+(A1:F1=E1)))

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

      WOW!!!! On the 11th click of "Evaluate" in the Evaluate Formula dialog, my jaw dropped. That is an awesome trick. Can you send me an e-mail to pub at mrexcel dot com? I would love to hear the backstory on this formula. I just became your 500th subscriber.

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

    I thought this would work for a filter function but it only works putting together one column at a time ...if you try to choose({1,2},A1:B1000,D1:G1000) it doesn't work. What I'm trying to do is use filter to return non-contiguous columns. Any idea on how to do this?

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

    Yeah! It Is a great way to use CHOOSE function.

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

    WOW! That CHOOSE trick is awesome!
    An effective way to dynamically ‘concatenate’ arrays.
    Thank you sir.

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

      Thank you Geert Delmulle. I loved that tip from Joe McDaid!

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

    I am posting this issue here only because it relates to Dynamic Arrays and perhaps you have insight. When I us a date in the " to include" argument in FILTER (such a >=1/1/2015) I can get it to work only if I use the serial number of the date. Is this a bug, a feature or am I doing something wrong?

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

    How can one change in Excel lists of the same numbers but in different areas on sheet? Example 1 2 3 4 5. Now if I wanted all the 1's to change if I entered 6 and 2's to 10 and so on in place of 1, 2, 3, 4 or 5 what formula would I use rather than going through the entire page changing all of them one by one or using ctrl H?

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

    Thank you for this! I need a drop down from two non adjacent ranges and even though I had figured out that {} had to be involved, I couldn't come up with a formula that worked. Your formula is fantastic!
    But when I tried to use O2# as the reference for my data validation, I got an error since data validation wants either one column or one row. Turns out you need to first set up your formual so that it only gives you only one column, then create the data validation. If you then expand the range with your formula, data validation works.

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

    Wish i could click that Like Button a billion more times. BIll you are the "BEST"!!!!

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

    Very clever.

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

    Just a note, on an old solution; you could concatenate the values of interest (either with the function, or with &); once done then remove duplicates, just as you show earlier in the video

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

    Amazing!!! Thanks Mr Excel.

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

    In the video, you are just typing in cell O2 for the choose/unique formula. Yet, the results populate for all values of B2:B227 and D2:d227 that make the formula true. What did I miss? Also, when I type in the unique function, I get a name error

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

      Welcome to the whole new world of Dynamic Arrays. One formula returns many results. Start here: ruclips.net/video/ZmLu0vMRrGs/видео.html

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

    Hi Mr. Excel.. dang that's cool! Thanks for the clever trick and also for offering your new Straight to the Point book for free download.. very generous and appreciated! Thumbs up!

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

      Thank you Wayne Edmondson. I am glad to hear the video was helpful.

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

    I assume (can not try it since I do not yet have theses Dynamic arrays from my insider) that you could similarly use CHOOSE to simply reorder the columns in the data set (for example CHOOSE {1,2,etc},D2:D227, B2:B227, etc))

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

      Yes Richard Hay. That would work!

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

    Thank you for this film :)

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

    Pretty cool formula Bill! :)

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

    We could have also used classic pivot and selecting three columns
    Then in format selected repeat data labels
    In case formula gets complicated

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

      Thank you Ravi Koushik. In many cases we are creating reports for people who can not create pivot tables.