+ Reply to Thread
Results 1 to 3 of 3

Copying formula - dynamic worksheet reference

  1. #1
    Forum Contributor
    Join Date
    12-13-2007
    Posts
    138

    Copying formula - dynamic worksheet reference

    Is it possible to copy a formula and have the worksheet name increase incrementally instead of the cell reference?

    Example: In column A, I have the following -

    =TDI_SR_F_1!$G$1
    =TDI_SR_F_1!$G$2
    =TDI_SR_F_1!$G$3

    I want to copy this across to column B, but instead of just copying that exact foruma across I am wanting a formula that will update the worksheet reference to:

    =TDI_SR_F_2!$G$1
    =TDI_SR_F_2!$G$2
    =TDI_SR_F_2!$G$3

    TDI_SR_F_2 is the worksheet after TDI_SR_F_1.

    NB - I cant use find and replace function as it will change the '1' which is part of the cell reference ($G$1) to a 2 as well. I know I can use TDI_SR_F_3 as a search string, but the process is going to be extremely tedious, i.e. there are literally over 100 rows I need to do the find and replace on.
    Last edited by FM1; 01-22-2010 at 08:50 AM.

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Copying formula - dynamic worksheet reference

    Example formula:

    =INDIRECT("sheet"&COLUMN()+1&"!$G$1")
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  3. #3
    Forum Contributor
    Join Date
    12-13-2007
    Posts
    138

    Re: Copying formula - dynamic worksheet reference

    Thanks very much Palmetto.

+ 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