+ Reply to Thread
Results 1 to 3 of 3

How to refer to a sheet in the workbook when the name of the sheet is a value in a cell

  1. #1
    Registered User
    Join Date
    03-02-2012
    Location
    Bergen, Norway
    MS-Off Ver
    Excel 2007
    Posts
    18

    Smile How to refer to a sheet in the workbook when the name of the sheet is a value in a cell

    Hi,

    I got a table consisting of name of sheets in the workbook. Depending on different criterias I have created a formula to choose which sheet to look up data.

    The problem is: how can I refer to a sheet in a formula in excel, when the name of the sheet I want to refer to is a value in cell E7 (for instance).

    Just to clarify:

    Lets say the sheet I want to look up is called "Fruits", i.e. the value in cell E7 is "Fruits".

    Instead of writing 'Fruits'!A1 (e.g.) in the formula, I want to refer to the value in E7 (+A1)

    Any suggestions? :-)

    Thanks in advance!

  2. #2
    Registered User
    Join Date
    08-10-2012
    Location
    Rotterdam, Holland
    MS-Off Ver
    Excel 2010
    Posts
    31

    Re: How to refer to a sheet in the workbook when the name of the sheet is a value in a cel

    This should do the trick:

    =indirect("'"&E7&"'!A1")

  3. #3
    Registered User
    Join Date
    03-02-2012
    Location
    Bergen, Norway
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: How to refer to a sheet in the workbook when the name of the sheet is a value in a cel

    Quote Originally Posted by robertswart View Post
    This should do the trick:

    =indirect("'"&E7&"'!A1")
    Thank you very much @robertswart! Works perfectly!

+ 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