Does anyone know if there is a formula for counting backwards based on the current date and specific criteria?
Basically, I have dates in column A, with data in both columns B and C, and Yes or No in column D.
I would like the formula to look in column A for the current date, and then compare the Yes or No entry in column D on the same row as the current date. If the entry in column D is Yes, count backward (or up) the consecutive number of Yes entries.
I have attached screenshot of an example worksheet and the desired results. Using the example, the answer Iโm looking for in example 1 is 5 and example 2 is 0.
Any ideas will be much appreciated.