Help with WORKDAY()

Hello, could someone help me with this:
I have a creation date [FECHA DE CREACION].
I want to get a deadline [FECHA LIMITE], adding 8 hours from the creation date.
But I want the deadline to contemplate only business days from Monday to Friday and a schedule from 9:00 a.m. to 6:00 p.m.

I already tried workday, but Iโ€™m not getting what Iโ€™m looking for.

3X_1_8_18f045132f7f3efd59fcb5f18b41096023dc2806.png

Solved Solved
0 5 393
1 ACCEPTED SOLUTION

Please try the below expression in [FECHA LIMITE]. You could make it more compact with more testing. Please test well.

IF(TIME( [FECHA DE CREACION])<=โ€œ10:00:00โ€,
[FECHA DE CREACION] + โ€œ008:00:00โ€,
DATETIME(WORKDAY(DATE( [FECHA DE CREACION]),1) + โ€œ009:00:00โ€) +
(โ€œ008:00:00โ€ - (DATETIME(DATE( [FECHA DE CREACION])-โ€œ006:00:00โ€) -
[FECHA DE CREACION])
)
)

View solution in original post

5 REPLIES 5
Top Labels in this Space