Hi everyone,
I am trying to figure out, how to setup data validation on such way, that if a time entry crosses into an already existing time lapse an error/warning is shown.
Because I am in Europe, I use European formats
Example:
Date |
from |
until |
29.10.2021 |
13:00 |
14:30 |
30.10.2021 |
09:45 |
10:30 |
As we can see in the example on the 29th of October the starting time is 1pm until 2:30 pm while the second example is on 30th October from 9:45am until 10:30am.
If possible, I would like to have the mentioned data validation to prevent, that I record time, which has been already booked.
For example, if I would enter on 29th October to work from 14:00 until 15:00 (2am - 3pm), the system should warn me, because I have already an entry on the specific date from 1pm until 2:30pm and therefore it is overlapping.
I found an article but it is somehow not working on my side using the following formula:
Unfortunately, being a greenhorn and not often here, I am not allowed to add the at sign, which is in the code 
Therefore I replaced the at sign and just wrote at, sorry for that!
When I try to use this formula, I can try to enter any starting time, I get the error window, whereas I understand, that 24hrs are somehow already occupied (no clue what I am doing wrong). I also tried to convert the date from European into US and combine date with time but it didn't like that either.
Maybe there is a simpler way to solve the issue and I do not need to use the function with indirect and could use something else?
It wouldn't be the end of the world, if there is no solution for it but it would be a "nice to have".
Thank you very much for any help or suggestions,
Mike
Bookmarks