+ Reply to Thread
Results 1 to 2 of 2

Return column based on cell value.

Hybrid View

  1. #1
    Registered User
    Join Date
    04-18-2008
    Posts
    11

    Return column based on cell value.

    Hi,

    I wish to show a cell address whose column is determined by the value of a different cell. For instance if cell A1 has the text "d" then cell A2 would return the value of cell D2 And if the cell had the text "f" then cell A2 would return the value of F2.

    Is this possible?

    Also the linked cell would be on a different worksheet, does this make a difference?

    Thank you so much in advance.

    Dev

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Return column based on cell value.

    Try

    =INDIRECT("'worksheet name'!"&A1&ROW())

    INDIRECT() is a volatile function so don't use a lot of them
    Last edited by Cutter; 01-25-2011 at 08:28 PM.

+ 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