How to preserve data validation in cells while protecting worksheet?

sandyandy5

New Member
Joined
May 24, 2022
Messages
35
Office Version
  1. 365
Platform
  1. Windows
Hi, I'm a rookie excel user that has been getting amazing support from the Mrexcel forum and have encountered another problem. Once I protect the sheet, close it down and open it up again, the data validation to the cells aren't being recognized and only one drop down is available from the dropdown boxes attached to the cell where there is usually 10options to choose from. Is my best option just to leave the sheet unprotected (its a nursing and midwives roster) or is there an easy fix? Below is the layout of the sheet and formuals as well as the data validation formula.
Thanks in advance brains trust, appreciate your time and efforts

Roster Template.xlsx
ABCDEFG
1Maternity ward04 July 2022 -EFTMTWT
231 July 20224567
3Leadership J PITSON1.00
4S COLLIER0.74
5D CUSHING1.00
6H FITT0.63
7J FORBES0.74
8H HINSON0.74
9S HOCKING0.21
10D KERR1.00
11K MCCORMICK0.63
12S NEWNHAM0.42
13B SALATHIEL0.74
14T VIERBOOM1.00
15M WELCH0.32
16M YOUNG0.63
Roster
Cell Formulas
RangeFormula
B2B2=B1+27
D2D2=B1
E2:G2E2=D2+1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D15:AE15Cell Valuecontains ""textNO
D15:AE15Cell Valuecontains ""textNO
D15:AE15Cell Valuecontains ""textNO
D15:AE15Cell Valuecontains ""textNO
D15:AE15Cell Valuecontains ""textNO
D15:AE15Cell Valuecontains ""textNO
D13:AE13Cell Valuecontains ""textNO
D13:AE13Cell Valuecontains ""textNO
D13:AE13Cell Valuecontains ""textNO
D13:AE13Cell Valuecontains ""textNO
D13:AE13Cell Valuecontains ""textNO
D13:AE13Cell Valuecontains ""textNO
D11:AE11Cell Valuecontains ""textNO
D11:AE11Cell Valuecontains ""textNO
D11:AE11Cell Valuecontains ""textNO
D11:AE11Cell Valuecontains ""textNO
D11:AE11Cell Valuecontains ""textNO
D11:AE11Cell Valuecontains ""textNO
D3:W3Cell Valuecontains ""textNO
D3:W3Cell Valuecontains ""textNO
D3:W3Cell Valuecontains ""textNO
D16:AE16Cell Valuecontains ""textNO
D16:AE16Cell Valuecontains ""textNO
D16:AE16Cell Valuecontains ""textNO
D14:AE14Cell Valuecontains ""textNO
D14:AE14Cell Valuecontains ""textNO
D14:AE14Cell Valuecontains ""textNO
D12:AE12Cell Valuecontains ""textNO
D12:AE12Cell Valuecontains ""textNO
D12:AE12Cell Valuecontains ""textNO
D12:AE12,D16:AE16,D4:AE10Cell Valuecontains ""textNO
D12:AE12,D16:AE16,D4:AE10Cell Valuecontains ""textNO
D12:AE12,D16:AE16,D4:AE10Cell Valuecontains ""textNO
AD122:AE126,W122:X126,P122:Q126,I122:J126,I118:J120,P118:Q120,W118:X120,AD118:AE120,D114:AE117,D86:AE88,D90:AD90,D6:AE6,D14:AE14,D26:D28,D20:AE20,D22:AE22,D32:D38,D41:D71,D73:D78,H76:AE78,G77:G82,F76:F78,F73:AE75,F41:AE71,F32:AE38,F26:AE28,E33:E35,E27,E29Cell Valuecontains ""textNO
AD122:AE126,W122:X126,P122:Q126,I122:J126,I118:J120,P118:Q120,W118:X120,AD118:AE120,D114:AE117,D86:AE88,D90:AD90,D6:AE6,D14:AE14,D26:D28,D20:AE20,D22:AE22,D32:D38,D41:D71,D73:D78,H76:AE78,G77:G82,F76:F78,F73:AE75,F41:AE71,F32:AE38,F26:AE28,E33:E35,E27,E29Cell Valuecontains ""textNO
AD122:AE126,W122:X126,P122:Q126,I122:J126,I118:J120,P118:Q120,W118:X120,AD118:AE120,D114:AE117,D86:AE88,D90:AD90,D6:AE6,D14:AE14,D26:D28,D20:AE20,D22:AE22,D32:D38,D41:D71,D73:D78,H76:AE78,G77:G82,F76:F78,F73:AE75,F41:AE71,F32:AE38,F26:AE28,E33:E35,E27,E29Cell Valuecontains ""textNO
Cells with Data Validation
CellAllowCriteria
B1Any value
D3List=OFFSET(Valid!M$24,,,SUM(N(Valid!M$3:M$19<>"")),1)
E3:AE3List=Valid!$A$2:$A$17
D4:AE16List=OFFSET(Valid!M$3,,,SUM(N(Valid!M$3:M$19<>"")),1)



data validation formula used for this set of nursing staff: =OFFSET(Valid!M$3,,,SUM(N(Valid!M$3:M$19<>"")),1)
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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