+ Reply to Thread
Results 1 to 5 of 5

Merge worksheets into one

  1. #1
    Forum Contributor
    Join Date
    12-03-2020
    Location
    australia
    MS-Off Ver
    365
    Posts
    109

    Exclamation Merge worksheets into one

    Hi all,

    I would like to merge all my worksheets into one so that I can easily read everything about my employees.

    I have 3 worksheets titled data 1,2, and 3 with different information.

    I would like to merge them into the consolidate worksheet using the Emp Dept ID column as this is consistent across all the worksheets.

    In the consolidate worksheet, I am given the year and Emp Dept ID ONLY (This is highlighted in yellow). This is the only information I know and I want to use these two columns to fill the rest of the columns using the headers in the consolidate column.

    I've attached a sample excel workbook.
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Merge worksheets into one

    Attached file contains the merger of all three Data Tabs using Power Query which is called Get and Transform in your version of Excel and found on the Data Tab

    Power Query is a free AddIn for Excel 2010 and 2013, and is built-in functionality from Excel 2016 onwards (where it is referred to as "Get & Transform Data").

    It is a powerful yet simple way of getting, changing and using data from a broad variety of sources, creating steps which may be easily repeated and refreshed. I strongly recommend learning how to use Power Query - it's among the most powerful functionalities of Excel.

    - Follow this link for an introduction to Power Query functionality.
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    12-03-2020
    Location
    australia
    MS-Off Ver
    365
    Posts
    109

    Re: Merge worksheets into one

    Quote Originally Posted by alansidman View Post
    Attached file contains the merger of all three Data Tabs using Power Query which is called Get and Transform in your version of Excel and found on the Data Tab

    Power Query is a free AddIn for Excel 2010 and 2013, and is built-in functionality from Excel 2016 onwards (where it is referred to as "Get & Transform Data").

    It is a powerful yet simple way of getting, changing and using data from a broad variety of sources, creating steps which may be easily repeated and refreshed. I strongly recommend learning how to use Power Query - it's among the most powerful functionalities of Excel.

    - Follow this link for an introduction to Power Query functionality.
    Hi Alan, I'm new to power query, can you run me through the steps of what you did so I have an idea. I managed to open power query and added new query. But i don't know how to go about adding those columns based on those two columns that I have.

    Edit - I think I figured it out. All you used was merge queries based on the Emp Dept Id.

    Thanks
    Last edited by bob112233; 04-03-2022 at 07:54 PM.

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Merge worksheets into one

    You are welcome. Glad to see you figured it out.

  5. #5
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,294

    Re: Merge worksheets into one

    Power Query
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] VBA merge worksheets in a folder - each file in a column, multiple worksheets below
    By bigmantitus in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 02-11-2021, 12:59 PM
  2. Replies: 0
    Last Post: 04-18-2019, 09:13 AM
  3. Replies: 1
    Last Post: 09-10-2012, 06:11 AM
  4. Merge 2 Worksheets (Same concept as RegEdit Merge or Outlook Vcard)
    By stevedes7 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-20-2009, 11:17 PM
  5. Merge Worksheets
    By cw1628 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-09-2009, 05:18 PM
  6. How to merge two worksheets?
    By wali in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-13-2007, 01:08 AM
  7. [SOLVED] merge worksheets
    By Mike Bubyn in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-16-2005, 06:35 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1