I am not very good with excel but I am looking for a formula that would calculate the following
A B
3 1 True
4 2 True
3 5 False Transition
6 7 False
5 8 False
6 5 No Sequence Transition
8 9 No Sequence
For each time A is greater than B in a sequence of 2 or more rows it says True. If A is less than B in a sequence of 2 or more rows it turns up False. When a sequence starts, it needs to read False Transition or True Transition. If there is no sequence, meaning A is greater than B in the first row, then A is less than B in the next row and then back to A greater than B in the third row, it turns up NoSequence.
Then I need to calculate the percentage of True, False, No Sequence in the entire sample size.
Sorry if this is confusing.
Thanks in advance
Bookmarks