Vlookup formula
Hi, Hope someone can help with this.. If range A:A contained First Names and range B:B contained Surnames and I wanted to find the surname of the person in column A I would use.. =VLOOKUP("John",A:B,2,false) Which would return Smith is there a way to search for Smith and find the result John? Thanks John -- johncassell ------------------------------------------------------------------------ johncassell's Profile: http://www.excelforum.com/member.php...o&userid=25016 View this thread: http://www.excelforum.com/showthread...hreadid=512262 |
Vlookup formula
=index(a:a,match("smith",b:b,0))
You may want to read Debra Dalgleish's notes: http://www.contextures.com/xlFunctions02.html (for =vlookup()) and http://www.contextures.com/xlFunctions03.html (for =index(match())) johncassell wrote: Hi, Hope someone can help with this.. If range A:A contained First Names and range B:B contained Surnames and I wanted to find the surname of the person in column A I would use.. =VLOOKUP("John",A:B,2,false) Which would return Smith is there a way to search for Smith and find the result John? Thanks John -- johncassell ------------------------------------------------------------------------ johncassell's Profile: http://www.excelforum.com/member.php...o&userid=25016 View this thread: http://www.excelforum.com/showthread...hreadid=512262 -- Dave Peterson |
Vlookup formula
Excellent, thanks a lot for that Dave. Much appreciated. Thanks again John -- johncassell ------------------------------------------------------------------------ johncassell's Profile: http://www.excelforum.com/member.php...o&userid=25016 View this thread: http://www.excelforum.com/showthread...hreadid=512262 |
All times are GMT +1. The time now is 02:48 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com