Hi all
I need any suggestions on how to solve this problem,
I'm looking for a formula that calculates how many times this condition (D = E) does not happen, since the last time it happened.
The problem came when I include empty rows, the formula does not work correctly.
I attach a small sample for better understanding (sorry my basic english)

Thanks!

ERROR LOOKUP.xlsx