+ Reply to Thread
Results 1 to 3 of 3

Possible shortcut??

  1. #1
    Registered User
    Join Date
    04-05-2011
    Location
    Denver, CO
    MS-Off Ver
    Excel 2003
    Posts
    4

    Possible shortcut??

    I have to create several different files that have a formula that references a different worksheet. For instance cell C2=E2+'ABC'!C2, and there are multiple cells with a similar reference. The next file that I will create I will save as, and then I need to update the formula to reference a different worksheet name, say 'ABCD'!. Normally I would just find replace for the worksheet to update all the formulas. However I was wondering if you could have a cell on the worksheet that had ABC, ABCD, etc. in it that could be used in the formula that way I could update the one cell each time I created a new file and everything would automatically change.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Possible shortcut??

    Try this, where the sheet name is in cell A1:

    =INDIRECT("E2+" & A1 & "!C2")


    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Possible shortcut??

    wildcats314,

    You could use the following formula:
    Please Login or Register  to view this content.
    Notes:
    -This sample formula is meant to be in cell C2 (as per your example)
    -This sample formula assumes that the worksheet name is stored in cell B1

    Hope this helps,
    ~tigeravatar

+ 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