+ Reply to Thread
Results 1 to 3 of 3

autofill formulas - need worksheet reference to change automatically

  1. #1
    Registered User
    Join Date
    09-15-2010
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2003
    Posts
    1

    autofill formulas - need worksheet reference to change automatically

    Hello:

    I am working in Excel 2003. I have a worksheet designed to summarize data from previous worksheets in the same workbook. I am having trouble getting Excel to properly copy cell formulas as I expand the summary worksheet. Worksheet names are LOAN 1, LOAN 2, LOAN3, etc. Formulas in each column are as follows:

    Column A =T('LOAN 1'!H49)
    Column B =T('LOAN 2'!H49)
    Column C =T('LOAN 3'!H49)


    If I use Autofill or manuall copy and paste the formula in Column C to Column D, Excel inserts the formula: =T('LOAN 3'!G49).

    The formula I WANT in Column D is =T('LOAN 4'!H49).

    In other words, I want the worksheet reference to change, not the cell reference.

    I know how to fix the cell reference by changing it to "absolute", but is there a way to get Excel to automatically change the worksheet reference automatically as I expand (i.e. as I add Column E, Column F, Column G, etc.)?

    This will take forever if I re-type the formulas manually for each new column. Thanks!

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: autofill formulas - need worksheet reference to change automatically

    If you start in col A try
    ="T('LOAN "&column()&"'!$H$49)"

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: autofill formulas - need worksheet reference to change automatically

    Try:

    =T(INDIRECT("'LOAN "&ROWS($A$1:$A1)&"'!H49"))

    copied down.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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