I have an issue trying to get a formula to count the number of nonblank cells between two words in the same column. Here is a sample of the data I'm working with.
Eg.
Dates
Oct 12
Oct 13
[blank]
[blank]
[blank]
Dates
Oct 7
[blank]
[blank]
Dates
I am trying to use a formula to tell me how many dates are for each account in column that contains hundreds of accounts. I have a formula that can tell me the number of lines between each instance of the word "Dates" but since the intervals are not the same between the "Dates" (due to other information elsewhere) this information isn't helpful. This is the formula I was using: =IF($O11="Date(s)", MATCH("Date(s)",$O12:$O30,0),"")
I think I need something like COUNTA, COUNTIF or ISBLANK, but I'm not sure how to implement it to work. When I've tried, the output is always just 1, which means its only counting how many "Dates" exist between the starting word and the word it's counting.
Eg.
Dates
Oct 12
Oct 13
[blank]
[blank]
[blank]
Dates
Oct 7
[blank]
[blank]
Dates
I am trying to use a formula to tell me how many dates are for each account in column that contains hundreds of accounts. I have a formula that can tell me the number of lines between each instance of the word "Dates" but since the intervals are not the same between the "Dates" (due to other information elsewhere) this information isn't helpful. This is the formula I was using: =IF($O11="Date(s)", MATCH("Date(s)",$O12:$O30,0),"")
I think I need something like COUNTA, COUNTIF or ISBLANK, but I'm not sure how to implement it to work. When I've tried, the output is always just 1, which means its only counting how many "Dates" exist between the starting word and the word it's counting.