I want to use movingsum function.
But I have a restrict of calender.
| 1月3日 | 1月4日 | 1月5日 | 1月6日 | 1月7日 | 1月8日 | 1月9日 | |
value | 300 | 400 | 0 | 0 | 700 | 0 | 900 | |
Workday | ☑ | ☑ | | | ☑ | | ☑ | |
movingsum value | 2 | 2 | 2 | 2 | 2 | 2 | 2 | |
Value(movingsum) | 1400 | 2000 | | | | | | |
※Value(movingsum) = Movingsum( value, 0 ,movingsum value)
If I used this formula, I can not consider workday.
I want to achieve this sum function.
- On 1/3, I have to sum from 1/3 to 1/7.
- On 1.4, I have to sum from 1/4 to 1/9.
Do you have any idea?