Hi All,
I need help writing a formula, I've googled alot and feel like I'm getting pretty close with the solution from here: Counting MAX number of consecutive blank cells
Below is a sample table of data to illustrate my example.
I am trying to determine how much I need to refund the parents based on the attendance sheet exported from the student management software. 0 being absent, 1 being present
We will only refund if student is absent consecutively for 3 or more days ($10/day).
For eg, if student absent for 2 consecutive days = no refund, absent 3 consecutive days = $30, and so on
How should I write my formula in the refund column to do that? thanks!!!
I need help writing a formula, I've googled alot and feel like I'm getting pretty close with the solution from here: Counting MAX number of consecutive blank cells
Below is a sample table of data to illustrate my example.
1 Jan | 2 Jan | 3 Jan | 4 Jan | 5 Jan | 6 Jan | 7 Jan | 8 Jan | Refund ($10/day) | |
Student A | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | $40 |
Student B | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | $0 |
I am trying to determine how much I need to refund the parents based on the attendance sheet exported from the student management software. 0 being absent, 1 being present
We will only refund if student is absent consecutively for 3 or more days ($10/day).
For eg, if student absent for 2 consecutive days = no refund, absent 3 consecutive days = $30, and so on
How should I write my formula in the refund column to do that? thanks!!!