+ Reply to Thread
Results 1 to 15 of 15

Update Text & Data in sheet 1 which copies multiple lines into seperate workbooks/sheets

  1. #1
    Registered User
    Join Date
    04-25-2013
    Location
    North London, England
    MS-Off Ver
    Excel 2003
    Posts
    20

    Update Text & Data in sheet 1 which copies multiple lines into seperate workbooks/sheets

    Hi
    I have a spread sheet which has all our managers on it (sheet is called Monthly Stats) with the branch they cover and their monthly statistics of that branch (upto 10 lines per manager), and I want to be able to update the main sheet but have all the information copy onto each persons individual sheet (including deleting and adding rows, sheets are named by person). e.g. all lines from the main sheet for Joe Bloggs copies all his information into his own workbook

    I tried VLookup and some sub formula I found but couldn't get them to work, im new to this so not sure what else you would need to know, ive spent a good few hours trying to solve this so your help would be very, very, very much appreciated

  2. #2
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Update Text & Data in sheet 1 which copies multiple lines into seperate workbooks/shee

    Post a workbook with a few lines of made up sample data so it's easier to understand the data layout.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  3. #3
    Registered User
    Join Date
    04-25-2013
    Location
    North London, England
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Update Text & Data in sheet 1 which copies multiple lines into seperate workbooks/shee

    Stats.xlsx

    Not sure if this has attached

  4. #4
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Update Text & Data in sheet 1 which copies multiple lines into seperate workbooks/shee

    Is it something like this that you are after?
    Note that I'm using array formulas, they have to be entered with Ctrl+Shift+Enter. I also made the data into an Excel Table, makes it easier to get the correct range for the formulas.
    Attached Files Attached Files
    Last edited by Jacc; 04-25-2013 at 06:19 PM.

  5. #5
    Registered User
    Join Date
    04-25-2013
    Location
    North London, England
    MS-Off Ver
    Excel 2003
    Posts
    20

    Talking Re: Update Text & Data in sheet 1 which copies multiple lines into seperate workbooks/shee

    Absolutely fabulous, you are a star, thank you so so much, just one question, can the information populate other workbooks ? So if i had a file named Ashley with his information on sheet 1 and another file called Brian with his information on sheet 1 what would i need to add to the formula so it goes into the sheet in their files rather than in one workbook ?Ashley.xlsBrian.xls

  6. #6
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Update Text & Data in sheet 1 which copies multiple lines into seperate workbooks/shee

    Good to hear!
    Right click on the tab of one of the sheets in the workbook I last posted and select "Move or Copy...".
    In the "To book:" dropdown menu you select "(new book)".
    Then you must not forget to tick the box where it says "Create a copy".
    Click OK and you're all done, the formulas update automatically.

  7. #7
    Registered User
    Join Date
    04-25-2013
    Location
    North London, England
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Update Text & Data in sheet 1 which copies multiple lines into seperate workbooks/shee

    Hi

    I tried to copy the formula onto the sheets im using but i just get - come up, any ideas why ? sorry & thank you

    Also i dont know what a PM is ???
    Last edited by HelenC; 05-08-2013 at 05:15 AM.

  8. #8
    Registered User
    Join Date
    04-25-2013
    Location
    North London, England
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Update Text & Data in sheet 1 which copies multiple lines into seperate workbooks/shee

    Hi, again !! Copied my new data onto the sheet you sent back and it counts all the lines except for the first one of each name, so for Ashley i had 6 lines of data but only 5 copied onto his own sheet, the first line doesnt copy onto his own sheet. Help !!! Thank you

  9. #9
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Update Text & Data in sheet 1 which copies multiple lines into seperate workbooks/shee

    Hmm... I suspect it is because I've been sloppy and used the ROW function instead of the ROWS function to get the n'th largest element.
    Did you by any chance add a row above the header?

    Never mind, I corrected the formulas in this sheet to the proper way. No you can add as many rows above the header as you want.


    These are array formulas and has to be entered with Ctrl + Shift + Enter. If done correctly the formula will be surrounded by curly brackets. Don't try to add curly brackets manually, it will not do you any good.

    If you know what you're doing when copying formulas and know how to adjust ranges and so on to make it work they can be copied to another workbook.

    If you feel less experienced with that then you are better of copying the data to the Table in my workbook (which is what you done I assume).
    Then use the method I described in post #6 to put the sheets in individual workbooks.
    Try again with this updated workbook and let me know how it works out for you.
    Attached Files Attached Files
    Last edited by Jacc; 05-10-2013 at 10:01 AM.

  10. #10
    Registered User
    Join Date
    04-25-2013
    Location
    North London, England
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Update Text & Data in sheet 1 which copies multiple lines into seperate workbooks/shee


  11. #11
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Update Text & Data in sheet 1 which copies multiple lines into seperate workbooks/shee

    Oh, I didn't quite get that the error was in my workbook, I thought it happened when you tried to use the formula elsewhere.
    Anyway, corrected it now. A sloppy mistake indeed.
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    04-25-2013
    Location
    North London, England
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Update Text & Data in sheet 1 which copies multiple lines into seperate workbooks/shee

    It works perfectly, thank you so so so much, its a real time saver and makes my job a lot lot easier. You have been great thank you so much for all your help

  13. #13
    Registered User
    Join Date
    04-25-2013
    Location
    North London, England
    MS-Off Ver
    Excel 2003
    Posts
    20

    Wink Re: Update Text & Data in sheet 1 which copies multiple lines into seperate workbooks/shee

    Ive just been asked to add another table and have that data on the persons worksheet. Ive tried to change table 1 to table 2 and A2 where the name is to A29 on the formula but it did not work, any ideas pls ?
    Also, when i copy a worksheet to workbook i lose the data ? any idea, not to worry if not as i can work around this problem.
    Thank you for all your help, im sorry to keep asking
    Data with another table.xlsx

  14. #14
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Update Text & Data in sheet 1 which copies multiple lines into seperate workbooks/shee

    It's not that difficult.
    Select cell B2 on the Louise sheet, click in the formula bar and select the whole formula string there, hit Ctrl + C, then hit Esc.

    Past it in cell B29 and hit Enter.

    Then click in the formula bar again so that all the range references becomes visible with colored rectangles on the sheet. It is now obvious that they are misplaced. Grab the rectangles one by one and drag them to the corresponding place in the new table. Finish with Ctrl+Shift+Enter.

    Finally, change the Table1 to Table2 and finish with Ctrl+Shift+Enter.

    I did the Ashley sheet already so that you have something that works.
    Attached Files Attached Files

  15. #15
    Registered User
    Join Date
    04-25-2013
    Location
    North London, England
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Update Text & Data in sheet 1 which copies multiple lines into seperate workbooks/shee

    All works perfectly, thank you

+ 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