+ Reply to Thread
Results 1 to 3 of 3

Need help with merging data from two different sheets

  1. #1
    Registered User
    Join Date
    03-17-2015
    Location
    Toronto
    MS-Off Ver
    XP
    Posts
    3

    Need help with merging data from two different sheets

    Hi,

    Thank you so much for reading and helping me out. Here is my issue.

    So I have two sets of data on two different spreadsheet.
    Let's call them A and B

    I need my new spreadhseet; let's call it C
    to have the following:

    When the PEIN (Field) is typed in at Spredsheet C,
    it should use the PEIN as a search keyword; it needs to find
    the exact match of the PEIN in spreadsheet A and B

    In both A and B, the PEIN maybe duplicated; but it has with different information on the same field
    (Let's say, the dates are different, or the amount of the commission is different).

    Assuem this:
    Spreadsheet A, PEIN ABC123; it has three matches.
    Spreadsheet B, PEIN ABC123; it has two matches.

    Under each match, there are different fields on the same row; let's assume
    "Order" "Date" "Commission"

    What I want to do on Spredsheet C is that
    when i put in PEIN, it will shows me all the fields
    on Spreasheet A, and B Associated with the PEIN.


    Further more, it will create tap for me after I run the Macro; Tab name can be the PEIN number.

    So basically, I need a Field that can put in the PEIN, a button that generates the information that will
    create another sheet for me with the information I need.

    Thank you for helping once again, It would be cool if you can let me know where i should start or writing this code for me. most likely i will need to do some modification on it.

  2. #2
    Forum Expert
    Join Date
    08-28-2014
    Location
    Texas, USA
    MS-Off Ver
    2016
    Posts
    1,796

    Re: Need help with merging data from two different sheets

    Try this. Like you said, it will need some modification because you provided incomplete information. Off the top of my head, the following will need to be updated:
    • Worksheet Names
    • Where the PIEN value is on sheet C
    • Where the order, date, and commission values are on A and B
    • Where the order, date, and commission should go on the new sheet
    • How the macro gets triggered


    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-17-2015
    Location
    Toronto
    MS-Off Ver
    XP
    Posts
    3

    Re: Need help with merging data from two different sheets

    U r awesome! I will let you know if it works out for me in two days.

    THanks so much

+ 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. merging data sheets into one
    By niket8989 in forum Excel General
    Replies: 1
    Last Post: 07-31-2014, 03:37 AM
  2. Merging data in two sheets
    By braenz in forum Excel General
    Replies: 13
    Last Post: 12-20-2013, 06:01 AM
  3. Merging: displaying which sheet data comes from when merging sheets
    By zed commander in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-12-2012, 12:20 PM
  4. Merging data from two sheets?
    By caleb2003 in forum Excel General
    Replies: 20
    Last Post: 11-11-2009, 08:25 AM
  5. [SOLVED] merging data from two different sheets
    By Cantor Lieberman in forum Excel General
    Replies: 2
    Last Post: 04-22-2005, 01:07 AM

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