Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
andyp161
 
Posts: n/a
Default Excel Problem: VLookup


Hi there,

When using Vlookup, is it possible to use a lookup value in 2 adjacent
cells i.e the lookup values I am using are people's surnames, but where
people have the same surname vlookup does not work. Therefore, I want
to be able to use a1:b1 as a lookup value that will contain the
forename in a1 and the surname in b1 - howeverm this does not seem to
work??

Many thanks


--
andyp161
------------------------------------------------------------------------
andyp161's Profile: http://www.excelforum.com/member.php...o&userid=11654
View this thread: http://www.excelforum.com/showthread...hreadid=314831

  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
try the following array formula (entered with CTRL+SHIFT+ENTER):
=INDEX(C1:C100,MATCH(1,(A1:A100="surname")*(B1:B10 0="firstname"),0))

"andyp161" wrote:


Hi there,

When using Vlookup, is it possible to use a lookup value in 2 adjacent
cells i.e the lookup values I am using are people's surnames, but where
people have the same surname vlookup does not work. Therefore, I want
to be able to use a1:b1 as a lookup value that will contain the
forename in a1 and the surname in b1 - howeverm this does not seem to
work??

Many thanks


--
andyp161
------------------------------------------------------------------------
andyp161's Profile: http://www.excelforum.com/member.php...o&userid=11654
View this thread: http://www.excelforum.com/showthread...hreadid=314831


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Row Autofit problem Excel 2003 Matthias Klaey Excel Discussion (Misc queries) 0 January 19th 05 05:33 PM
Excel problem with web based spreadsheets Steve Williams Excel Discussion (Misc queries) 0 January 12th 05 02:11 PM
Excel 97 chart opened in Excel 2003 - Source Data problem DHunt Charts and Charting in Excel 0 December 6th 04 08:05 PM
Staring Excel Problem Everton Excel Discussion (Misc queries) 1 November 26th 04 09:22 PM


All times are GMT +1. The time now is 05:31 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"