Data validation or conditional formatting

The Grim Discovery

Board Regular
Joined
Jan 23, 2015
Messages
241
Office Version
  1. 365
Platform
  1. Windows
Peoples

Please help.

Here's my situation. Cell D35 will contain either 'true' or 'false' depending on if the checkbox in D14 is ticked or not.

When D35 = "false" I want cells D20:D24 to be locked/uneditable.
When D35 = "true" I want to be able to enter either 'yes' or 'no' into each of cells D20:D24 - preferably by using a drop down menu in each.

I've been reading about getting dependent lists functioning for a similar(ish) but cant get this to work and I'm now not clear if this is about data validation or conditional formatting. Or something else.

Thanks so much.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Hi, you can do this with Data Validation.

Apply this Data Validation to D20 . . .

On the Data Validation dialog box
Setting tab
Allow: CUSTOM
Formula
=AND(D35=TRUE,OR(D20="YES",D20="NO"))
 
Upvote 0
Hi Gerald

Thanks for your support (not for the first time).
I've done as you've suggested but there's nothing happening. If you've any other ideas I'd be grateful
 
Upvote 0
Hi, how do you mean there's nothing happening ?

What SHOULD be happening is that IF D35 contains TRUE, then you should only be able to input YES or NO into D20.

It might not give you a drop down box, but it should prevent you inputing anything else.
 
Upvote 0

Forum statistics

Threads
1,215,580
Messages
6,125,654
Members
449,245
Latest member
PatrickL

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