Suppose I have the cells A1 to A7 filled with the following data:
A1 = 4500
A2 = 5150
A3 = 3120
A4 = 8990
A5 = 6450
A6 = 7770
A7 = 2145
What is the formula I should have in cell B1 when copied to B7, should display as follows:
B1 = 0
B2 = 1
B3 = 0
B4 = 1
B5 = 2
B6 = 3
B7 = 0
That is in when a value in column A cell is more than 5000, column B should add the count by 1 but reset to zero each time value drop below 5000.
A1 = 4500
A2 = 5150
A3 = 3120
A4 = 8990
A5 = 6450
A6 = 7770
A7 = 2145
What is the formula I should have in cell B1 when copied to B7, should display as follows:
B1 = 0
B2 = 1
B3 = 0
B4 = 1
B5 = 2
B6 = 3
B7 = 0
That is in when a value in column A cell is more than 5000, column B should add the count by 1 but reset to zero each time value drop below 5000.