BrutalLogiC
Active Member
- Joined
- Feb 26, 2006
- Messages
- 274
- Office Version
- 365
- Platform
- Windows
Hey I'm struggling with a formula for cells in yellow to calculate the monthly values for a contract which keeps changing its value. Contract started 30-Jan-24 with an annualised value of 15,000 then this annualised value was replaced/updated 3 times before the contract came to an end on 2-Aug-24.
H6:S6 in grey are just my manual calculations to to show what values should be.
For months where there is no variation change in value I am expecting the result to be the latest annualised value divided by 12, e.g. for April the value should 1/12th of variation 2 annualised value.
For months where there is a change in value (March and June) or a partial month (e.g. January and August where there are only 2 days) the value should be calculated based on the corresponding annualised value divided by 365.
H6:S6 in grey are just my manual calculations to to show what values should be.
For months where there is no variation change in value I am expecting the result to be the latest annualised value divided by 12, e.g. for April the value should 1/12th of variation 2 annualised value.
For months where there is a change in value (March and June) or a partial month (e.g. January and August where there are only 2 days) the value should be calculated based on the corresponding annualised value divided by 365.
monthly value formula.xlsx | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | |||
2 | Contract phase | Start date of contract phase | Annualised value | Daily value | Jan-24 | Feb-24 | Mar-24 | Apr-24 | May-24 | Jun-24 | Jul-24 | Aug-24 | Sep-24 | Oct-24 | Nov-24 | Dec-24 | Total | |||
3 | Start | 30-Jan-24 | 15,000 | 41 | 0 | |||||||||||||||
4 | Variation 1 | 1-Feb-24 | 12,000 | 33 | ||||||||||||||||
5 | Variation 2 | 5-Mar-24 | 16,000 | 44 | Jan-24 | Feb-24 | Mar-24 | Apr-24 | May-24 | Jun-24 | Jul-24 | Aug-24 | Sep-24 | Oct-24 | Nov-24 | Dec-24 | Total | |||
6 | Variation 3 | 28-Jun-24 | 20,000 | 55 | Values should be: | 82 | 1,000 | 1,315 | 1,333 | 1,333 | 1,348 | 1,667 | 110 | 8,188 | ||||||
7 | ||||||||||||||||||||
8 | End date | 2-Aug-24 | ||||||||||||||||||
Sheet2 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
T3,T6 | T3 | =SUM(H3:S3) |
F3:F6 | F3 | =E3/365 |
H6 | H6 | =E3/365*2 |
I6 | I6 | =E4/12 |
J6 | J6 | =(E5/365*27)+(E4/365*4) |
K6 | K6 | =E5/12 |
L6 | L6 | =E5/12 |
M6 | M6 | =E5/365*27+E6/365*3 |
N6 | N6 | =E6/12 |
O6 | O6 | =E6/365*2 |