+ Reply to Thread
Results 1 to 3 of 3

Formula to use content of cell as sheet reference

  1. #1
    Forum Contributor
    Join Date
    07-17-2013
    Location
    Birmingham, England
    MS-Off Ver
    Excel for O365
    Posts
    197

    Formula to use content of cell as sheet reference

    Hi all,

    Is it possible to use the contents of a cell to point to the location of another cell within a different sheet. For example...

    ---A------B-----
    1-Y7
    2-C4

    In A1 is the name of the other sheet, in A2 is the cell in sheet Y7 I want to lookup.

    My best guest is:

    ="'"&A1&"'!"&A2

    but that just shows the the cell location as a text string like this... 'Y7'!C4


    Thanks in advance,

    Jason

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,861

    Re: Formula to use content of cell as sheet reference

    You need to use INDIRECT to convert that string into a reference that Excel can make use of, like this:

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

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    07-17-2013
    Location
    Birmingham, England
    MS-Off Ver
    Excel for O365
    Posts
    197

    Re: Formula to use content of cell as sheet reference

    Lovely. Thank you very much. Knew it was only missing a piece.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] If cell X's content in Sheet A equals to cell Y's content in Sheet B, Then copy some data.
    By sunheroj in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-09-2012, 09:25 AM
  2. Us Cell Content As Reference in Formula For List
    By clgustaveson in forum Excel General
    Replies: 4
    Last Post: 04-01-2011, 03:03 PM
  3. Replies: 5
    Last Post: 06-21-2006, 04:15 PM
  4. Reference Cell content in formula
    By murphyz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-06-2005, 12:06 PM
  5. Replies: 0
    Last Post: 02-11-2005, 02:06 AM

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