+ Reply to Thread
Results 1 to 3 of 3

Grab sheet name from a cell

  1. #1
    Registered User
    Join Date
    03-17-2009
    Location
    pa,usa
    MS-Off Ver
    Excel 2007
    Posts
    12

    Grab sheet name from a cell

    Guys,

    Im looking to have excel grab the sheet name from the cell rather than manually clicking on the sheet each time. I have attached an example. I would like the formula in cells B5:7 and C5:7 to reference A5:7 rather than the specific sheet as seen in cell B5 --> =b!A1. I assume it will look something along the lines of ='(A5)'!A1, but that doesn't seem to work???

    Thanks for any suggestions or a forward to an approperiate post which I was unable to find in my searches.

    QAZ
    Attached Files Attached Files
    Last edited by [email protected]; 08-12-2009 at 03:45 PM.

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

    Re: Grab sheet name from a cell

    Try

    =Indirect("'"&A5&"'!A1")
    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
    03-17-2009
    Location
    pa,usa
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Grab sheet name from a cell

    worked. thanks

    QAZ

+ 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