Power Query - Combine rows into a single cell | Change data to readable format | Excel Off The Grid

Поділитися
Вставка
  • Опубліковано 5 сер 2024
  • ★ Want to automate Excel? Check out our training academy ★
    exceloffthegrid.com/academy
    ★ Download the example file:★
    exceloffthegrid.com/power-que...
    ★ About this video ★
    This video teaches you how to use Power Query to combine values in rows into a single cell.
    ★ Read the full blog post ★
    exceloffthegrid.com/power-que...
    ★ Related videos ★
    Power Query - Split a cell into rows
    • Power Query - Split a ...
    ✉ Subscribe & get my 100 Excel VBA Macros ebook ★
    exceloffthegrid.com/
    ★ Where to find Excel Off The Grid ★
    Blog: exceloffthegrid.com
    Twitter: / exceloffthegrid
    #PowerQuery #MsExcel #ExcelOffTheGrid

КОМЕНТАРІ • 219

  • @AlvinRyellPrada
    @AlvinRyellPrada 3 роки тому +11

    OMG THIS IS EXACTLY WHAT I NEED!! you are very straight to the point without any unnecessary remarks and I literally get what I want after following your instructions first time! thanks for making the complex simple for me :)

  • @user-yq3ib7nr2e
    @user-yq3ib7nr2e 5 місяців тому +1

    May almighty Allah Bless You. I have been trying to solve this for three consecutive days now. Thank you so much.

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

    I agree with Alvin! This saved me countless hours. Very good video.

  • @carolinelackey6963
    @carolinelackey6963 2 роки тому +3

    I've searched and found other ways of doing this, but your approach and delivery was super-simple. Thanks so much for this very useful video.

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

      There are many ways to achieve the same result in Excel, so I'm glad you found this method useful. 👍

  • @miller2640
    @miller2640 2 роки тому +1

    Well done, Mark!

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

    Saved my precious time..God bless you...
    You don't have an idea how much of a value this video is in my workplace.

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

    EXACTLY WHAT I NEED!!
    Thanks

  • @brockstonebrink9312
    @brockstonebrink9312 2 роки тому +1

    Very nice! This is much better than grouping all rows then extracting the list. Thank you

  • @thrishithravi1976
    @thrishithravi1976 2 роки тому +1

    Awesome, short and crisp! exactly what I needed

  • @eshmeets
    @eshmeets 2 роки тому +1

    You were such a savior, I was trying exactly same thing for last few days. Thanks a lot!!!

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

    I've been searching to do this for weeks. Thanks a lot!!!!!!!!!!!!!!!!!!!!!

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

    Have been trying to achieve this for the past hour and couldn't get it to work until I came across this video. Works perfectly! Thanks for sharing.

  • @user-zq3tn9st5k
    @user-zq3tn9st5k 6 місяців тому

    Thank you. Brilliant real life application

  • @servespirit1991
    @servespirit1991 13 днів тому

    Worked perfectly. Thank you :3

  • @traffichazard
    @traffichazard Рік тому +1

    A concise explanation of exactly what I needed - very helpful! 🙂

  • @wayneedmondson1065
    @wayneedmondson1065 3 роки тому +2

    Hi Mark. Awesome example! Thanks for sharing how to do this.. will come in handy in the future :)) Thumbs up!!

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

    You are my savior. Your method is simple but very powerful.

  • @jhntravel
    @jhntravel Рік тому +1

    Amazing good. It took me hours untill I spotted your youtube post. Thank you for posting. Absolutely SPOT ON ! In Dutch: Combineer regels in een enkele cel -> gebruik "Groeperen op"

  • @TheBayBeeTJ01
    @TheBayBeeTJ01 2 роки тому +1

    Exactly what I needed! Thank you very much!

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

    Thanks so much, this really help me a lots. Best

  • @smeems7320
    @smeems7320 Рік тому +1

    This is brilliant! Thank you so much for posting this

  • @alib4859
    @alib4859 Рік тому +2

    Thank you so much 🙏 this is EXACTLY what i needed in my current job i’m so happy i learned something valuable …i couldnt find the solution anywhere on the internet i just found your video by coincidence i subscribe !

  • @pharmacyholland3133
    @pharmacyholland3133 2 роки тому +1

    Super! What was I'm searching for. Thanks a lot.

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

      Great news - I’m glad you could put it to good use.

  • @garyjones6397
    @garyjones6397 Рік тому +1

    Superbly clear explanation. Just what I was looking for.

  • @bartomiejzab6636
    @bartomiejzab6636 2 роки тому +1

    Thanks man!

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

    Great video with an excellent sollution!! I love your technique for combining text using the group by feature. Thanks for sharing.

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

    Excellent, thanks from Brazil!!

  • @kirinde
    @kirinde 2 роки тому +1

    Holy shit dude this is freaking awesome. You are a lifesaver. You've got yourself a subscriber over here. THANKS SO MUCH. Short and sweet directly to the point. LOVE IT!!

  • @mrkzmusic
    @mrkzmusic Рік тому +1

    Brillaint!

  • @natiasurmava3438
    @natiasurmava3438 Рік тому +1

    Thank you for this video! it was a tremendous help and exactly what I needed. Would be awesome if you will make more videos using Power Query.

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

      We’ve got lots of Power Query content on our channel, it’s out main focus. So make sure you check it out.

  • @dennismoreno2808
    @dennismoreno2808 Рік тому +1

    Brilliant. Thank you!

  • @roguenealer
    @roguenealer 2 роки тому +1

    I want to give you money! You are a life saver!

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  2 роки тому +1

      And I'll happy take your money 😀
      I'm glad it helped.

  • @aaronorelup4024
    @aaronorelup4024 2 роки тому +1

    Awesome, this was super helpful!

  • @peterpferdproductions1043
    @peterpferdproductions1043 2 роки тому +1

    Brilliant! Thank you very much!😀

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

    Awesome excellent method and presentation thanks so much!!!!

  • @PeratchThitarom
    @PeratchThitarom 18 днів тому

    Thank you so much

  • @jamesharper2980
    @jamesharper2980 Рік тому +1

    Very helpful for Power BI manipulations as well!

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

    Hi Mark, thank you this is super. I have subscribed to your channel.

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

      Thanks Venkata - I appreciate your support 😀

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

    Thank you! Very helpful!

  • @mjones53
    @mjones53 2 роки тому +1

    Thank you very much!

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

    this is what i've been looking for, thankyou very much sir

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

    Amazing! Thanks!

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

    Wow.... It's magic & thanks for sharing. Eager for more 😇

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

      It is all about knowing the right tricks, so maybe it is magic. 😀

  • @kitty1977
    @kitty1977 3 роки тому +2

    What you just illustrated is power query pivot table basically. So cool.

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

      Yes, you could think of it that way. Thanks :-)

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

    Awesome solution!

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

    Thank you so much for your help

  • @louism.4980
    @louism.4980 Рік тому +1

    Thank you so much! :)

  • @StalinSergey
    @StalinSergey Рік тому +1

    Thank you!!!

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

    Was trying to do this in a Power BI transform... this is exactly what I needed. Thank you very much!!

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

      That the great thing about Power Query and Power Pivot, while not exactly the same, 99.9% works on both Excel and Power BI.

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

      @@ExcelOffTheGrid You should start a Power BI (M) channel 😁

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

      @@whyskyd Maybe a Power BI channel is one for the future. I’m not too bad with M and DAX, but the visuals always confuse me. 😀

  • @clarealexander7802
    @clarealexander7802 Рік тому +1

    Fantastic - great solution

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

      Thanks - it’s a pretty nice solution once it’s set up. 👍

  • @CarlosJimenez-pb6dq
    @CarlosJimenez-pb6dq 2 роки тому +1

    Wow thanks a lot!!! Very useful!!

  • @austinscott2007
    @austinscott2007 11 місяців тому +1

    Nice one!

  • @thiagomenezes6968
    @thiagomenezes6968 Рік тому +1

    excellent 👍👍

  • @behzadghah
    @behzadghah 11 місяців тому +1

    It was fantastic. Thank you

  • @qungu7251
    @qungu7251 2 роки тому +1

    That's the easiest solution, thank you!

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

    Great... Effective thing learnt today on excel..

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

    Fantastic, thank you

  • @michelledextre7976
    @michelledextre7976 2 роки тому +1

    Thank you so much! 💜💜

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

    Excellent video and content

  • @JHallo182
    @JHallo182 2 роки тому +1

    Thank you.

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

    The best thing I learned today

  • @paulskelton8799
    @paulskelton8799 Рік тому +1

    Holy smoke.... I've been looking for this for hours due to issues I'm experiencing pulling data from an old MS Access Db within which some muppet has created LOOKUP fields in a table. Thanks so much!

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

    thank you very much👍🏻👍🏻

  • @umesh2403
    @umesh2403 5 місяців тому +1

    Man you saved my day big time

  • @engahmedelbendary1566
    @engahmedelbendary1566 2 роки тому +1

    Realy fantastic

  • @user-vz5dx2nz1v
    @user-vz5dx2nz1v 2 роки тому +1

    私がやりたかったことはコレです!
    英語は分かりませんが、とても理解しました。ありがとうございます。

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

      Even though you don’t understand English, I’m glad you were able to follow the video 😀

  • @HatecraftPaladin
    @HatecraftPaladin 2 роки тому +1

    Nice, solved a problem for me :)

  • @ashishshiriskar123
    @ashishshiriskar123 2 роки тому +1

    Superb Sir 👍👍👍👍

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

    Thanks, hat off! :)

  • @sumardjo
    @sumardjo 2 роки тому +1

    thanks for complete to learn
    because simple file is ready
    and UA-cam to god for practice
    thanks you very much

  • @ironsideo
    @ironsideo Рік тому +1

    Wow, he got it....Amazing.

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

      Hopefully you’ve been able to put the techniques to good use.

  • @prajwalshetty2047
    @prajwalshetty2047 2 роки тому +1

    Nice Video 👍

  • @kathanagrawal9926
    @kathanagrawal9926 5 місяців тому

    helpful tnx:)

  • @Tat-cx1lr
    @Tat-cx1lr 10 місяців тому +1

    Bravo et merci

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

    Thank you 😇😇😇

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

    Thanks so much, this is perfect solution for the challenge I was facing! Such a plot twist when he was like "we're going to select "sum", knowing full well it will result in an error"

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

      Ha ha ha - I like to keep you all on you toes :-)

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

      you all probably dont care but does someone know a way to log back into an Instagram account?
      I was dumb forgot my login password. I love any tricks you can give me!

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

      @Kendall Lewis instablaster =)

  • @Tat-cx1lr
    @Tat-cx1lr Рік тому +1

    Merci et bravo

  • @ck2610
    @ck2610 2 роки тому +2

    Dear collegue, this is not what is described in the video titel, instead of combine "rows", it should be named in combine "columns", by the way.
    Cause I was looking for something which combines 2 rows and I'am getting this :)

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  2 роки тому +2

      Sorry, I disagree. This technique is combining rows. So I believe it is the right description.
      ‘Merge columns’ is a different feature which already exists.

  • @spilledgraphics
    @spilledgraphics 2 роки тому +1

    Awesome video and explanation, the backward version of your first one! haha!

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

      Exactly.
      The solution is frustrating because it requires editing the M code to apply a function which should be part of the UI.

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

      @@ExcelOffTheGrid I agree, it should be 😁🙏

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

    simple and easy

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

    Great video dude..! 💐💐👏

  • @terryamartey8457
    @terryamartey8457 Рік тому +1

    Great

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

    Was looking for this.. Will try it soon

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

      Great news! Hopefully it worked for you 😀

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

      @@ExcelOffTheGrid no I don't have the latest version of excel.. 😢😢 I have 2007 😭😭😭..

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

      @@ExcelOffTheGrid OMG this worked.. Uve saved me so much time with this hack.. Can't thank you enough.. I suddenly feel like a genius

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

      @@salvi2606 Great news - enjoy the extra time you’ve saved. 😀

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

      @@ExcelOffTheGrid yes going to browse through ur other lessons to learn more..

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

    Thanks for the video, i'm trying to use this method with Power Bi, but, after this when I split the equipment column by the delimiter into their own columns and the data is not equal as in one user doesn't have the same amount of equipment as the other it's messing up the report with invalid data in some columns, any ideas? thanks

  • @Aussiepeoplestats
    @Aussiepeoplestats Рік тому +1

    only 1k likes? this video is a GEM

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

      Thankfully it’s not about likes, but helping people 😀

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

    Thank you Mark. That's a great help! What would you do if you get more than 10K lines consolidated in your new sheet? How to show all lines or split into another sheet? Many thanks

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

      Hi - I'm not really sure I understand the question. Can you give a few more details about the scenario.

  • @marcmaguire6446
    @marcmaguire6446 2 роки тому +1

    king

  • @j.rajesh487
    @j.rajesh487 3 роки тому

    Hi, Thank you for the video.
    I am looking for something quite opp. I have comma-separated values in a column, need to map one to one with key ID. Please help out, its an urgent requirement.
    Thank you well in advance.

  • @onfootonwheels8758
    @onfootonwheels8758 2 роки тому +2

    Thanks for this. How to do the reverse?

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

      Check out this video:
      ua-cam.com/video/eC_GSMBZWPE/v-deo.html

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

    Thanks for the amazing tutorial.
    How we can do opposite what you did?

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

      You mean like this:
      ua-cam.com/video/eC_GSMBZWPE/v-deo.html

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

    Thank you so much!!! Could you please do it using R o Python?

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

    Hi Mark greetengs from Colombia... I have a question.. If I Want concat all values in a cell and after to creat a variable it's posible? For example I have a column named
    DATA
    1
    2
    3
    4
    and I want to build a variable named Data_number with all number and to add simple quotes...
    I would need this result...
    Data_number ('1','2','3','4')

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

    Now how do you make the separator a "tab" so have two rows in one text box?

  • @planxlsm
    @planxlsm Рік тому +1

    1:15 Merge
    2:00 Group By

  • @chiny-h6445
    @chiny-h6445 2 роки тому +1

    I downloaded yr example but my excel doesn't have the "from table range" option. :(

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

      What version of Excel do you have?
      Microsoft recently decided to rename the button From Sheet

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

    Hi Mark,
    Do you know how can I transform, for example, 3 columns into 1 column and the results are one under the other.
    Like this:
    Column 1 / Column 2 / Column 3
    A B C
    To
    Column 1
    A
    B
    C
    Thanks.

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  3 роки тому +2

      Try this:
      1) Merge the columns using a delimiter
      2) Then edit the M code do the delimiter you've chosen is changed to #(lf)

  • @angel29031980
    @angel29031980 2 роки тому +1

    I want combine only single cell which have different value, if cells have same value, it pass? the cell results do not show duplicate values

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

      Using the scenario from the video… create a concatenated column with the First Name, Last Name, Equipment and Equipment Attribute columns.
      Remove duplicates to create a list of unique items.
      Then follow the rest of the video.

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

    An error occurred in the ‘Transform File’ query. Expression.Error: The key didn't match any rows in the table. is the error i keep getting

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

    Can we make the combination go into separate column but same row?
    If "justin" bought an apple, a laptop and a mouse, I dont want all these to be in one column but to become three different column titled "item 1," "item 2", "item 3".
    Is that possible?

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

      In Power Query, you can either (a) Pivot the data in or (b) enter into a single cell, then Split using a delimiter.
      Both provide different layouts and may provide what you need :-)

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

      @@ExcelOffTheGrid Thank you!

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

    as a input I get duplicate values also not a unique rows only