Ronnie1979
New Member
- Joined
- Jan 27, 2018
- Messages
- 3
I am trying to count the number of cells in a range with data in consecutive cells. The data may not match in each cell, i just need to count consecutive cells with data. If there is a blank cell between the consecutive data cells it should not be counted. Below are some examples.
[TABLE="class: grid, align: center"]
<tbody>[TR]
[TD="align: center"]1/15/18[/TD]
[TD="align: center"]1/16/18[/TD]
[TD="align: center"]1/17/18[/TD]
[TD="align: center"]1/18/18[/TD]
[TD="align: center"]1/19/18[/TD]
[TD="align: center"]Results[/TD]
[/TR]
[TR]
[TD="align: center"]NS[/TD]
[TD="align: center"][/TD]
[TD="align: center"]<30 Late[/TD]
[TD="align: center"]>30 Late[/TD]
[TD="align: center"][/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"] [/TD]
[TD="align: center"]NS[/TD]
[TD="align: center"]NS[/TD]
[TD="align: center"]NS[/TD]
[TD="align: center"][/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]NS[/TD]
[TD="align: center"][/TD]
[TD="align: center"]NS[/TD]
[TD="align: center"][/TD]
[TD="align: center"]NS[/TD]
[TD="align: center"]0[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, align: center"]
<tbody>[TR]
[TD="align: center"]1/15/18[/TD]
[TD="align: center"]1/16/18[/TD]
[TD="align: center"]1/17/18[/TD]
[TD="align: center"]1/18/18[/TD]
[TD="align: center"]1/19/18[/TD]
[TD="align: center"]Results[/TD]
[/TR]
[TR]
[TD="align: center"]NS[/TD]
[TD="align: center"][/TD]
[TD="align: center"]<30 Late[/TD]
[TD="align: center"]>30 Late[/TD]
[TD="align: center"][/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"] [/TD]
[TD="align: center"]NS[/TD]
[TD="align: center"]NS[/TD]
[TD="align: center"]NS[/TD]
[TD="align: center"][/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]NS[/TD]
[TD="align: center"][/TD]
[TD="align: center"]NS[/TD]
[TD="align: center"][/TD]
[TD="align: center"]NS[/TD]
[TD="align: center"]0[/TD]
[/TR]
</tbody>[/TABLE]