I've been using a table to give myself a daily grade on some tasks, each row is laid out like
Do stretches:| A | A | B | C | A did yoga | F forgot | A | B | A | B | A
I would like to add a cell that calculates my current streak of days that are either A or B, which for the example, would be five. I've been doing it for a few months so my data ranges from columns S to CK. So if I look at row 7, the formula should look at cells S7:CK7, and count from the back how many consecutive days start with A or B. Then tomorrow I should be able to insert a new column, and the formula should then track S7:CL7.
It would also be nice to have a formula that calculates the longest streak within that row too.
Any suggestions on how I would lay this out?
Thanks