I work in admin at one of my local hospital, due to COVID, all visits are on an appointment-only basis. We can't have more than one visitor per room per 24h. The gov considers dual beds rooms to be one room so only one visitor per 24h is allowed in dual bed rooms.
Because of staff permutation and high volume of calls, errors and duplicates are occurring, I am working on a table to mitigate the hassle.
Dual bed rooms use the same format than single bed ones. In a dual beds rooms, bed 1 and bed 2 are assigned two distinct rooms numbers.
I use this formula in a custom data validation rule to prevent duplicates (take note that I'm using french, it's the COUNTIF function):
=NB.SI(C:C,C6)=1
I now need to add a rule to prevent specific combinations of numbers in a column. ex: 1004 and 1006 in the same column would trigger an error message.
I wrote this formula (ET=AND NB.SI=COUNTIF):
=ET(NB.SI(C:C,1004)=1,NB.SI(C:C,1006)=1)
How do I combine them into a single data validation rule?
The goal is to create a foolproof work tool for bottom end employees and promote staff permutation.
Bookmarks