FunkyFunktionFriday - Consolidating 7 Worksheets using Simple M Code (The Big Payback) @OzduSoleilDATA
FunkyFunktionFriday - Consolidating 7 Worksheets using Simple M Code (The Big Payback)  @OzduSoleilDATA
Uploaded August 2016 | Updated November 2026, 14 hours ago
This was a real question that came to me. Someone has 113 worksheets in a single Excel file. How can he get all of the data stacked up in a single worksheet?

Here, I show how to consolidate the data on 7 worksheets. For 113, the process would be the same.

Thanks to Ken Puls for sharing this solution in a blogpost
excelguru.ca/blog/2014/11/19/combine-multiple-worksheets-using-power-query

This solution uses M Code in Excel's Get & Transform. This is best because G&T does have a manual way of consolidating worksheets, and it's fine if there are just a few worksheets because there's a step that needs to be repeated for each worksheet. But no! Let's not do that 113 times.

Using M code ... we got it licked!




My book: Guerrilla Data Analysis 2nd Edition
amazon.com/Guerrilla-Analysis-Using-Microsoft-Excel/dp/1615470336

My blog: datascopic.net/blog-2-2
FunkyFunktionFriday - Consolidating 7 Worksheets using Simple M Code (The Big Payback)Excel Dynamic Arrays with XLOOKUP & Form Controls (Radio Buttons and Tick Boxes)Retrieve The Correct Column Header (Leila Gharani Kevin Lehrbass Excel Challenge)Wanderlust Travel Tag | Oz du SoleilPower Query: Split Multiple Columns into Rows All At Once2 Custom Data Types | 1 Dataset | 1 WarningDynamic Arrays: SORT, FILTER, and Dynamic VLOOKUPUsing Power Query to Import Names To Make Dummy DataExcels Flash Fill vs Power Querys Column by ExampleCelebrating Microsoft Excels 40th Birthday with Power Query and Splitting ColumnsUnstack Data that is Separated by Bold Text: Challenge w/Kevin Lehrbass - Formulas, VBA, Power QueryExcel Power Query: Import Data from Web Page and Clear Line-Breaks
Excel On Fire (Oz du Soleil) |

FunkyFunktionFriday - Consolidating 7 Worksheets using Simple M Code (The Big Payback)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER