+ Reply to Thread
Results 1 to 3 of 3

Thread: Reference Sheet

  1. #1
    Registered User
    Join Date
    07-22-2009
    Location
    NYC, NY
    MS-Off Ver
    Excel 2003
    Posts
    22

    Reference Sheet

    If I have a cell that has as its contents as sheet name, is there anyway I can use the cell's address to reference that sheet?
    As an example, say I have in Sheet1, cell A1, the text Sheet2. And let's say I want to return the value of cell B2 on whichever sheet the text of A1 says.
    So, on Sheet1, I might have this:
    Code:
       A       
    1  Sheet2
    2
    And on Sheet2, I might have this:
    Code:
      A B
    1
    2   purple
    And on Sheet3, I might have this:
    Code:
      A   B
    1
    2     red
    So, let's say I want to, in Sheet1 A2 to return the color in the sheet said in A1. So, if A1 said Sheet2, A2 returns purple, and if A1 said Sheet3, A2 returns red.
    Is this possible without using if statements (ie. just the address of the cell, A1)? I'm sorry I can't word this any better.
    Last edited by nesthead98; 11-01-2009 at 06:05 PM.

  2. #2
    Forum Moderator ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2003 & 2010
    Posts
    1,795

    Re: Reference Sheet

    Hi nesthead98,

    Try this in cell A2 of Sheet1:

    Code:
    =INDIRECT(ADDRESS(2,1,1,1,A1))
    Cheers,
    Docendo discimus.

    Please consider:
    • Thanking those who helped you. Click the reputation icon in the contributor's post and add Reputation.
    • Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  3. #3
    Registered User
    Join Date
    07-22-2009
    Location
    NYC, NY
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: Reference Sheet

    Ah-ha!
    It works!
    Thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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.2.0