+ Reply to Thread
Results 1 to 3 of 3

help! links between cells on 2 worksheets(even when removed and replaced with same name)

  1. #1
    Registered User
    Join Date
    05-22-2012
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2011 (Mac)
    Posts
    4

    help! links between cells on 2 worksheets(even when removed and replaced with same name)

    So I am in need of urgent help! I am very familiar with Excel, but this is a conundrum.

    So I have worksheet 1 and worksheet 2. my worksheet 2 has a nice report layout which has a formula like so... ='worksheet 1'!A1. taking information from Raw data in worksheet one. easy enough.

    I want to be able to replace worksheet one with a different work sheet. Now when i replace worksheet 1 even if i keep the same name 'worksheet 1' the formula ='worksheet 1'!A1 no longer works.

    This might be something really simple. I really hope so.

    Thank you in advance!

    Regards

    Nick.

  2. #2
    Valued Forum Contributor
    Join Date
    03-16-2012
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    992

    Re: help! links between cells on 2 worksheets(even when removed and replaced with same nam

    When you change the name of a worksheet, then formulas in cells refering to this worksheet will automatically change, so as they continue to refer to the same worksheet. If you delete a worksheet, you will get a #REF! error.

    So if you want to change the worksheet that your report is referring to, you can either incorporate =INDIRECT() in all your formulas in sheet2, or use Find/replace to change the worksheet-name part of your references in sheet2.

    Alternatively you can have a macro changing references when you change sheetname...
    Last edited by Søren Larsen; 05-22-2012 at 12:04 PM. Reason: Elaboration
    Sincerely
    S?ren Larsen

    "Give a man a fish, and you'll feed him for a day. Give a man a fishing rod, and he'll steal your yacht!"

  3. #3
    Registered User
    Join Date
    05-22-2012
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2011 (Mac)
    Posts
    4

    Re: help! links between cells on 2 worksheets(even when removed and replaced with same nam

    Thanks very much, just what i was looking for. Simple Answer!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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