Data Validation list to have a certain value

craigwojo

Board Regular
Joined
Jan 7, 2005
Messages
245
Office Version
  1. 365
Platform
  1. Windows
In a Data Validation cell, I need to have a value for each item. If they pick "Digital Media" in E3 then the value would be 1.50. The items associated with the cell are (=Sheet2!A1:A14).
How is this done?
 
It needs a change to the existing formulas in N3 and P3 which is why I asked what those formulas are.
 
Upvote 0

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
I don't see that it would be necessary, you only need to copy the formulas from the cells, but if you need to, you can post sections of your sheet using XL2BB

 
Upvote 0
I'm sorry. I added another column in the spreadsheet and it shifted some columns.

In K3 I need to add .20 per sqft if "YES' in cell "L3" is chose (=Sheet2!$D$1:$D$3) the cell that contains "YES" is D2.

Also, if M3 is "YES" it will add 10% to O3 (=VLOOKUP(E3,Sheet2!$A$1:$B$14,2,0) and Q3 (=VLOOKUP(E3,Sheet2!$A$1:$C$14,3,0).

Also, I attached Sheet 2 that has all the data lists for Data Validation and VLOOKUP.

Again, Thank you so much.

God bless,
Craig
 

Attachments

  • Total Pricing addons2.png
    Total Pricing addons2.png
    12 KB · Views: 2
  • Sheet2 for data and VLOOKUP.png
    Sheet2 for data and VLOOKUP.png
    10.5 KB · Views: 2
Upvote 0
This should do it, new formula for O3 =VLOOKUP(E3,Sheet2!$A$1:$B$14,2,0)+IF(L3="YES",0.20,0)

For Q3 =VLOOKUP(E3,Sheet2!$A$1:$C$14,3,0)*IF(M3="YES",1.1,1)
 
Upvote 0
This should do it, new formula for O3 =VLOOKUP(E3,Sheet2!$A$1:$B$14,2,0)+IF(L3="YES",0.20,0)

For Q3 =VLOOKUP(E3,Sheet2!$A$1:$C$14,3,0)*IF(M3="YES",1.1,1)

OK. I'm sorry if I messed up but, M3 would increase both O3 and Q3 10%.

While L3 would only effect Q3 adding 0.20 per sqft in J3.

Thank you.
 
Upvote 0
If L3 and M3 are both "YES" which should be added to Q3 first, $0.20 or 10%?

Starting with $1.00 in Q3, should the result be $1.32 ($0.20 added before 10%) or $1.30 ($0.20 added after 10%)?
 
Upvote 0
If L3 and M3 are both "YES" which should be added to Q3 first, $0.20, or 10%?

Starting with $1.00 in Q3, should the result be $1.32 ($0.20 added before 10%) or $1.30 ($0.20 added after 10%)?


First, add the 10% then 0.20 would be added after.
$1.30 ($0.20 added after 10%)

I hope this is what you're asking.
 
Upvote 0
I think this should do it (not tested)

=VLOOKUP(E3,Sheet2!$A$1:$B$14,2,0)*IF(M3="YES",1.1,1)+IF(L3="YES",0.20,0)
 
Upvote 0
Thank you for everything. I did a little tweaking and learned some.

Thank you and God bless,
Craig
 
Upvote 0

Forum statistics

Threads
1,214,650
Messages
6,120,736
Members
448,988
Latest member
BB_Unlv

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