vladimiratanasiu
Active Member
- Joined
- Dec 17, 2010
- Messages
- 365
- Office Version
- 365
- 2021
- Platform
- Windows
Hello!
I have a budget table with monthly expenses of an organization. Each cell filled in yellow summarizes costs resulted from all days of that month. I need a formula, to calculate automatically in the red cell progressive average of results (e.g. March 2022 – 1; September 2022 – 3.78), from the first month up to the last current one. Sometimes there are no monthly costs, but I wish they be taken into account as average elements, too.
Thank you!
I have a budget table with monthly expenses of an organization. Each cell filled in yellow summarizes costs resulted from all days of that month. I need a formula, to calculate automatically in the red cell progressive average of results (e.g. March 2022 – 1; September 2022 – 3.78), from the first month up to the last current one. Sometimes there are no monthly costs, but I wish they be taken into account as average elements, too.
Thank you!
Progressive average.xlsx | ||||
---|---|---|---|---|
A | B | |||
1 | 31-Jan-22 | .............. | ||
2 | 1 | |||
3 | 28-Feb-22 | …........... | ||
4 | 2 | |||
5 | 31-Mar-22 | …........... | ||
6 | 0 | |||
7 | 30-Apr-22 | …........... | ||
8 | 4 | |||
9 | 31-May-22 | …........... | ||
10 | 5 | |||
11 | 30-Jun-22 | …........... | ||
12 | 6 | |||
13 | 31-Jul-22 | …........... | ||
14 | 7 | |||
15 | 31-Aug-22 | …........... | ||
16 | 0 | |||
17 | 30-Sep-22 | …........... | ||
18 | 9 | |||
19 | 31-Oct-22 | …........... | ||
20 | 0 | |||
21 | 30-Nov-22 | …........... | ||
22 | 0 | |||
23 | 31-Dec-22 | …........... | ||
24 | 0 | |||
25 | Progressive average | |||
26 | Jan-22 | 1.00 | ||
27 | Feb-22 | 1.50 | ||
28 | Mar-22 | 1.00 | ||
29 | Apr-22 | 1.75 | ||
30 | …................... | …........... | ||
31 | Aug-22 | 3.125 | ||
32 | Sep-22 | 3.78 | ||
33 | Oct-22 | 0.00 | ||
34 | Nov-22 | 0.00 | ||
35 | Dec-22 | 0.00 | ||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B26 | B26 | =B2 |
B27 | B27 | =(B2+B4)/2 |
B28 | B28 | =(B2+B4+B6)/3 |
B29 | B29 | =(B2+B4+B6+B8)/4 |
B31 | B31 | =(B2+B4+B6+B8+B10+B12+B14+B16)/8 |
B32 | B32 | =(B2+B4+B6+B8+B10+B12+B14+B16+B18)/9 |