[TABLE="width: 1000"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[TD]H
[/TD]
[TD]I
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD][/TD]
[TD]week1
[/TD]
[TD]week2
[/TD]
[TD]week3
[/TD]
[TD]week4
[/TD]
[TD]week5
[/TD]
[TD]sum "ok" weeks
[/TD]
[TD]longest coherent period with OK
[/TD]
[TD] coherent status with "OK" backwards as of week 5
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Becky
[/TD]
[TD]ok
[/TD]
[TD]ok
[/TD]
[TD]failed
[/TD]
[TD]ok
[/TD]
[TD]failed
[/TD]
[TD]3
[/TD]
[TD]2
[/TD]
[TD]0
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Sam
[/TD]
[TD]failed
[/TD]
[TD]failed
[/TD]
[TD]ok
[/TD]
[TD]ok
[/TD]
[TD]ok
[/TD]
[TD]3
[/TD]
[TD]3
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]John
[/TD]
[TD]failed
[/TD]
[TD]failed
[/TD]
[TD]failed
[/TD]
[TD]ok
[/TD]
[TD]ok
[/TD]
[TD]2
[/TD]
[TD]2
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]Paula
[/TD]
[TD]failed
[/TD]
[TD]ok
[/TD]
[TD]ok
[/TD]
[TD]failed
[/TD]
[TD]failed
[/TD]
[TD]2
[/TD]
[TD]2
[/TD]
[TD]0
[/TD]
[/TR]
</tbody>[/TABLE]
This is a simplified table I am working on. Its the formulas in Column "H" and "I" that I am struggling with.
Goal of tableis to calculate which person has achieved goals each week. And to specify whohas done most weeks coherent OK
Column H: Goalis to count how many coherent weeks in a row a person has done OK at thehighest from week 1 to week 5 For Becky this is 2 (week 1 and week 2)
Column I: Goalhere is to count which person has the most coherent amount of weeks as of nowwith the result OK (So If we imagine being in week 5 now, we need to count coherentweeks with OK from week 5, then week 4, then week 3 etc
I can't seem to get this sorted by myself. Anyone please suggest.
Best Regards:
Wigarth
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[TD]H
[/TD]
[TD]I
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD][/TD]
[TD]week1
[/TD]
[TD]week2
[/TD]
[TD]week3
[/TD]
[TD]week4
[/TD]
[TD]week5
[/TD]
[TD]sum "ok" weeks
[/TD]
[TD]longest coherent period with OK
[/TD]
[TD] coherent status with "OK" backwards as of week 5
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Becky
[/TD]
[TD]ok
[/TD]
[TD]ok
[/TD]
[TD]failed
[/TD]
[TD]ok
[/TD]
[TD]failed
[/TD]
[TD]3
[/TD]
[TD]2
[/TD]
[TD]0
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Sam
[/TD]
[TD]failed
[/TD]
[TD]failed
[/TD]
[TD]ok
[/TD]
[TD]ok
[/TD]
[TD]ok
[/TD]
[TD]3
[/TD]
[TD]3
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]John
[/TD]
[TD]failed
[/TD]
[TD]failed
[/TD]
[TD]failed
[/TD]
[TD]ok
[/TD]
[TD]ok
[/TD]
[TD]2
[/TD]
[TD]2
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]Paula
[/TD]
[TD]failed
[/TD]
[TD]ok
[/TD]
[TD]ok
[/TD]
[TD]failed
[/TD]
[TD]failed
[/TD]
[TD]2
[/TD]
[TD]2
[/TD]
[TD]0
[/TD]
[/TR]
</tbody>[/TABLE]
This is a simplified table I am working on. Its the formulas in Column "H" and "I" that I am struggling with.
Goal of tableis to calculate which person has achieved goals each week. And to specify whohas done most weeks coherent OK
Column H: Goalis to count how many coherent weeks in a row a person has done OK at thehighest from week 1 to week 5 For Becky this is 2 (week 1 and week 2)
Column I: Goalhere is to count which person has the most coherent amount of weeks as of nowwith the result OK (So If we imagine being in week 5 now, we need to count coherentweeks with OK from week 5, then week 4, then week 3 etc
I can't seem to get this sorted by myself. Anyone please suggest.
Best Regards:
Wigarth