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.
Last edited by gmaniac; 08-23-2011 at 11:21 AM.
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
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Nice catch, my girlfriend wouldn't be too happy I misspelled her name. Awesome! You are amazing, works perfectly.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks