spot_img

How To Consolidate Tables With Power Query

In this Excel lesson you will teach yourself how consolidate tables with Power Query. This is wonderful way to boost your efficiency and save bunch of time.

I have a worksheet. There are a few tables in there and I’d like to combine them into one table. Power Query will help me with that.

To join tables click Power Query in the ribbon menu. Choose From FileFrom Excel.

power query from file from excel

Choose the file in your local drive.

power query from file

Power Query Navigator window pops out.

power query navigator

Select the whole file and click Edit.

power query editor

I can see every objects in the whole workbook. I’d like to load only tables. So I need to click Kind and filter only tables.

power query kind filter

Next I’d like to remove obsolete columns. I don’t need so many of them.

power query remove columns

To merge tables I need to press a small icon next to Data header.

power query merge tables

I unchecked Use original column name as prefix option. Just because I don’t like it.

This is how preview of my consolidated tables looks like.

power query merged tables

Here is the time for final formatting.

First thing is to change the name. I did it on the right side of the screen.

Next important thing is to set proper columns data formatting. Click the small icon in the top headers and set right data type for each column.

When you are happy from your merged tables, and I am happy, click Close & Load To in the left top side of the screen.

power query close and load to

I’d like to have Table in the New worksheet. Click Load to get merged tables in the new sheet.

power query load to

And here is how my joined tables by Power Query look like.

power query tables merged

I saved a bunch of time because now I have joined tables which don’t require any more formatting.

Template

You can download the Template here – Download
spot_img
Previous articleAvoid Errors Using IFERROR-Everyone Should Know
Next articleLinking Text Box To A Specific Cell