I have a form where i am trying to limit a response to a date/time question to weekdays during office hours. I have the solution to the weekday side of this from a previous question, which is listed below. I am curious about how I could put in the time of day restraint as well. Any thoughts?
NOT(IN(WEEKDAY([Barrel Drop Off Date/Time]), LIST(1, 7)))
Solved! Go to Solution.
Your expression should go in Valid if property for the Barrel Drop Off Date/Time column.
Youโll need to combine the weekday check and the hours check to get complete coverage.
AND(
NOT(IN(WEEKDAY([Barrel Drop Off Date/Time]), LIST(1, 7))),
(TIME([Barrel Drop Off Date/Time]) >= "09:00:00"),
(TIME([Barrel Drop Off Date/Time]) < "15:00:00")
)
User | Count |
---|---|
33 | |
31 | |
30 | |
19 | |
18 |