G
Guest
I work at a school and need some help in creating a formula and/or program for the following problem
Our school drops students from enrollment if they have CONSECUTIVELY missed 15 or more days. I need to create a formula that would "mark" any student who has reached 15 days. Here is an example of the spreadsheet
A B C D E F G H
1 Student #12 U R S
2 Student #13 X X X R
3 Student #14 R J
4 Student #15 U U J R
5 Student #16 R
6 Student #17 U U U R U J
The codes are
U = unexcused absenc
X = was not enrolle
R = release day (students do not report
J = excused absenc
S = suspende
<blank> = presen
The formula needs to
1) count the following codes as consecutive days:
2) start counting again when the following codes are recognized in the sequence: J or <blank
3) ignore the following codes when counting (treat as if were not there):
For example
Student #17 would have 4 consecutive days (Columns B thru F), but since she was excused in Column G, her consecutive days start again, when the next U is recognized (in this case, in Column H)
Any help in figuring this out would be greatly appreciated. If anyone needs more information or more clarification, just let me know
Thank for your help.
Our school drops students from enrollment if they have CONSECUTIVELY missed 15 or more days. I need to create a formula that would "mark" any student who has reached 15 days. Here is an example of the spreadsheet
A B C D E F G H
1 Student #12 U R S
2 Student #13 X X X R
3 Student #14 R J
4 Student #15 U U J R
5 Student #16 R
6 Student #17 U U U R U J
The codes are
U = unexcused absenc
X = was not enrolle
R = release day (students do not report
J = excused absenc
S = suspende
<blank> = presen
The formula needs to
1) count the following codes as consecutive days:
2) start counting again when the following codes are recognized in the sequence: J or <blank
3) ignore the following codes when counting (treat as if were not there):
For example
Student #17 would have 4 consecutive days (Columns B thru F), but since she was excused in Column G, her consecutive days start again, when the next U is recognized (in this case, in Column H)
Any help in figuring this out would be greatly appreciated. If anyone needs more information or more clarification, just let me know
Thank for your help.