+ Reply to Thread
Results 1 to 5 of 5

Help With Copy Data From Sheet1 Cell to Sheet2 Cell

  1. #1
    Forum Contributor
    Join Date
    07-15-2007
    Location
    Bend, Oregon
    MS-Off Ver
    Office 2016 Windows
    Posts
    161

    Help With Copy Data From Sheet1 Cell to Sheet2 Cell

    Hello,

    I have a workbook with sheet1 and sheet2. Each sheet I am only dealing with columns A-D. The data in column A in both sheets is the unique identifier. The below macro I am using will take sheet1 (ColumnA) and compare to sheet2 (ColumnA). If the identifies are the same in both cells it will highlight it green.

    What I need to add to the below macro is the ability to add a cell copy over. So sheet1 being my master, if sheet1 and sheet2 have a equal identifier in column A, the data from sheet1 B,C,D for that row will be copied over to sheet2 of its equal identifier sheet2 B,C,D.

    I have attached a sample.

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

  2. #2
    Registered User
    Join Date
    02-04-2014
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Help With Copy Data From Sheet1 Cell to Sheet2 Cell

    I do not think this requires a macro. check the attached file that gives the same functionality with conditional formatting and Vlookup


    If you feel Macro is definitely needed use below code

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by KrisSquare; 02-04-2014 at 01:18 PM.

  3. #3
    Forum Contributor
    Join Date
    07-15-2007
    Location
    Bend, Oregon
    MS-Off Ver
    Office 2016 Windows
    Posts
    161

    Re: Help With Copy Data From Sheet1 Cell to Sheet2 Cell

    Hello Kris,

    thank you for the reply. I would prefer to use a macro, this way I can put in my personal.xls. I tried the macro code you mentioned, but all it did was highlight green row "A" items in sheet1 and sheet2. Did not copy over BCD to sheet2.

    Thank you,
    JR

  4. #4
    Registered User
    Join Date
    02-04-2014
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Help With Copy Data From Sheet1 Cell to Sheet2 Cell

    Try this. I have edited the code

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    07-15-2007
    Location
    Bend, Oregon
    MS-Off Ver
    Office 2016 Windows
    Posts
    161

    Re: Help With Copy Data From Sheet1 Cell to Sheet2 Cell

    Hello,

    Seems to work fine. I thank you very much for your time and effort in helping me...

    Best Regards

+ 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. Replies: 6
    Last Post: 07-25-2013, 02:58 PM
  2. [SOLVED] How to copy data in a cell in Sheet1 to a cell in Sheet2 using =COPY( )?
    By Mr D Relf in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 07-17-2013, 10:39 AM
  3. [SOLVED] If cell value on Sheet1 not found on Sheet2 copy row to Sheet2
    By Yxx in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-18-2013, 04:15 AM
  4. Macro to copy range of cell from sheet1 to sheet2 based on a cell value in sheet2
    By drgwhizz in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-25-2012, 10:39 AM
  5. How Copy the Data from more cell in sheet1 to a row on sheet2 (others sheet)
    By antoni in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-11-2009, 09:23 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