Hi there,
I'm looking for a formula to show the running average when the sum of the last n rows "B" is between a certain value, for example 500 to 550
Running Average of Cost when the sum of previous # row in B is between 500 to 550.
Thank you very much in advance!
I'm looking for a formula to show the running average when the sum of the last n rows "B" is between a certain value, for example 500 to 550
Running Average of Cost when the sum of previous # row in B is between 500 to 550.
A | B | Cost | Running Avg | Row included in running average |
1 | 100 | 2000 | ||
2 | 100 | 2000 | ||
3 | 75 | 1500 | ||
4 | 75 | 1500 | ||
5 | 50 | 1000 | ||
6 | 50 | 1000 | ||
7 | 50 | 1000 | 1550 | 1-7 |
8 | 100 | 1000 | 1350 | 2-8 |
9 | 100 | 1000 | 1150 | 3-9 |
10 | 100 | 1000 | 1071 | 4-10 |
11 | 100 | 2000 | 1200 | 6-11 |
12 | 100 | 2000 | 1400 | 8-12 |
Thank you very much in advance!