+ Reply to Thread
Results 1 to 10 of 10

Copy and Update data in 2nd workbook from 1st work book

Hybrid View

  1. #1
    Registered User
    Join Date
    12-07-2009
    Location
    Heaven
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    69

    Copy and Update data in 2nd workbook from 1st work book

    Hi,

    I have a work book 1 with all my business sales data. I want to make another workbook, which has exact same data from workbook 1. I want that happen automatically copied on work book 2 from work book 1. Also when I update data on workbook 1, my work book 2 data also updates.

    my work book 1 has some formula work.

    I want this way becuase I don't want to do copy and paste everytime. I frequently updates data on my work book 1.

    And make sure it is 2 different workbooks, when you ppl help me.

    I hope this understands you guys.

    please let me know if you have any questions.

    Thanks
    Attached Files Attached Files
    Last edited by top1; 01-16-2011 at 08:04 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Copy and Update data in 2nd workbook from 1st work book

    Hi,

    Upload representative examples of your two workbooks and create the results you expect to see and add some notes saying how you have arrived at the results and no doubt we can then help.

    Rgds
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    12-07-2009
    Location
    Heaven
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    69

    Re: Copy and Update data in 2nd workbook from 1st work book

    Quote Originally Posted by Richard Buttrey View Post
    Hi,

    Upload representative examples of your two workbooks and create the results you expect to see and add some notes saying how you have arrived at the results and no doubt we can then help.

    Rgds
    Pls see the attached sample file. My work book 1 will have data such like this way.

    Thanks

  4. #4
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243

    Re: Copy and Update data in 2nd workbook from 1st work book

    Ooopps!

    There doesn't seem to be any file attached?

    Edit: Ooopps - sorry, my mistake, I didn't spot that the first post had been edited to have the file attached.

    Rob
    Last edited by broro183; 01-16-2011 at 08:55 PM.
    Rob Brockett
    Kiwi in the UK
    Always learning & the best way to learn is to experience...

  5. #5
    Registered User
    Join Date
    12-07-2009
    Location
    Heaven
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    69

    Re: Copy and Update data in 2nd workbook from 1st work book

    Pls help me on my issue.

  6. #6
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243

    Re: Copy and Update data in 2nd workbook from 1st work book

    hi Top1,

    Quote Originally Posted by top1 View Post
    I have a work book 1 with all my business sales data. I want to make another workbook, which has exact same data from workbook 1.

    ...

    And make sure it is 2 different workbooks, when you ppl help me.
    I'm a strong supporter of having "a single version of the truth". The more times information is duplicated, the greater the chance of someone relying on out of date data.
    I strongly suggest only using a single file & using some sort of backup procedure to ensure that you have a "backup copy" of the file.

    Can you please explain why you want a second file that is exactly the same as the first?

    If your file only consists of a single monthly sheet (with a constant/static layout) & you really want a second file to mirror its data then:

    1) I think the simplest solution is:
    - Open both workbooks
    - In cell A1 of workbook 2 type "="
    - then, using your mouse, click on cell A1 of workbook 1 & press [enter]
    - this will give you an equation similar to
    "='[Work book 1.xls]Sheet1'!$A$1:$F$1"
    - Now edit the formula to change it from the above to:
    "='[Work book 1.xls]Sheet1'!A1"
    - Copy this formula down and across as many rows (of the sheet in workbook 2) as necessary to cover the range of cells in workbook 1 that will have information in them.

    2) Create a pivot table in workbook 2 & set its source data to be the sheet in workbook 1.


    Rob

  7. #7
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243

    Re: Copy and Update data in 2nd workbook from 1st work book

    hi Top1,

    Yes, I can help with your last two issues. However, I find it easier to provide the "best" (always a subjective phrase ) solutions when I understand the context of the problem.

    Quote Originally Posted by broro183 View Post
    ...
    Can you please explain why you want a second file that is exactly the same as the first?
    ...
    Thanks
    Rob

  8. #8
    Registered User
    Join Date
    12-07-2009
    Location
    Heaven
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    69

    Re: Copy and Update data in 2nd workbook from 1st work book

    Thanks Rob,

    You solved my issue by 99.99%. Only one thing IF you can help me with to have same formate and font color on workbook 2 exactly same as I used on work book 1. Pls let me know if u have any idea.

  9. #9
    Registered User
    Join Date
    12-07-2009
    Location
    Heaven
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    69

    Re: Copy and Update data in 2nd workbook from 1st work book

    I want one work book as a Daily use, and I need other work book to use formulas for pivot tables.

  10. #10
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243

    Re: Copy and Update data in 2nd workbook from 1st work book

    hi Top1,

    Sorry about the slow response. Provided that the formatting in the first workbook stays constant, you could:
    1) open both spreadsheets in the same instance of excel.
    2) click the grey square (or triangle) in the top left of the workbook1 spreadsheet (above the list of row numbers & to the left of the list of column letters). This will select all the cells on the sheet. Or, an alternative would be to select cell A1, then press [ctrl + shift + end], which selects all the cells that excel considers as "used".
    3) press [ctrl + c] to copy.
    4) select cell A1 in workbook2, press [alt + e + s + w] - [enter] to copy the column widths, then [alt + e + s + t] - [enter] to copy the formats & then press [esc] to deactivate the clipboard.

    However, I strongly recommend you change to only have one copy of the data. If you want to keep the pivot table in a separate file, you can link the Data Source (via the pivot table wizard) of the pivot table in workbook2 to the original data in workbook1.

    hth
    Rob
    Last edited by broro183; 01-23-2011 at 05:33 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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