MrJones378
New Member
- Joined
- Nov 12, 2015
- Messages
- 5
Okay so I think I've exhausted my googling/foruming options trying to figure this out. I've found a ton of things that are very close to this problem but not quite the same. I'm pretty certain I'm going to need an array formula. Essentially I have data that looks like this:
[TABLE="width: 200"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Numb[/TD]
[/TR]
[TR]
[TD]1/1[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]1/2[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]1/3[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]1/4[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]1/5
[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]1/6[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]1/7[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]
Now the data set I'm using is a good amount larger but not enormous (approx. 160 rows). What I need is to count the number of times "0" occurs consecutively. In this case, 0 would have occurred consecutively 3 times, on the 2nd and 3rd, on the 5th and 6th, and the 6th and 7th. I have another cell (lets say D4) that needs a formula that will count the number of times a 0 occurred on consecutive days.
Many thanks in advance for any insight.
[TABLE="width: 200"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Numb[/TD]
[/TR]
[TR]
[TD]1/1[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]1/2[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]1/3[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]1/4[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]1/5
[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]1/6[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]1/7[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]
Now the data set I'm using is a good amount larger but not enormous (approx. 160 rows). What I need is to count the number of times "0" occurs consecutively. In this case, 0 would have occurred consecutively 3 times, on the 2nd and 3rd, on the 5th and 6th, and the 6th and 7th. I have another cell (lets say D4) that needs a formula that will count the number of times a 0 occurred on consecutive days.
Many thanks in advance for any insight.