+ Reply to Thread
Results 1 to 3 of 3

Lookup between sheets and pull single value.

  1. #1
    Registered User
    Join Date
    08-23-2011
    Location
    Missouri, USA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Lookup between sheets and pull single value.

    Hello!

    I looked through the forum and I couldn't find what I was looking for. I know that it has to be in here, but the search wasn't working at the moment(recieved this error on search: Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 1048576 bytes) in /home/eforum/public_html/search.php on line 1012, **Don't worry already forwarded to webmaster).

    So here is what I am trying to do, I have an excel that in column A has a person's name and I wanted to be able to look in another sheet for that name and then pull their weight. However, the kicker is that I would like to use the column header to search for which sheet it should pull this information from. And the column header does not match the sheet name exactly, the difference is that the sheet name is "Month, Year" column header is only the "Month."

    I have attached an excel with sample data and sheet 4 is where I would like the results to be displayed.
    Attached Files Attached Files
    Last edited by gmaniac; 08-23-2011 at 11:21 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Lookup between sheets and pull single value.

    Try:

    =VLOOKUP($A4,INDIRECT("'"&B$2&", 2011'!A:B"),2,0)

    Note, A2 is mispelled according to match in the January sheet.... should be: LeVall, Adrienne
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    08-23-2011
    Location
    Missouri, USA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Lookup between sheets and pull single value.

    Nice catch, my girlfriend wouldn't be too happy I misspelled her name. Awesome! You are amazing, works perfectly.

+ 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