+ Reply to Thread
Results 1 to 4 of 4

Find Worksheet Based on Data in a Cell

Hybrid View

  1. #1
    Registered User
    Join Date
    01-23-2007
    Posts
    6

    Find Worksheet Based on Data in a Cell

    In Sheet1 I've got a list of names in column A, then I've got a worksheet for each name in the list. I'd like to fill in column B with information from the worksheet of the same name as in column A.

    Quick example...name in column A is Davis, want to fill in column B with a value from cell C3 on worksheet named Davis and do it for the entire list. Data being looked for is in same cell on each worksheet.

    Tried using a formula and dragging it down the list, problem with that is it doesn't change the sheetname just the cell.

    Thinking the solution is in VBA land...but hoping not.

    TIA,

    Jeff
    Last edited by collinjc; 01-13-2010 at 11:40 PM. Reason: Solved

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Find Worksheet Based on Data in a Cell

    Hi Jeff,

    You can use the INDIRECT function for this, e.g.

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

  3. #3
    Registered User
    Join Date
    01-23-2007
    Posts
    6

    Re: Find Worksheet Based on Data in a Cell

    Guessing I'm missing something.

    Attached is a small file.
    Attached Files Attached Files

  4. #4
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Find Worksheet Based on Data in a Cell

    You have to change the reference of A1 to the cell reference with your sheet name in it. In your uploaded file, change the first formula from A1 to A4 so it references the cell that contains Jeff. Copy that formula down and it will reference the text in A5.

+ Reply to Thread

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.6.0 RC 1