Example:
Cell A1 value = Tom
Cell A2 is empty
Cell A3 value = Mary
Cell A4 is empty
Cell A5 value = Steve
In B1 I'd like to count how many names appear BETWEEN "Tom" and "Steve" and disregard the empty cells. I would NOT want to include "Tom" or "Steve".
With this example the result should be the number "1" as "Mary" is the only name between "Tom" and "Steve" and the empty cells would not be counted.
I hope my question is clear.
Some background work I've done:
I've been able to find out how to count the number of cells between two cells with data with an =abs(match()) formula, but I cannot find a way to eliminate any blank cells from that formula.
I thank you in advance for any assistance!!!
Cell A1 value = Tom
Cell A2 is empty
Cell A3 value = Mary
Cell A4 is empty
Cell A5 value = Steve
In B1 I'd like to count how many names appear BETWEEN "Tom" and "Steve" and disregard the empty cells. I would NOT want to include "Tom" or "Steve".
With this example the result should be the number "1" as "Mary" is the only name between "Tom" and "Steve" and the empty cells would not be counted.
I hope my question is clear.
Some background work I've done:
I've been able to find out how to count the number of cells between two cells with data with an =abs(match()) formula, but I cannot find a way to eliminate any blank cells from that formula.
I thank you in advance for any assistance!!!