I have a large data dump of 1200+ students and all their test scores. What I want to do is output a results (true/false) for each agent that had at least 2 consecutive test scores above 75%
Example
ID | Name | Test Score
123456 | Student A | 76%
654321 | Student B | 86%
435261 | Student C | 96%
123456 | Student A | 66%
654321 | Student B | 77%
435261 | Student C | 46%
123456 | Student A | 56%
654321 | Student B | 81%
435261 | Student C | 88%
123456 | Student A | 86%
654321 | Student B | 97%
435261 | Student C | 79%
In this case Student A would result in False (no 2 consecutive scores above 75%), Student B would result in True (all 4 tests above 75%) and finally Student C would result in True (last 2 test were above 75%)
I thought it would simply to formulate but I can't seem to get the result I was expecting using any formulas I am familiar with.
Example
ID | Name | Test Score
123456 | Student A | 76%
654321 | Student B | 86%
435261 | Student C | 96%
123456 | Student A | 66%
654321 | Student B | 77%
435261 | Student C | 46%
123456 | Student A | 56%
654321 | Student B | 81%
435261 | Student C | 88%
123456 | Student A | 86%
654321 | Student B | 97%
435261 | Student C | 79%
In this case Student A would result in False (no 2 consecutive scores above 75%), Student B would result in True (all 4 tests above 75%) and finally Student C would result in True (last 2 test were above 75%)
I thought it would simply to formulate but I can't seem to get the result I was expecting using any formulas I am familiar with.