FuNeS13
Board Regular
- Joined
- Oct 25, 2016
- Messages
- 160
- Office Version
- 365
- 2016
- Platform
- Windows
- Mobile
- Web
This is one of the most stressful reports I have ever helped with and I am out of ideas... I have the following Formula:
=($C$3/(($E$3+365)-$E$3))*DAY(EOMONTH($E$3,$T11))
Where:
C3 = 80,000
E3 = 2/1/2024
T11 = 0 (it goes down row by row and adds 1 each row).
Basically what it does it divides the 80,000 by the number of days in a year (365) and then multiplies the result for the number of days in the first month, in this case february (2024).
As you can imagine the formula works great when I put an early non leap year date (for example 2/1/2021) and it some cases other months as well... If my date is 3/1/2023 the formula add an aditional day to the total sum which is located in P23 and it should match the amount in C3...
I'm out of ideas and I have no idea how to make this work for leap year dates as well...
has anymore encountered anything like this?
=($C$3/(($E$3+365)-$E$3))*DAY(EOMONTH($E$3,$T11))
Where:
C3 = 80,000
E3 = 2/1/2024
T11 = 0 (it goes down row by row and adds 1 each row).
Basically what it does it divides the 80,000 by the number of days in a year (365) and then multiplies the result for the number of days in the first month, in this case february (2024).
As you can imagine the formula works great when I put an early non leap year date (for example 2/1/2021) and it some cases other months as well... If my date is 3/1/2023 the formula add an aditional day to the total sum which is located in P23 and it should match the amount in C3...
I'm out of ideas and I have no idea how to make this work for leap year dates as well...
has anymore encountered anything like this?