+ Reply to Thread
Results 1 to 5 of 5

Compare 2 sheets and then copy specific cells to 2nd sheet

  1. #1
    Registered User
    Join Date
    05-11-2015
    Location
    Washington, DC
    MS-Off Ver
    2013
    Posts
    5

    Compare 2 sheets and then copy specific cells to 2nd sheet

    Hi,
    I have been trying to figure out a solution for comparing 2 Excel sheets. Basically every week I need to generate a report. In that report it will display a list of vulnerable items. Each week I go through the list see what items are existing vs new.If the Row is existing I copy the last 4 columns. If it is new then I have to add information.

    So I would like to take out the manual process of cross-referencing to see if the item exists in the previous week's sheet and use a VBA script.

    So here are some caveats with the report I am working with

    - There was no single column as unique identifier in Sheets1(new report) and 2(old report), so I'll need to create a temporary identifier column with combining Columns A,B, F (ie =A2&B2&F2)
    - If it finds a match of the unique identifier column in both sheets, then I want to the data in columns P, Q, R, S copied and pasted to Sheet1(new report) per row.(This should not be simply a reference to sheet1, but an actual copy/paste of the data in the cell)
    - Afterwards I want to delete Sheet2(old report)

    I am going to try to attach a sample XLS to show as an example if needed.

    Thank you,
    Jason
    Last edited by jasoncal108; 05-11-2015 at 01:49 PM.

  2. #2
    Registered User
    Join Date
    05-11-2015
    Location
    Washington, DC
    MS-Off Ver
    2013
    Posts
    5

    Re: Compare 2 sheets and then copy specific cells to 2nd sheet

    sheet1.jpg
    sheet 2.jpg
    Last edited by jasoncal108; 05-11-2015 at 01:42 PM.

  3. #3
    Registered User
    Join Date
    05-11-2015
    Location
    Washington, DC
    MS-Off Ver
    2013
    Posts
    5

    Re: Compare 2 sheets and then copy specific cells to 2nd sheet

    Also here is a sample file.

    https://app.box.com/s/zx0pzu4i6szo8h45gtl1jri6fexvljsz

  4. #4
    Registered User
    Join Date
    05-11-2015
    Location
    Washington, DC
    MS-Off Ver
    2013
    Posts
    5

    Re: Compare 2 sheets and then copy specific cells to 2nd sheet

    Could anyone assist me with this?

    Thank you,
    Jason

  5. #5
    Registered User
    Join Date
    05-11-2015
    Location
    Washington, DC
    MS-Off Ver
    2013
    Posts
    5

    Re: Compare 2 sheets and then copy specific cells to 2nd sheet

    Hi There,
    Anyone have any example to share?

    Thanks,
    Jason

+ 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] How to compare and copy specific cells from one Sheet to another one
    By malabond in forum Excel General
    Replies: 12
    Last Post: 10-14-2014, 12:14 PM
  2. Compare two sheets and copy match value to new sheet
    By sharan250 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-13-2014, 12:50 AM
  3. Macro to Compare two sheets, if match then copy two cells from one sheet to the other
    By ali.whitaker in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2012, 02:13 PM
  4. Compare Value between 6 sheets and copy the highest value into different sheet
    By djmal in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-02-2010, 05:00 AM
  5. Compare a value with value in other sheets and then COPY data into a sheet.
    By acsishere in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-28-2009, 03:05 PM

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