+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : VLOOKUP Help: Using a cell value as the lookup value

  1. #1
    Registered User
    Join Date
    10-07-2010
    Location
    Washington
    MS-Off Ver
    Excel 2003
    Posts
    2

    VLOOKUP Help: Using a cell value as the lookup value

    Right now, I am using the VLOOKUP function to compile information about people from multiple sheets and workbooks onto one form. What I would like to do is write someone's name in a cell and have the VLOOKUP formulas update to search for that name. Is this possible? (Example below)

    Thanks!

    Name Age Grade Score
    Jim 7 2 17
    Jack 8 3 18
    Joe 9 4 19
    Mary 10 5 20
    Nancy 11 6 21


    Name (type name in here, ex. Mary)

    Age 10 (values display here)
    Grade 5
    Score 20

    Since I'm pulling information from multiple sheets and books and there are about 20 different formulas, I'm looking for a way to quickly compile all the information onto one form. Right now my formula is:

    =vlookup(ʺMaryʺ,$A$1:$D$6,2)

    And I'd have to change the lookup value for each formula every time.
    Last edited by gabel123; 10-07-2010 at 10:30 PM. Reason: Title Change

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: VLOOKUP Help: Using a cell value as the lookup value

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!

+ 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