+ Reply to Thread
Results 1 to 3 of 3

using text string from a cell to refer to a worksheet tab

  1. #1
    Registered User
    Join Date
    07-15-2008
    Location
    ct
    Posts
    2

    using text string from a cell to refer to a worksheet tab

    hi-
    hoping someone here can help me. to lay everything out, i have some historical data organized such that the data for 03-31-08 is on its own tab, 04-30-08 data has its own tab, and so on. then i have a master file which pulls data off of these tabs. my desire is to write a formula such as =SUM('03-31-2008'!E5:E10), but i want to be able to change the tab reference dynamically, so that it is simply referring to a cell (such as cell A2) with the value 03-31-2008, or 04-30-08 or whatever I want to type (instead of being locked static 3-31-08 or whatever). I don't want to have to do a find/replace, I'd like to be ablel to simply change the value of a single cell to the name of one of the other tabs and have everything link off of there.
    I have tried to manipulate the text in the reference cell to no avail. Can anyone help? Sorry if this example wasn't completely clear, but it seems like a simple enough thing to do, i just can't figure it out. Much appreciated. thanks

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    =sum(indirect("'"&a2&"'!e5:e10")
    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.

  3. #3
    Registered User
    Join Date
    07-15-2008
    Location
    ct
    Posts
    2

    thanks

    A huge thanks for the help!

+ 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