Restrict entry on certain cells based on multiple drop drop-down list

Vani11

New Member
Joined
Sep 19, 2017
Messages
9
Hi There!

I have been working on excel codes to restrict specific cells based on values from multiple drop-down list.

Subject NameTypeStatusAppointment IDTime
Test Subject 1HV 15033
Test Subject 2DM 13588
Test Subject 3DM 82215
Test Subject 4RP DM/HVNewConfirmed 15632
Test Subject 5HVNewRescheduled 15643

<tbody>
</tbody>

Columns, "Type", "Status", "Appointment" have drop-down list menu.

When the user selected the values from the "Type" column, the cells from the "Time" will have to be disabled.

When the user selects, "DM" or "HV", the cells under the "Time" must be disabled.

The cells under the "Time" will only be enabled if the user selects "RP DM/HV".

I find this quite tedious because there will be multiple drop down list throughout the spreadsheet.

Vani
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
You said:
"I have been working on excel codes to restrict specific cells based on values from multiple drop-down list."

Show us the code you have written.
 
Upvote 0
Hi There!

I did used codes but have removed it from the code page.

Tried using Conditional Formatting but it does not work.
 
Upvote 0
Hi,

What did you try as conditional formatting? That should work, select Time column set font to white to make it invisible, add conditional formatting with formula.

Use this formula =B2="RP DM/HV" and make it change the font to black. (when applied to multiple cells B2 is treated as a relative reference, it will check column B in the relevant row)
 
Upvote 0
Hi,

Would there be a way to link a dropdown list value to a user form? The appointment column "D" has drop-down list.

The drop-down list values are:
Confirmed
Rescheduled
Cancelled

If a user selects, "Rescheduled", a pop up form should appear to users to select the following checkboxes:

*Blood Test *Urinalysis * Blood Pressure

Next, when the user mouse over that row of data where the appointment is "rescheduled", it should show the checkbox which the user have selected.

Subject NameTypeResAppointmentIDTime
DM New0.30Confirmed156058:45 AM
0.00
0.00
0.00
0.00
0.00
0.00
0.00

<tbody>
</tbody>

 
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,427
Members
448,961
Latest member
nzskater

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