-1
Is there any formula I can use for the cell to return the date corresponding to the term?
If I enter the date 03/01/2020 in the cell, I want another cell next to return the date with the calculation of 5 working days.
It would look like this: 03/01/2020
The cell on the side would return 10/01/2020 automatically considering only working days.
Since I already typed the cells as date, a simple sum would solve the case. Assuming that the value of A1 is 03/01/2020
=A1+5
It returns me 08/01/2020 when it should actually be 10/01/2020. The problem is that it doesn’t just consider working days.
Put the code you have already tried to do, and you have already looked at this https://answall.com/questions/23537/f%C3%b3rmula-para-calculable-intervals-num%C3%a9ricos-no-excel? Rq=1 ?
– KALIBBAN
I didn’t understand how the formula
SE
could help in this case. Even if conditions apply, it would not return the date.– Thiago Vinícius
Then post the part of the code you’re in trouble with
– KALIBBAN
Okay, Kalibban, I’ve inserted my failed attempt.
– Thiago Vinícius
In fact it will return you 08/01/2020 because you are making a sum.
– KALIBBAN
Exactly, I was wondering if there’s any way to set up the count just with working days, but there shouldn’t be, I guess.
– Thiago Vinícius
The DIATRABALHO function does just that. https://support.office.com/pt-br/article/diatrabalho-fun%C3%A7%C3%A3o-diatrabalho-f764a5b7-05fc-4494-9486-60d494efbf33
– anonimo
@anonimo the function DIATRABALHO needs to be passed the 2 dates as parameter,and from what I understand it will give the entry at any date and inform 5 days,so that from there occurs the return of the date accounting 5 working days.
– KALIBBAN
@KALIBBAN: I believe you have confused the DIATRABAT function with the DIATRABAT function.
– anonimo
@anonimo really i puzzled,but still both need to have 2 dates as parameter,and what he is trying to do and pass a date and a number of days.
– KALIBBAN