+ Reply to Thread
Results 1 to 3 of 3

Using a cell value on the current worksheet in a formula referencing another workshee

  1. #1
    Registered User
    Join Date
    05-14-2007
    Posts
    2

    Using a cell value on the current worksheet in a formula referencing another workshee

    I am trying to write a formula that will add cells from multiple worksheets in the same workbook. I am using the formula "='1'!S9+'2'!S9+'3'!S9+'4'!S9+'5'!S9+'6'!S9+'7'!S9. I want to modify this formula so that it will reference the worksheet page from another cell in the same worksheet. IE: for the formula above, I want to replace the beginning reference to worksheet '1' with the J4 cell from the same worksheet I am writing the formula in. Does anyone know how to structure the formula so that it will take the worksheet reference in a formula from ANOTHER cell value in the same worksheet?

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Try the INDIRECT function

    =indirect("'"&j4&"'!S9")+'2'!S9+'3'!S9+'4'!S9+'5'!S9+'6'!S9+'7'!S9

    rylo

  3. #3
    Registered User
    Join Date
    05-14-2007
    Posts
    2

    Smile Thank you!

    You are a genius.

+ 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