Question: How to count the number of rows between two values

Solution:

=ABS(number)
Returns the absolute value of a number, anumber without its sign.

=MATCH(lookup_value;lookup_array; [match_type])
Returns the relative position of an item in an array that matches a specified value