suciulaurentiu
New Member
- Joined
- Oct 20, 2014
- Messages
- 37
- Office Version
- 365
- Platform
- Windows
Hello,
I have the following question regarding the formula and what I am trying to achieve:
Start_Date , End_date
months_interval = one number of random months (ex. 48)
Start_Date - Today (ex. 01.11.2021)
End_date - =IFERROR(EDATE((EDATE(Start_date;months_interval))-1;1);""))
I am trying here to calculate the end date by adding some months interval and the day should -1 day of the result ( we should have to count even for the february months, if it's a leap year or not...)
Ex: Start : 01.12.2021 End: 31.12.2023
Start: 05.12.2021 End: 04.01.2024
Right now my end result is: Start : 01.12.2021 End: 30.12.2023 not sure what is wrong..
I have the following question regarding the formula and what I am trying to achieve:
Start_Date , End_date
months_interval = one number of random months (ex. 48)
Start_Date - Today (ex. 01.11.2021)
End_date - =IFERROR(EDATE((EDATE(Start_date;months_interval))-1;1);""))
I am trying here to calculate the end date by adding some months interval and the day should -1 day of the result ( we should have to count even for the february months, if it's a leap year or not...)
Ex: Start : 01.12.2021 End: 31.12.2023
Start: 05.12.2021 End: 04.01.2024
Right now my end result is: Start : 01.12.2021 End: 30.12.2023 not sure what is wrong..