vladimiratanasiu
Active Member
- Joined
- Dec 17, 2010
- Messages
- 347
- Office Version
- 365
- 2021
- Platform
- Windows
Hello!
I have a situation with costs for different services. I need a dynamic formula to calculate the monthly average value, including automatically the new added months but ignoring the annual totals (see formulas from D31, D32, D33).
Thank you!
I have a situation with costs for different services. I need a dynamic formula to calculate the monthly average value, including automatically the new added months but ignoring the annual totals (see formulas from D31, D32, D33).
Thank you!
Book1 | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | Year | Month | Costs | |||
2 | 2021 | Jan-21 | 67.82 | |||
3 | Feb-21 | 61.25 | ||||
4 | Mar-21 | 59.19 | ||||
5 | Apr-21 | 48.36 | ||||
6 | May-21 | 49.97 | ||||
7 | Jun-21 | 48.36 | ||||
8 | Jul-21 | 49.97 | ||||
9 | Aug-21 | 16.12 | ||||
10 | Sep-21 | 67.00 | ||||
11 | Oct-21 | 11.00 | ||||
12 | Nov-21 | 44.00 | ||||
13 | Dec-21 | 0.00 | ||||
14 | Total | 523.04 | ||||
15 | 2022 | Jan-22 | 54.00 | |||
16 | Feb-22 | 66.00 | ||||
17 | Mar-22 | 78.00 | ||||
18 | Apr-22 | 68.00 | ||||
19 | May-22 | -10.00 | ||||
20 | Jun-22 | 0.00 | ||||
21 | Jul-22 | 0.00 | ||||
22 | Aug-22 | 49.00 | ||||
23 | Sep-22 | 27.00 | ||||
24 | Oct-22 | 51.00 | ||||
25 | Nov-22 | 0.00 | ||||
26 | Dec-22 | 0.00 | ||||
27 | Total | 383.00 | ||||
28 | 2023 | Jan-23 | 0.00 | |||
29 | Feb-23 | 0.00 | ||||
30 | Mar-23 | 106.00 | ||||
31 | Apr-23 | 96.00 | 39.57 | |||
32 | May-23 | 46.00 | 39.79 | |||
33 | Jun-23 | 188.00 | 44.73 | |||
34 | Jul-23 | 0.00 | ||||
35 | Aug-23 | 0.00 | ||||
36 | Sep-23 | 0.00 | ||||
37 | Oct-23 | 0.00 | ||||
38 | Nov-23 | 0.00 | ||||
39 | Dec-23 | 0.00 | ||||
40 | Total | 436.00 | ||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D31 | D31 | =AVERAGE(C2:C13,C15:C26,C28:C31) |
D32 | D32 | =AVERAGE(C2:C13,C15:C26,C28:C32) |
D33 | D33 | =AVERAGE(C2:C13,C15:C26,C28:C33) |