+ Reply to Thread
Results 1 to 6 of 6

Data Merge

  1. #1
    Valued Forum Contributor Parth007's Avatar
    Join Date
    12-01-2014
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    879

    Data Merge

    I have three Sheets

    Sheet1 have some number of columns with more than 1000 data
    Sheet2 have some number of columns with more than 5000 data
    and
    Sheet3 will have all columns from Sheet1 & Sheet2 on 4 columns data match

    Attached is the sheet for reference
    If 4 columns from sheet1 matches with 4 columns of sheet2 then respective data should be copied to sheet3
    Below is the condition

    "IF NO = SNO & Name = FullName & Price = Rate & Grade = GR " then rest all columns should be copied to sheet3

    Plz Suggest
    Attached Files Attached Files
    Last edited by Parth007; 01-21-2015 at 09:16 AM. Reason: Solved

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Data Merge

    Hello Parth007,

    Something like this should work for you:
    Please Login or Register  to view this content.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Valued Forum Contributor Parth007's Avatar
    Join Date
    12-01-2014
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    879

    Re: Data Merge

    Fine ~tigeravatar will try this code to run on the existing whole project of mine.. will come back incase if any issue

  4. #4
    Valued Forum Contributor Parth007's Avatar
    Join Date
    12-01-2014
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    879

    Re: Data Merge

    Hi Tigeravatar,

    The code worked fine.. but as the customer have a new requirenment, will share the final input sheet with conditions which needs VBA code to result.

    Thanks for help

  5. #5
    Valued Forum Contributor Parth007's Avatar
    Join Date
    12-01-2014
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    879

    Re: Data Merge

    Hi Tigeravatar, Updated info is attached...
    below wis clear requirement.


    One Excel having two sheets..
    Sheet1 = J
    Sheet2 = G
    so If
    J.Column2 = G.Column1
    &
    J.Column7 = G.Column23
    &
    J.Column10 = G.Column8
    &
    J.Column15 = G.Column2

    If above conditions match then the respective data should be copied to Resultant Sheet The resultant data should only pick records from G Sheet. along with all matched data
    Please find attached format
    Attached Files Attached Files
    Last edited by Parth007; 01-21-2015 at 07:49 AM.

  6. #6
    Valued Forum Contributor Parth007's Avatar
    Join Date
    12-01-2014
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    879

    Re: Data Merge

    HELLO Tigeravatar,

    BELOW IS THE CODE.. I TRIED AND IT CLICKED... thanks for everything

    Please Login or Register  to view this content.

+ 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] Split merge doc and save in any of the merge field data
    By bmbalamurali in forum Word Formatting & General
    Replies: 5
    Last Post: 03-23-2018, 09:18 PM
  2. [SOLVED] Mail Merge: The merge provides data from the previous record
    By bellevue in forum Excel General
    Replies: 3
    Last Post: 10-23-2012, 07:44 AM
  3. Mail Merge or just Merge Spreadsheet Data
    By Mooch in forum Excel General
    Replies: 3
    Last Post: 12-07-2010, 04:56 PM
  4. Replies: 0
    Last Post: 04-21-2006, 03:40 PM
  5. Replies: 0
    Last Post: 11-30-2005, 04:45 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