+ Reply to Thread
Results 1 to 8 of 8

Sync Data Between Two Sheets - Including New Rows That Are Added

  1. #1
    Registered User
    Join Date
    01-11-2016
    Location
    England
    MS-Off Ver
    Mac 2011, V14
    Posts
    15

    Sync Data Between Two Sheets - Including New Rows That Are Added

    Hi,

    I have 2 sheets in my file. Sheet 1 is a price list with vast amounts of data. Sheet 2 references some basic data from columns in Sheet 1 e.g. PRODUCT CODE, RETAIL PRICE and TRADE PRICE.

    I need new rows (products) that are added to Sheet 1 to automatically appear in Sheet 2.

    Bonus Question: Why would some of my existing data not appear in Sheet 2 when referenced from Sheet 1? Im using =Sheet1!A1 at the moment.

    Thanks

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,139

    Re: Sync Data Between Two Sheets - Including New Rows That Are Added

    Please attach a sample workbook. Make sure there is enough data to demonstrate your need. Make sure your desired results are shown, mock them up manually if necessary. Remember to remove ALL confidential information first!!!

    However, nothing on this Forum works quite as well as you might expect. The attachment icon doesn't work!! (Helpful, isn't it!!). Instead, just before you submit your post, click on GO ADVANCED (near the bottom) and then scroll down to Manage Attachments to open the upload window. The relevant instructions are at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    01-11-2016
    Location
    England
    MS-Off Ver
    Mac 2011, V14
    Posts
    15

    Re: Sync Data Between Two Sheets - Including New Rows That Are Added

    Here's an example.
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,139

    Re: Sync Data Between Two Sheets - Including New Rows That Are Added

    Is this what you had in mind:

    IF(Sheet1!A2="","",Sheet1!A2)

    copy down as far as needed. Adjust the ranges for the other columns.

  5. #5
    Registered User
    Join Date
    01-11-2016
    Location
    England
    MS-Off Ver
    Mac 2011, V14
    Posts
    15

    Re: Sync Data Between Two Sheets - Including New Rows That Are Added

    That works pretty well but there are a few problems with it.

    1. Sheet 1 updates into sheet 2 when I add new rows at the bottom of the data in sheet 1 - this is good
    2. If I add a new row to sheet 1 in the centre of the existing data it doesn't update in sheet 2.
    3. If I delete a row of data from sheet 1 it appears in sheet 2 as #REF!. This would need to disappear.

    Thanks

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,139

    Re: Sync Data Between Two Sheets - Including New Rows That Are Added

    OK. Lose Row 2. In principal, blank rows just cause confusion, especially when you later need want to hide them. Widen row 1 to make it look better.

    Then use this:

    =IF(INDIRECT("Sheet1!A"&ROWS($1:2))="","",INDIRECT("Sheet1!A"&ROWS($1:2)))

    substituting E or G for A to return the two prices.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    01-11-2016
    Location
    England
    MS-Off Ver
    Mac 2011, V14
    Posts
    15

    Re: Sync Data Between Two Sheets - Including New Rows That Are Added

    Perfect. Thanks Glenn.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,139

    Re: Sync Data Between Two Sheets - Including New Rows That Are Added

    You're very welcome and thanks for the Rep.

+ 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. Sync data on two sheets and instead of overwrite comment the changes in the cell
    By markpem in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-10-2015, 08:46 AM
  2. Replies: 4
    Last Post: 02-04-2014, 10:13 AM
  3. Automatically copy to new rows to new rows as raw data is added on another worksheet
    By lanoushi in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-12-2013, 09:03 AM
  4. Linking data between sheets as it is added
    By nyeb44 in forum Excel General
    Replies: 5
    Last Post: 12-20-2012, 09:39 PM
  5. Automatically moving data rows to other sheets as new entires are added.
    By yehuoy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-21-2011, 05:11 PM
  6. Replies: 3
    Last Post: 02-14-2008, 02:39 PM
  7. compare sheets for added or deleted rows
    By helpwithXL in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-10-2005, 01:06 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