frenchpress61
New Member
- Joined
- Aug 7, 2023
- Messages
- 4
- Office Version
- 2016
- Platform
- Windows
Hello
New to the forum, I have struggled with this for hours now and hope someone can help. I'm trying to derive a function which generates a rolling average of the first five non-zero of a column.
Example column:
1
0
5
4
0
6
8
0
0
9
0
2
First average computed would be (1+5+4+6+8)/5 = 4.8
Second average would be (5+4+6+8+9)/5 = 6.4
and so on..
hope anyone can help!
New to the forum, I have struggled with this for hours now and hope someone can help. I'm trying to derive a function which generates a rolling average of the first five non-zero of a column.
Example column:
1
0
5
4
0
6
8
0
0
9
0
2
First average computed would be (1+5+4+6+8)/5 = 4.8
Second average would be (5+4+6+8+9)/5 = 6.4
and so on..
hope anyone can help!