Asking this question again in case there are any more ideas -
I have a sheet where a weekly status update is logged every week on a new row, including the Health "trend" (Up, Down, Sideways). I want to count the number of weeks that the trend has stayed the same, i.e., how long it has been sideways/up/down. The only formulas I've come up with so far count the number of times it has been sideways in the whole column, but I only want the number of weeks since it most recently changed.
Here is how it would ideally look:
Any help would be greatly appreciated! you can see I've tried some other things with Line ID and Row # but so far can't figure it out.