I am trying to write a formula that will count the number of rows between the first appearance of a specific text within a string, and the last appearance of that same text.
For example, if Column A contains the following values...
Email sent 12/15/2017.
Email sent 12/15/2017.
Sold in 2017.
Last customer contact on 11/21/17.
Last customer contact on 11/27/17.
Email sent 12/15/2017.
Email sent 12/15/2017.
Email sent 12/15/2017.
Email sent 12/15/2017.
Email sent 12/15/2017.
Last customer contact on 11/20/17.
...I would like a count of the rows beginning with the first appearance of 12/15/2017, and the last appearance of this same value. (In the example shown above, the result would be 10.)
For example, if Column A contains the following values...
Email sent 12/15/2017.
Email sent 12/15/2017.
Sold in 2017.
Last customer contact on 11/21/17.
Last customer contact on 11/27/17.
Email sent 12/15/2017.
Email sent 12/15/2017.
Email sent 12/15/2017.
Email sent 12/15/2017.
Email sent 12/15/2017.
Last customer contact on 11/20/17.
...I would like a count of the rows beginning with the first appearance of 12/15/2017, and the last appearance of this same value. (In the example shown above, the result would be 10.)