formula for multiple drop list selections

davethacker

New Member
Joined
Jul 20, 2003
Messages
14
I need to know how to cause box (C5) in my example to be populated from the lower table with the associated door factor related to the selections in (C2) and (C3). I have used the formula

=if(C2="Charleston")*(C3="Oak"),B20,if(C2="Concord")*(C3="Oak),B21,if and so on.....

This works however this can only be repeated seven times in the formula bar. I need Thirty two as you can see by the lower table in my example. Any suggestions on how this can be accomplished?

Thanks for your help,
Dave
Excel_validation_problem.xls
ABCDEFGH
1
2SelectDoorStyleCharleston
3SelectWoodSpecieOak
4SelectAvailablestainAutumn
5Doorfactor
6Availablewoodspecies
7OakAlderMapleCherry
8AvailableStainsNaturalNaturalNaturalNatural
9AutumnGoldenGoldenGolden
10NutmegAutumnAutumnAutumn
11JavaSiennaSienna
12PacificaBrandyBrandy
13JuniperCinnamonCinnamon
14GraphiteNutmegNutmeg
15Java
16
17
18DoorstylesAvailablewoodspecies
19OakAlderMapleCherry
20Charleston1.481.481.51.65Doorfactor
21Concord1.31.31.41.42
22Boston1.421.421.51.59
23Savannah1.361.361.41.48
24Dakota1.481.481.51.59
25Wyoming1.361.361.41.48
26Colorado1.531.531.61.65
27Montana1.421.421.51.53
Sheet1
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
This should do the trick...
=INDEX(B20:E27,MATCH(C2,A20:A27,0),MATCH(C3,B19:E19,0))

Note: I'd suggest using named ranges to make the formula much easier to read/audit
 
Upvote 0
Hi, I think I understand what you want, try putting this in c5

=INDEX($B$20:$E$27,MATCH($C$2,$A$20:$A$27,0),MATCH($C$3,$B$19:$E$19,0))

Enjoy...
 
Upvote 0

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

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