Advance Excel Training- Merge Multiple Worksheets Data With Excel Power Query (with Video)

Sometimes the data is spread over multiple worksheets and the requirement is to consolidate them in to a single worksheet, usually either we copy and paste data individually for each sheet or consolidate option of Ms-Excel can be used but in both cases either it is time consuming or needed a lot of manual intervention.

The best way to do this task is through “Power Query”. This option is available in Ms-Excel 2013, 2016 and office 365.

(Note:- Excel 2010 and previous version users can’t use this features. Excel 2013 users need download this Add ins through https://www.microsoft.com/en-in/download/details.aspx?id=39379.)

Let’s first understand the scenario in which we will be needing this features then we will get to the solution-

The Problem-

In this snapshot below, the data is divided in to four sheets i.e. North,West,South & East Zone.

image1

Screen shot below showing the desire output after consolidation.

image 1.1

The solution-

Follow the below steps to get to the solution-

Step-1

Select the first sheet’s data and convert it into table format- Insert tab-> Table or Use short cut CTRL+T

image-2

Make sure that “My table has headers” option must be checked.

image-3

Step-2

Define a Name to your Table- Design tab -> Table Name (Type your Table name e.g North)

image-4

Repeat steps 1 & 2 for rest of the sheets.

Step-3

Ms-Excel 2016 : Go to Data Tab->From Table/Range

Ms-Excel 2013: Go to Power query tab-> From Table/Range

image-5

Step-4

Once you click on “From Table/Range”, Excel will open Power Query window. Go to Close & Load dropdown-> Select close and load to

image-6

Step-5

Choose Option “Only create connection”-> Ok

image-7

This will trigger queries and connection pane which confirms the establishment of data connection-

image-8

Repeat step 4 & 5 for rest of the sheets-

image-9

Step-6

Go to Data tab-> Get Data-> Combine Queries-> Append Queries

image-10

You will get two options-

Option 1-Two tables- if you have only two sheets then you can select one by one from the dropdown.

Option 2-Three or more tables- Use this option when you have more than three data sets.

image-11

image-11p

Step-7

Voila!, you can see all the zone’s data are combined in Power Query window, however by mistake if you have selected two table option then you can add more queries by going to Home tab ->Append Queries->Append Queries

image-12

Click on Close & Load

image-13

Finally, you will get combined data in new Excel worksheet

image 14

You can download Dummy practice excel file?https://drive.google.com/open?id=17tgt_fdH8OU-ZiZBI4OMAy-w2J9avLAf

 

Advance Excel Training- Merge Multiple Worksheets Data With Excel Power Query – Video

 

Happy Learning 🙂

 

For any advance excel training in corporate or for individual query, kindly contact us.

 

Leave a Comment

Your email address will not be published. Required fields are marked *