Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RMF
 
Posts: n/a
Default VLOOKUP - Multiple cells in lookup value

I would like to know how I can take multiple cells together in a VLOOKUP
formula. Let me explain, I have 2 sheets:

Sheet1
A
1 Red
2 Blue
3 Yellow
4
5 =VLOOKUP(A1&A2&A3, Sheet2!A1:D5,4) answer 15


Sheet2
A B C D
1 Red Blue Yellow 10
2 Orange Purple Black 20
3 Pink White Silver 15
4
5

I want the VLOOKUP to return the value 10 from Sheet2, but it returns 15.
apparently the Vlookup cannot handle multiple Vlookup values.

Is there a way to solve this?

Your help is highly appreciated!

RMF
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default VLOOKUP - Multiple cells in lookup value


=INDEX(D1:D5,MATCH(A1&A2&A3,A1:A5&B1:B5&C1:C5,0))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"RMF" wrote in message
...
I would like to know how I can take multiple cells together in a VLOOKUP
formula. Let me explain, I have 2 sheets:

Sheet1
A
1 Red
2 Blue
3 Yellow
4
5 =VLOOKUP(A1&A2&A3, Sheet2!A1:D5,4) answer 15


Sheet2
A B C D
1 Red Blue Yellow 10
2 Orange Purple Black 20
3 Pink White Silver 15
4
5

I want the VLOOKUP to return the value 10 from Sheet2, but it returns 15.
apparently the Vlookup cannot handle multiple Vlookup values.

Is there a way to solve this?

Your help is highly appreciated!

RMF



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
Multiple vlookup Robo Excel Discussion (Misc queries) 3 November 14th 05 02:04 PM
vlookup, multiple values, sum values into one cell?? Phillips L Excel Worksheet Functions 4 November 9th 05 12:31 AM
help with vlookup across multiple worksheets jnasr Excel Worksheet Functions 5 November 3rd 05 02:57 AM
Populate multiple cells using the same reference nick Excel Worksheet Functions 0 October 3rd 05 03:33 PM
VLOOKUP and multiple columns Dan Belcher Excel Discussion (Misc queries) 6 September 17th 05 11:47 AM


All times are GMT +1. The time now is 09:41 PM.

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"