Closed Thread
Results 1 to 3 of 3

cell value as a worksheet reference

  1. #1
    Stepney_Clint
    Guest

    cell value as a worksheet reference

    I am trying to create a worksheet that consolidates data from a set of other
    worksheets. The other sheets are all formatted identically. What I am having
    difficulty with is using the name of the other tabs in my formulas in the
    summary tab. I have the name of the tab in the a cell but can't figure out
    how to use that cell value as a worksheet reference. For example, in the
    summary tab, A2="Source1" but I get an invalid formula error when I enter
    this into B2: =(a2)!b17. Any help would be appreciated...

  2. #2
    Peo Sjoblom
    Guest

    RE: cell value as a worksheet reference

    You would need to use INDIRECT

    =INDIRECT("'"&A2&"'!B17")


    Regards,

    Peo Sjoblom

    "Stepney_Clint" wrote:

    > I am trying to create a worksheet that consolidates data from a set of other
    > worksheets. The other sheets are all formatted identically. What I am having
    > difficulty with is using the name of the other tabs in my formulas in the
    > summary tab. I have the name of the tab in the a cell but can't figure out
    > how to use that cell value as a worksheet reference. For example, in the
    > summary tab, A2="Source1" but I get an invalid formula error when I enter
    > this into B2: =(a2)!b17. Any help would be appreciated...


  3. #3
    Stepney_Clint
    Guest

    RE: cell value as a worksheet reference

    thanks...

    "Peo Sjoblom" wrote:

    > You would need to use INDIRECT
    >
    > =INDIRECT("'"&A2&"'!B17")
    >
    >
    > Regards,
    >
    > Peo Sjoblom
    >
    > "Stepney_Clint" wrote:
    >
    > > I am trying to create a worksheet that consolidates data from a set of other
    > > worksheets. The other sheets are all formatted identically. What I am having
    > > difficulty with is using the name of the other tabs in my formulas in the
    > > summary tab. I have the name of the tab in the a cell but can't figure out
    > > how to use that cell value as a worksheet reference. For example, in the
    > > summary tab, A2="Source1" but I get an invalid formula error when I enter
    > > this into B2: =(a2)!b17. Any help would be appreciated...


Closed 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