JackDanIce
Well-known Member
- Joined
- Feb 3, 2010
- Messages
- 9,922
- Office Version
- 365
- Platform
- Windows
Hi,
I have a column of numbers with integer values: -1, 0 and 1, which represents if a game is lost, drawn or won.
If there is a sequence of non-positive values that sum to -3, I want the formula to return 0.
After this, the formula should return 1 if and only if there is a sequence of non-negative values that sum to 2
This is an example of the match results and formula output next to it:
Can anyone suggest a suitable formula please?
TIA,
Jack
I have a column of numbers with integer values: -1, 0 and 1, which represents if a game is lost, drawn or won.
If there is a sequence of non-positive values that sum to -3, I want the formula to return 0.
After this, the formula should return 1 if and only if there is a sequence of non-negative values that sum to 2
This is an example of the match results and formula output next to it:
Match Result | Formula result |
-1 | 1 |
0 | 1 |
0 | 1 |
-1 | 1 |
-1 | 0 |
-1 | 0 |
0 | 0 |
1 | 0 |
-1 | 0 |
1 | 0 |
0 | 0 |
1 | 1 |
Can anyone suggest a suitable formula please?
TIA,
Jack