How to unstack data in repeated groups of rows in the same column with Power Query in Excel

Ғылым және технология

When your data comes stacked in one column only with information that belongs to multiple fields and should be distributed in various columns, use this recipe in Power Query. Do this work once and enjoy your data structured in a tabular layout forever!
----------------------
Celia Alves - Microsoft MVP & Certified Excel Expert, Solutions Developer
New videos on KZread every week: https:www// / celiaalvessolveexcel
Get access to the video EXERCISE FILES by joining our Telegram Group at t.me/celiaalvessolveexcel (search for the files for tutorial “T0017” - Full tutorial available at: • Produce automatic vide... )
Subscribe to my NEWSLETTER for exciting news about the Excel world: bit.ly/learnfromcelia
________________________________________________________
Learn how to AUTOMATE YOUR EXCEL REPORTS in minutes instead of hours without copy-paste or coding: snapreportschamp.com/course
Get this ready-to-use Excel solution for 2 and 3 columns of Dependent Dropdown Lists:
solveandexcel.ca/dynamic-depe...
___________________________________________________________________
Solve & Excel Consulting - solveandexcel.ca
LinkedIn: / celiajordaoalves
Facebook: / solveandexcel
Twitter: @celia_excel
Instagram: @solveandexcel
#excel #msexcel #powerquery #dataanalysis #snapreports #solveandexcel #automation #reportautomation #VBA
#Excel #shorts #solveandexcel #microsoft365 #microsoft #toronto #torontobusiness #wit #msexcel #microsoftexcel #excelreport #excelautomation #snapreports #powerquery #powerquerytraining #powerqueryeditor #worksmarternotharder #canada #msexceltraining #microsoftexceltips

Пікірлер: 34

  • @naveenmedishetty5993
    @naveenmedishetty59936 ай бұрын

    Thanks it is very much interested And helpful too

  • @CeliaAlvesSolveExcel

    @CeliaAlvesSolveExcel

    6 ай бұрын

    You're very welcome. Glad that you enjoyed it.

  • @renerogers6950
    @renerogers695010 ай бұрын

    Thank you for explaining this feature!

  • @CeliaAlvesSolveExcel

    @CeliaAlvesSolveExcel

    10 ай бұрын

    You're very welcome! Thank you for watching.

  • @maciejnejman5126
    @maciejnejman5126 Жыл бұрын

    Wonderful! That is exactly what I was looking for. Thank you.

  • @CeliaAlvesSolveExcel

    @CeliaAlvesSolveExcel

    Жыл бұрын

    You're welcome, Maciej. Glad that it was helpful to you. :)

  • @andrewsinha2785
    @andrewsinha27852 жыл бұрын

    Hi Celia, Useful, practical and clearly explained as usual. A nice addition to out PQ tool kit you are giving us. Thanks again Andrew

  • @CeliaAlvesSolveExcel

    @CeliaAlvesSolveExcel

    2 жыл бұрын

    Glad that you found the content useful, Andrew. Thank you.

  • @wayneedmondson1065
    @wayneedmondson10652 жыл бұрын

    Great Celia! Thanks for sharing. Thumbs up!!

  • @CeliaAlvesSolveExcel

    @CeliaAlvesSolveExcel

    2 жыл бұрын

    Thank you! Cheers!

  • @joseanobusiness
    @joseanobusiness Жыл бұрын

    Excelent. Very good. Congratulations...

  • @CeliaAlvesSolveExcel

    @CeliaAlvesSolveExcel

    Жыл бұрын

    Thank you for watching and your feedback, Joseano.

  • @andrewferguson7762
    @andrewferguson7762 Жыл бұрын

    This video just made my year not just my day, though #i need to see how to use a column to make the column headers, I think you did one on yime saving in power query, but so chuffed. Still need to get around the pivot and unpivot not grasping it a 100%, but thank you so much, I got it to work on 500 xls files I want to extract info from and the put into columns.

  • @CeliaAlvesSolveExcel

    @CeliaAlvesSolveExcel

    Жыл бұрын

    Very glad that it helped you, Andrew. Unpivoting can be tricky to learn. It requires practice to get used to the tricks.

  • @CeliaAlvesSolveExcel

    @CeliaAlvesSolveExcel

    Жыл бұрын

    I have a live class on unpivoting techniques: kzread.infowZdK6JlQpgQ

  • @AnoopMenons
    @AnoopMenons2 жыл бұрын

    This is brilliant! Thank you

  • @CeliaAlvesSolveExcel

    @CeliaAlvesSolveExcel

    2 жыл бұрын

    Thank you, Anoop. :)

  • @peterhore7960
    @peterhore7960 Жыл бұрын

    Great, thanks Celia saved my bacon with some stupidly laid out file

  • @qasimawan3569
    @qasimawan35693 ай бұрын

    HI Celia, this is really useful thank you! What happens if you're stacked rows are UNEVEN? How would you account for inconsistent data?

  • @CeliaAlvesSolveExcel

    @CeliaAlvesSolveExcel

    3 ай бұрын

    I would say you will have to find a way to identify what kind of data point appears in each row.

  • @rajeevgosavi4514
    @rajeevgosavi45143 ай бұрын

    Thanks, could you also provide link to download spreadsheet used in this tutorial

  • @CeliaAlvesSolveExcel

    @CeliaAlvesSolveExcel

    3 ай бұрын

    See the video description

  • @businessintelligencedigita8117
    @businessintelligencedigita81172 жыл бұрын

    Hi - I just did it for something....but without pivot - I did group By each record and transposed it.... Regards Saurabh

  • @CeliaAlvesSolveExcel

    @CeliaAlvesSolveExcel

    2 жыл бұрын

    That's a good technique too! :)

  • @GrainneDuggan_Excel
    @GrainneDuggan_Excel2 жыл бұрын

    A other good technique

  • @CeliaAlvesSolveExcel

    @CeliaAlvesSolveExcel

    2 жыл бұрын

    Thank you, Gráinne

  • @lavangrey7429
    @lavangrey74299 ай бұрын

    Thank you how would I do if I have multiple columns?

  • @CeliaAlvesSolveExcel

    @CeliaAlvesSolveExcel

    9 ай бұрын

    Without seeing it, it is hard to say. Do those columns contain the same type of data?

  • @lavangrey7429

    @lavangrey7429

    9 ай бұрын

    @@CeliaAlvesSolveExcel there are three columns and every 7 rows a new set begins As an example on the first column of 7 First column has the following rows First name, middle name, last name, ID number,staring rate, department, area, shift; second column has the following rows Start time, end time, order number, manager, supervisor, name of company The third column Blue, red, orange, 3 green, purple, gold, black the out put is in html format or I\pdf format

  • @CeliaAlvesSolveExcel

    @CeliaAlvesSolveExcel

    9 ай бұрын

    @@lavangrey7429 create a query (query 1, query 2, query 3) for each column to unstack the data and create the column headers for each field. At the end of each query, make sure to add an index column, so that each row has a number and that number coincides for the same record across the 3 queries. Then, merge query 1 with query 2 by the column index and then merge the result with query 3.

  • @lavangrey7429

    @lavangrey7429

    9 ай бұрын

    @@CeliaAlvesSolveExcel I will give it a try. Thank you

  • @Timacrafts1
    @Timacrafts16 ай бұрын

    How can I unstack a column when the data is not consistent and is unique? I don’t have the same criteria every third row. Some data might need three columns to unstack and sometimes it might need ten columns. I’m stumped, please help.

  • @CeliaAlvesSolveExcel

    @CeliaAlvesSolveExcel

    6 ай бұрын

    I would say that you need a way to identify what belongs to each block or, at least, where each block starts or ends.

  • @aniljaggarwal60
    @aniljaggarwal60 Жыл бұрын

    Thanks, very useful But if number of rows are not equal Like first group have 3 line Second group have 4 line Third group have 3. Line How to this type of data could be handled

Келесі