VLookup + Match functions for two column lookup with multiple words

liveproper

New Member
Joined
Apr 25, 2013
Messages
4
Hello,

I am attempting to create a sales quote creator. I have a product database in one sheet with product number, product, product options, and price in each column.
I then have the 'sales quote creator' in another sheet with a dependent dropdown list (with product options being dependent on which product you choose). Of course, as there is a space in the names so I used =INDIRECT(SUBSTITUTE(B6," ","")). (For a more thorough description of how I made a dependent dropdown list with multiple words you can view: http://www.contextures.com/xlDataVal02.html)

My problem is I now want to pull up the price based on the product and product option chosen. I am fairly certain that you can use a combination of the VLookup and Match functions to accomplish this, however I don't know how to make it work with the Indirect function. Maybe you don't even need it. I don't know.

Anyway this is a visual representation of what I am after: dropbox link.

If anything is unclear please let me know. Thanks!!
LP
 
Last edited:

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
in sheet 2 put this formula

=sumproduct((sheet1!b3:b1000=B6)*(sheet1!c3:c1000=c6)*sheet1!d3:d1000))

this will return $9.00
 
Upvote 0
=sumproduct((sheet1!b3:b1000=B6)*(sheet1!c3:c1000=c6)*sheet1!d3:d1000)) should be

=sumproduct((sheet1!b3:b1000=B6)*(sheet1!c3:c1000=c6)*(sheet1!d3:d1000))
^
a dreaded typo

just type this formula into your sheet 2


 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top