Hi,
Appreciate any help here. I'm looking for a formula that searches a column and runs a count of positive numbers after the appearance of the last zero or negative number in that specific column. Essentially it's looking for a positive trend. If for example the current trend is 2 (2 positive numbers since the last 0 or negative number) it will reset to zero when a zero or negative number is next input as the data expands. I've manually completed an example below to illustrate:
<tbody>
</tbody>
Appreciate any help here. I'm looking for a formula that searches a column and runs a count of positive numbers after the appearance of the last zero or negative number in that specific column. Essentially it's looking for a positive trend. If for example the current trend is 2 (2 positive numbers since the last 0 or negative number) it will reset to zero when a zero or negative number is next input as the data expands. I've manually completed an example below to illustrate:
A | B | C | |
3 | 0 | 2 | |
2 | 3 | 3 | |
0 | 3 | 14 | |
1 | 0 | 9 | |
3 | 4 | -1 | |
Trend at this point | 2 | 1 | 0 |
New data input: | -6 | 5 | 3 |
Trend at this point | 0 | 2 | 1 |
<tbody>
</tbody>