Lookup Manager Name in Column Headers to Create Report: Excel Magic Trick 1866

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

КОМЕНТАРІ • 90

  • @Ticky66MN
    @Ticky66MN 3 місяці тому +2

    A minute in you show tocol that has made my day, week and on. I have been looking for this solution for a long time. THANK YOU Mike! So dang simple and so valuable.

    • @excelisfun
      @excelisfun  3 місяці тому

      TOCAL is a new function. We had crazy ways to do it before, but now : ) : ) : ) : ) M 365 Rules!!!

  • @karolinab9749
    @karolinab9749 3 місяці тому +1

    I enjoy your videos - they are beautifully made and you show us places we would probably never explore by ourselves! The focus is on nature and hospitality of the locals, not on promoting restaurants and accommodation. Kudos!❤

  • @nsanch0181
    @nsanch0181 3 місяці тому +1

    Thank you Mike for the great formula and power query example. I just ordered your book. Amazon says estimated delivery October 7th. I have a whole bookshelf of excel resources just like behind you, and my favorite of all of them are your books!

    • @excelisfun
      @excelisfun  3 місяці тому

      Thanks for liking my books!! I love it that you have an Excel Library too! How many books do you have?

  • @HusseinKorish
    @HusseinKorish 3 місяці тому +1

    This is amazing Mike ... Thanks

    • @excelisfun
      @excelisfun  3 місяці тому

      You are welcome for the PQ and Worksheet fun !!!

  • @Vandalfoe
    @Vandalfoe 3 місяці тому +3

    Hi Mike! Thanks for showing multiple ways of solving problems like this. It's such a great way to add to one's toolbox. 😊
    You're our Excel MVP for life! 💐

    • @excelisfun
      @excelisfun  3 місяці тому

      You are welcome for the multiple methods: it is always more fun that way!! Also, thanks for your kind words : )

  • @ricos1497
    @ricos1497 3 місяці тому +2

    Great video Mike. Very well explained on the PQ function. An idea for a video would be to create a custom lambda function for unpivot. For the Excel approach, I always try and think in terms of how PQ would approach the problem and replicate that with reusable functions. That way the next time I see data laid out this way, I immediately know I want to unpivot it, and I have a function for that, rather than approaching it like it's a new problem each time.

    • @excelisfun
      @excelisfun  3 місяці тому +1

      That is a superior idea. LAMBDA to the rescue!!!!!

  • @GiovanniGirelli-w3z
    @GiovanniGirelli-w3z 2 місяці тому +1

    Awesome as always 🙌🏼

    • @excelisfun
      @excelisfun  2 місяці тому

      Glad you like it!!!

    • @GiovanniGirelli-w3z
      @GiovanniGirelli-w3z 2 місяці тому

      @@excelisfun Could you please do some more in-depth videos on MAP and LAMBDA? Would be great! Thanks.

    • @excelisfun
      @excelisfun  2 місяці тому

      @@GiovanniGirelli-w3z I have already create the most definitive video on the internet about LAMBDA. Here it is:
      ua-cam.com/video/OxV-F0vXj8I/v-deo.html

  • @IvanCortinas_ES
    @IvanCortinas_ES 3 місяці тому +1

    Super explanation. It's complicated to understand what each is and what "_" is. Thank you Mike.

    • @excelisfun
      @excelisfun  3 місяці тому +1

      It is, but once you get it - it is like magic. My new book goes into full detail, but in general: the keyword each means "I want to do something in each row; and underscore means "hey, get everything in the row".

  • @felixdelarosa9266
    @felixdelarosa9266 3 місяці тому +1

    Hi Mike you are the best. Congratulations

    • @excelisfun
      @excelisfun  3 місяці тому

      I am glad that my videos help : ) : )

  • @kiwikiow
    @kiwikiow 3 місяці тому +1

    Both methods are cool. Thank you for teaching us the awesome tricks :)

    • @excelisfun
      @excelisfun  3 місяці тому +1

      You are welcome for the tricks, my ghostly friend : ) : )

  • @chrism9037
    @chrism9037 3 місяці тому +2

    Excellent Mike!

    • @excelisfun
      @excelisfun  3 місяці тому

      Thanks for the EXCELlent support, Chris M!!!!

  • @deepankermishra56
    @deepankermishra56 3 місяці тому +2

    Thanks for educating us with the excel tricks🙏🏻🥰

    • @excelisfun
      @excelisfun  3 місяці тому +1

      You are welcome!!! Go Team!!!

  • @excel_along_the_way
    @excel_along_the_way 3 місяці тому +1

    Thank you Mike, very neat trick and well explained.

    • @excelisfun
      @excelisfun  3 місяці тому

      Glad you like the trick and explanation!!!

  • @bonnehumeur-k9w
    @bonnehumeur-k9w 3 місяці тому +1

    You are a genius Sir! 👏👏

    • @excelisfun
      @excelisfun  2 місяці тому

      Glad you like the video!!!

  • @Tuhin380
    @Tuhin380 3 місяці тому +1

    Great Mike 👍👍
    PQ was the best!

    • @excelisfun
      @excelisfun  3 місяці тому

      PQ is easy : ) : ) : ) : )

  • @Luciano_mp
    @Luciano_mp 3 місяці тому +1

    Very good lesson, Mike! Thanks.

    • @excelisfun
      @excelisfun  3 місяці тому

      You are welcome, Luciano!!!!

  • @MalinaC
    @MalinaC 2 місяці тому +1

    I LOVE both PQ and formulas solutions ❤! Thanks for the video! 👍

    • @excelisfun
      @excelisfun  2 місяці тому

      You are welcome, Malina!!!

  • @vaibhavgond
    @vaibhavgond 3 місяці тому +1

    Another masterpiece. Thanks Mike!

    • @excelisfun
      @excelisfun  3 місяці тому

      You are welcome for the Worksheet and PQ MP : ) : )

  • @Ratnakumarwrites
    @Ratnakumarwrites 3 місяці тому +1

    With you onscreen... its new and fresh...

    • @excelisfun
      @excelisfun  3 місяці тому

      Yes, being on screen is something that I have not done since way back in the early days of UA-cam. Many people said that they link it, so for short videos I hope to do it a lot.

    • @Ratnakumarwrites
      @Ratnakumarwrites 3 місяці тому

      @@excelisfun Its good to see you on screen from whom we are learning...

  • @markpodesta4605
    @markpodesta4605 3 місяці тому +1

    Thank you Mike. More Excel magic!

    • @excelisfun
      @excelisfun  3 місяці тому +1

      The magic will keep flowing!!!!!

  • @sseemm
    @sseemm 3 місяці тому +1

    Mr Mike , you're the best

    • @excelisfun
      @excelisfun  3 місяці тому

      Thanks for the kind words : ) Go Team!!!!

  • @kebincui
    @kebincui 3 місяці тому +1

    Excellent video. Thanks Mike for your hard work👍

  • @mattschoular8844
    @mattschoular8844 3 місяці тому +1

    PQ for the win, in my opinion. Thanks Mike...

    • @excelisfun
      @excelisfun  3 місяці тому

      I appreciate the opinion, long time Teammate, Matt!!!!

  • @nadermounir8228
    @nadermounir8228 2 місяці тому +1

    Thank you Mike for this great video. I would prefer worksheet formula i find it easier to

    • @excelisfun
      @excelisfun  2 місяці тому +1

      You are welcome for the formula fun, Nader!!!!

  • @AlejandraBarron-dn1be
    @AlejandraBarron-dn1be 2 місяці тому +1

    THANKS !!

    • @excelisfun
      @excelisfun  2 місяці тому

      You are welcome, Alejandra!!!

  • @Hello-bn2yc
    @Hello-bn2yc 3 місяці тому +1

    Thank you Mike, fantastic tip. Also bought the kindle version of your latest book. Best wishes (Hamy72)

    • @excelisfun
      @excelisfun  3 місяці тому

      You are welcome, longtime Teammate Hamy72 : ) : ) How is the book? How is learning M Code?

    • @Hello-bn2yc
      @Hello-bn2yc 3 місяці тому +1

      @excelisfun content is just great as you would come to expect from Mike... but I am waiting for the release of the hardcopy... bit old fashioned:(

    • @excelisfun
      @excelisfun  3 місяці тому +1

      @@Hello-bn2yc I am 100% with you: I read books, not screens : )

    • @excelisfun
      @excelisfun  3 місяці тому +1

      @@Hello-bn2yc mrexcel.com had hard cover books, but they are only get shipped in USA. Amazon ships any where. However, if you e-mail the publisher, he may be able to arrange a hard book before Oct 1: Bill Jelen at: billjelen@gmail.com

    • @Hello-bn2yc
      @Hello-bn2yc 3 місяці тому +1

      @excelisfun thanks Mike. But I am in the Middle East.. will wait for it release here by Amazon. Works faster for me.

  • @jerrydellasala7643
    @jerrydellasala7643 3 місяці тому

    You made me a fan of single cell formula solutions, but I haven't mastered them yet! What about a single cell solution for the Formula version - including the headers?

    • @excelisfun
      @excelisfun  3 місяці тому

      Here is one way:
      =LET(u,UNIQUE(SORT(TOCOL(ME))),VSTACK({"Employees","Managers"},HSTACK(u,MAP(u,LAMBDA(x,TEXTJOIN(", ",,IF(ME=x,ME[#Headers],"")))))))

  • @mrmp1508
    @mrmp1508 3 місяці тому +1

    Excel wins here

    • @excelisfun
      @excelisfun  3 місяці тому

      Which Excel? Worksheet formulas or Power Query lol

  • @Al-Ahdal
    @Al-Ahdal 2 місяці тому

    Mike please provide a good explanation on first using FILTER function and on that FILTER function as it will return a table and on that table using SUMIFS function, please advise on that.

  • @johank4361
    @johank4361 3 місяці тому +1

    Great

    • @excelisfun
      @excelisfun  3 місяці тому

      Glad it is great for you : ) : )

  • @som8760-y7f
    @som8760-y7f 3 місяці тому +1

    Make videos on the "python in excel" feature also.

    • @excelisfun
      @excelisfun  3 місяці тому

      I am not so good with python, so I can't make videos yet...

  • @som8760-y7f
    @som8760-y7f 2 місяці тому +1

    Do you use office 365 beta channel or current channel?

  • @weav8060
    @weav8060 2 місяці тому +1

    Provided Amazon and Mr Excel links are broken

    • @excelisfun
      @excelisfun  2 місяці тому

      Thank you, thank you, thank you for helping me to edit my links : )
      I fixed them.

  • @GeertDelmulle
    @GeertDelmulle 3 місяці тому +2

    Mike, did you use different data between formulas and PQ, because the output table looks different.
    Oh wait, the formula solution does not appear to be sorted.

    • @excelisfun
      @excelisfun  3 місяці тому +1

      Right... I did mean to sort it : )
      Go Team!!!!
      Thanks, Editor In Chief : )

  • @spilledgraphics
    @spilledgraphics 3 місяці тому +2

    Second Comment? 😁🫡 !!

    • @excelisfun
      @excelisfun  3 місяці тому

      I knew you were in second place, so I made the trophy twice as big as the first place, my rad skate-BMX-Punk Friend : ) : )

  • @som8760-y7f
    @som8760-y7f 2 місяці тому

    Any function to get numbers to words apart from vba.

  • @Faiz25678
    @Faiz25678 2 місяці тому

    Sir you have uploaded 3.7k video but which of them are very useful in the industry like retail,banking,finance,and business,?

    • @excelisfun
      @excelisfun  2 місяці тому

      You keep asking about degrees. This channel does not assign degrees. Here is the finance class: ua-cam.com/play/PL90E1F26C7B85E78F.html
      Here is statistics class: ua-cam.com/play/PLrRPvpgDmw0m3oqpp1XcPuaxyM4Bpi0dN.html
      Also, please go to home page and watch intro video which explains all of this: www.youtube.com/@excelisfun
      Also, are you subscribed? If yes, you should have been to home page and seen this video.

  • @pistonssssss
    @pistonssssss 2 місяці тому

    Is such formula achievable with Excel 2013?

  • @johank4361
    @johank4361 3 місяці тому

    If you would give solution for food count between 2 dates
    Data is like this type
    (Data in columns)
    Headers1-Check in date
    Header2-Check in food
    Header3-Check out date
    Header4-Check out food
    Header5-Total Breakfasts
    Header6-Total Lunches
    Header7-Total Diners
    02-09-2024 (Header1)
    Breakfast (Header2)
    04-09-2024 (Header3)
    Diner (Header4)
    Results should come in separate columns
    "Breakfast count - 3nos
    "Lunch count-3nos
    " Diner count-3nos
    If the person check out in 04/09/2024 Lunch
    Then result should be for Diners total count 2 nos
    If check out in 04/09/2024 Breakfast
    then result should be 2 lunches
    Like wise fluctuation in food
    Result will give a different regardless food changes are in food check in column or food check out column.
    Thanks

    • @excelisfun
      @excelisfun  3 місяці тому

      I am sorry, but I do not follow. This is normal because I am slow and dyslexic. However, I can always figure out a solution if I can see the logic. Someone else may be able to read what you wrote and figure it out, but I got lost after:
      Results should come in separate columns
      "Breakfast count - 3nos
      "Lunch count-3nos
      " Diner count-3nos
      If the person check out in 04/09/2024 Lunch
      Then result should be for Diners total count 2 nos
      If check out in 04/09/2024 Breakfast
      then result should be 2 lunches
      Like wise fluctuation in food
      Result will give a different regardless food changes are in food check in column or food check out column.

    • @ricos1497
      @ricos1497 3 місяці тому

      johank4361, I think what you're asking for is a formula, rather than a table of any sort. I think that rather than naming your meals, numbering them might be easier (1=breakfast, 2=lunch, 3=dinner). Then a formula for breakfast is simply:
      = (checkoutDate-checkinDate) - (checkinFood>1) - (checkoutFood"1;2;3") - (checkoutFood1), and takes off another meal if the checkout meal is before breakfast (

  • @weav8060
    @weav8060 2 місяці тому +1

    Thanks!

    • @excelisfun
      @excelisfun  2 місяці тому

      Thank you very much for your awesome donation : ) : ) : )