+ Reply to Thread
Results 1 to 4 of 4

Automatically link multiple work sheets when creating multiple copies

  1. #1
    Registered User
    Join Date
    09-11-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    20

    Automatically link multiple work sheets when creating multiple copies

    Hi Forum

    I am trying to link cells from multiple work sheets to one main front work sheet (within the same work book). I would like to be able to make multiple copies of an outline information sheet that automatically transfers data from the front sheet - taking the information from the next line down for each work sheet.

    I would also then like some of the information collated on each work sheet to automatically fill in on the front sheet, again on consecutive lines. Instead of manually going to each work sheet and putting in the links for each one, is there a way I can short cut it when I create the copies of the information sheet?

    Also, is it possible to have the name of the tab on the work sheet (e.g.1, or 2, 3,4 etc. in this case) linked to a cell on the worksheet?

    I have attached an example of what I am trying to do to help explain what I am trying to do.

    Thank youlinks.xlsx

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Automatically link multiple work sheets when creating multiple copies

    You can use INDIRECT() to construct a sheet/cell reference using pieces of text strings. When the construction is complete, INDIRECT converts that to a real link and brings back the value from that cell. You Database sheet is already setup perfectly for this, though the name "database" is ill-advised.

    A DATABASE is usually a source sheet from which OTHER sheets are created, not the other way around. In this instance I'd call the front sheet "SUMMARY" or something like that. Then ALL the pieces of information including ID number and DOB should be on each person's individual sheet, 1, 2, etc.

    The formulas for your current setup would be:

    B3: =INDIRECT("'"&$A3&"'!F3")
    C3: =INDIRECT("'"&$A3&"'!F4")
    H3: =INDIRECT("'"&$A3&"'!E11")

    If you put the missing ID and DOB onto the sheets 1 and 2, you can put similar formulas into D3 and E3.

    Then copy the formulas in B3:H3 down.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    09-11-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Automatically link multiple work sheets when creating multiple copies

    Excel help version.xlsxHi JBeaucaire

    Thank you for you help. I have been trying to put the formula you outlined above into my original worksheet, but it keeps coming up with #REF!

    I am not sure where I am going wrong. I have a much larger table, but don't think this should matter. I have used the function "create from selection" to label my table across the top row and left hand column, but this doesn't seem to have helped.

    Would you please have another look at this slightly larger table I have put in and show me how to link the first lot of data from the 'summary' sheet (I renamed as realised was not a good name as you mentioned) onto the worksheets 1, and 2. Can you then show me how to link the amount of metres walked for each person back to the summary sheet - I assume this would be the same formula, just in different order?

    Then if I was to create many more work sheets for each person (approx 80), can I use the Pt number on each worksheet to identify which row of the summary sheet to select the information?

    I am pretty new to Excel, so if you can explain all the bits as you go (very simply )I would be most grateful.

    Thanks again

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Automatically link multiple work sheets when creating multiple copies

    In your first example sheet you had listed in column A the EXACT named of the sheets we were going to go get values from (1,2, etc...)

    In this new sheet you've changed the Summary table to using Pt1, Pt2, etc. That does not match exactly what your sheetnames are any longer.

    So, change Pt1 to 1 in cell B3. Or change the name of sheet 1 to Pt1. Then these formulas will work:

    C3: =INDIRECT("'"&$B3&"'!K3")
    D3: =INDIRECT("'"&$B3&"'!K4")
    E3: =INDIRECT("'"&$B3&"'!J10")
    etc...

+ 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] Making Multiple Copies of sheets
    By Jhertilus in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-30-2013, 12:28 PM
  2. Creating multiple copies of same data...
    By pauleon in forum Excel General
    Replies: 1
    Last Post: 07-17-2012, 09:34 AM
  3. Creating multiple copies of the same cell (for multiple cells)
    By bastaki in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-21-2009, 07:23 AM
  4. Printing multiple copies of multiple sheets
    By dvlchd3 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-23-2008, 09:45 PM
  5. Creating New work sheets and assigning names automatically
    By paz24 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2006, 08:50 AM

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