+ Reply to Thread
Results 1 to 3 of 3

Specifiying the worksheet name in a cell

  1. #1
    Registered User
    Join Date
    04-28-2006
    Posts
    2

    Specifiying the worksheet name in a cell

    I have several different xls with multiple worksheets in each I have written the report that generates the data but I must manually go into each field and change the worksheet reference each time the sheet changes.

    Could I have an additional colum which specifies which sheet to pull data from? Then in each function sepecifiying how to create the value needed the worksheet referance updates too.

    Let me know if I need to clarify.

  2. #2
    Bob Phillips
    Guest

    Re: Specifiying the worksheet name in a cell

    You can use

    =INDIRECT("'"&A1&"'!H10")

    which pulls the value in H10 from the sheet specified in A1.

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "adiss" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have several different xls with multiple worksheets in each I have
    > written the report that generates the data but I must manually go into
    > each field and change the worksheet reference each time the sheet
    > changes.
    >
    > Could I have an additional colum which specifies which sheet to pull
    > data from? Then in each function sepecifiying how to create the value
    > needed the worksheet referance updates too.
    >
    > Let me know if I need to clarify.
    >
    >
    > --
    > adiss
    > ------------------------------------------------------------------------
    > adiss's Profile:

    http://www.excelforum.com/member.php...o&userid=33939
    > View this thread: http://www.excelforum.com/showthread...hreadid=537156
    >




  3. #3
    Registered User
    Join Date
    04-28-2006
    Posts
    2
    Thats just what I needed thankyou!

+ 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