Forum Discussion
Martin Noordewier
Oct 14, 2018Copper Contributor
VLookup has me stumped
I wish to be able to type a Last Name (of a person) into cell c5 in Worksheet A and have Excel look up the matching First and Last Names that are listed in Worksheet B in the cell range a3 to a50; so...
Martin Noordewier
Oct 15, 2018Copper Contributor
Thanks, Haytham. Much appreciated!
In your example, if the employee list in on the next worksheet in the workbook, how would I configure the Index formula so it looks for the data in that next worksheet.
Cheers!
Haytham Amairah
Oct 15, 2018Silver Contributor
Hi Martin,
Open a new sheet and name it (Employees List), then highlight the entire table in SheetA and press Ctrl+X to cut it out.
Then go to the new sheet and paste it there.
After that, the formula will update automatically as follows:
=INDEX('Employees List'!B2:B6&" "&'Employees List'!C2:C6,MATCH(F5,'Employees List'!C2:C6,0))
Please find this in the attached file
Hope that helps
- Martin NoordewierOct 15, 2018Copper Contributor
Thanks again, Haytham.
Regards,
Martin.