+ Reply to Thread
Results 1 to 2 of 2

VBA code to extract data from multiple sheets and populating in a new sheet

  1. #1
    Registered User
    Join Date
    06-10-2019
    Location
    UK
    MS-Off Ver
    2013
    Posts
    1

    Question VBA code to extract data from multiple sheets and populating in a new sheet

    Please can someone help in providing vba code to extract data from sheet1 and sheet2 and populate the desired output as mentioned below in sheet3?
    Your help will be much appreciated.

    Sheet 1

    Column1 Column2
    John MS Access
    John MS Word
    John MS Excel
    Smith MS Paint
    ..... .....


    Sheet 2

    Column1 Column2
    John HR
    John Finance
    John IT
    Smith Finance
    ..... .....

    Desired Output in Sheet3

    Column1 Column2 Column3
    John MS Access HR
    John MS Word HR
    John MS Excel HR
    John MS Access Finance
    John MS Excel Finance
    John MS Word Finance
    John MS Access IT
    ... ...... .....

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

    Re: VBA code to extract data from multiple sheets and populating in a new sheet

    This is a simple merger of tables using Power Query joining the tables on the Columns 1. Here is the Mcode
    Please Login or Register  to view this content.
    and the file.
    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

+ 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] Formula populating data from multiple sheets to summary sheet
    By $mart Group in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-13-2018, 12:58 AM
  2. Replies: 0
    Last Post: 09-06-2017, 08:30 PM
  3. Populating data from multiple sheets onto a summary sheet
    By janeml in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-10-2014, 07:17 PM
  4. [SOLVED] Extract multiple sheets data into one sheet
    By jun22 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-20-2014, 09:58 AM
  5. Macro to Extract Data from Multiple Sheets into One Sheet
    By BillW93 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-05-2013, 10:55 AM
  6. auto populating multiple sheets with 1 data sheet
    By gerard_gonzales33 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-01-2013, 10:43 AM
  7. [SOLVED] How to code a macro to extract data from multiple sheets into one sheet?
    By likeabottle in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-21-2013, 04:51 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