I am trying to count the number of values in preceding cells which are greater than a certain value (in this case 19), but ignoring zero values.
Put another way, I want to find the number of consecutive weeks that a staff member has reached target, but excluding holidays.
I have googled this to death but cannot find a way to do it.
Any help greatly appreciated.
Example below:
[TABLE="class: grid, width: 574"]
<tbody>[TR]
[TD][/TD]
[TD]week 1[/TD]
[TD]week 2[/TD]
[TD]week 3[/TD]
[TD]week 4[/TD]
[TD]week 5[/TD]
[TD]week 6[/TD]
[TD]consecutive weeks >=19[/TD]
[/TR]
[TR]
[TD]Cheryl Wood[/TD]
[TD="align: right"]28.6[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]28.5[/TD]
[TD="align: right"]27.9[/TD]
[TD="align: right"]31.5[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]Roger Ward[/TD]
[TD="align: right"]10.4[/TD]
[TD="align: right"]22.8[/TD]
[TD="align: right"]27.7[/TD]
[TD="align: right"]11.9[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]16.9[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]Nancy Butler[/TD]
[TD="align: right"]12.7[/TD]
[TD="align: right"]23.9[/TD]
[TD="align: right"]14.3[/TD]
[TD="align: right"]18.2[/TD]
[TD="align: right"]24.8[/TD]
[TD="align: right"]22.7[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Angela Simmons[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]27.6[/TD]
[TD="align: right"]23.4[/TD]
[TD="align: right"]21.9[/TD]
[TD="align: right"]20.4[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]Martha Perry[/TD]
[TD="align: right"]11.7[/TD]
[TD="align: right"]13.9[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]15.7[/TD]
[TD="align: right"]28.2[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Lawrence Lewis[/TD]
[TD="align: right"]23.6[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]19.9[/TD]
[TD="align: right"]18.4[/TD]
[TD="align: right"]20.1[/TD]
[TD="align: right"]1[/TD]
[/TR]
</tbody>[/TABLE]
It is the final column I am seeking a formula for. I have entered the expected result.
Put another way, I want to find the number of consecutive weeks that a staff member has reached target, but excluding holidays.
I have googled this to death but cannot find a way to do it.
Any help greatly appreciated.
Example below:
[TABLE="class: grid, width: 574"]
<tbody>[TR]
[TD][/TD]
[TD]week 1[/TD]
[TD]week 2[/TD]
[TD]week 3[/TD]
[TD]week 4[/TD]
[TD]week 5[/TD]
[TD]week 6[/TD]
[TD]consecutive weeks >=19[/TD]
[/TR]
[TR]
[TD]Cheryl Wood[/TD]
[TD="align: right"]28.6[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]28.5[/TD]
[TD="align: right"]27.9[/TD]
[TD="align: right"]31.5[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]Roger Ward[/TD]
[TD="align: right"]10.4[/TD]
[TD="align: right"]22.8[/TD]
[TD="align: right"]27.7[/TD]
[TD="align: right"]11.9[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]16.9[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]Nancy Butler[/TD]
[TD="align: right"]12.7[/TD]
[TD="align: right"]23.9[/TD]
[TD="align: right"]14.3[/TD]
[TD="align: right"]18.2[/TD]
[TD="align: right"]24.8[/TD]
[TD="align: right"]22.7[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Angela Simmons[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]27.6[/TD]
[TD="align: right"]23.4[/TD]
[TD="align: right"]21.9[/TD]
[TD="align: right"]20.4[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]Martha Perry[/TD]
[TD="align: right"]11.7[/TD]
[TD="align: right"]13.9[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]15.7[/TD]
[TD="align: right"]28.2[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Lawrence Lewis[/TD]
[TD="align: right"]23.6[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]19.9[/TD]
[TD="align: right"]18.4[/TD]
[TD="align: right"]20.1[/TD]
[TD="align: right"]1[/TD]
[/TR]
</tbody>[/TABLE]
It is the final column I am seeking a formula for. I have entered the expected result.