I am working on an attendance system. Those who are have not attended consecutive 3 or more expected events will be sent a warning e-mail.
In the above example, DEF has not attended 3 expected events consecutively if sorted by date (08, 15, 22). I want him to be listed in the report also reporting how many consecutive he left, (maybe he has left 4 consecutive dates)...