Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
BenjieLop
 
Posts: n/a
Default Can you use 2 look up values in VLookup?


My apologies for a typo. The correct formula is

=VLOOKUP(E1,$A$1:$D$50,MATCH(E2,$A$1:$D$1,0),0)

with the correction in RED.

BTW, this is just one formula you can use. Another one you can use is
an INDEX/MATCH formula (which you found to be already working).

Regards and again, I apologize for sending you an earlier formula with
a typo.


dread Wrote:
I get #N/A

"BenjieLop" wrote:


Try this ...

=VLOOKUP(E1,$A$1:$D$50,MATCH(E2,$A$1:$D$50,0),0)

whe

cell E1 contains your Model Number (Model A, Model B ... whatever)
cell E2 contains your room (Bath, Kitchen. Laundry... whatever)
$A$1:$D$50 is the assumed range of your table.

Hope this will help you.

Regards.



dread Wrote:
Is it possible to use 2 look up values in VLookup? Or is there a
different
method I should be using?

For example:

Kitchen Bath Laundry
Model A Price A Price B Price C
Model B Price D Price E Price F

I have the model stored in cell A1 and the room stored in cell B1.

I
want
to look up the model (in cell A1) and the room (in cell B2) in the
table
array (above) and return the appropriate price. If I have Model A

and
Kitchen, I want VLookup to return Price A. If I have Model A and

Bath
I want
VLookup to return Price B and so on.

Thank you.



--
BenjieLop



------------------------------------------------------------------------
BenjieLop's Profile:

http://www.excelforum.com/member.php...o&userid=11019
View this thread:

http://www.excelforum.com/showthread...hreadid=555674




--
BenjieLop


------------------------------------------------------------------------
BenjieLop's Profile: http://www.excelforum.com/member.php...o&userid=11019
View this thread: http://www.excelforum.com/showthread...hreadid=555674

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
VLookup Null values Babylooch Excel Worksheet Functions 4 September 11th 06 03:43 PM
VLOOKUP using another table for comparison values Karen S. Excel Worksheet Functions 3 June 15th 06 09:56 PM
use vlookup or other to find the nearest values (<) or interpola Rodney Excel Worksheet Functions 4 April 5th 06 09:21 PM
Vlookup on a worksheet with similar values GWHITE1 Excel Worksheet Functions 3 December 31st 05 04:16 PM
vlookup returning multiple values soph Excel Worksheet Functions 2 October 14th 05 05:17 AM


All times are GMT +1. The time now is 02:08 PM.

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

About Us

"It's about Microsoft Excel"