I\'ve got a column of bus stop ID numbers (Column A) and Column B are various timings of which each value is the time a person boards/alights the bus. In order to know how l
Use this one:
=MAX(IF(A1:A6=1889,B1:B6))-MIN(IF(A1:A6=1889,B1:B6))
and press CTRL+SHIFT+ENTER to evaluate it.
Test workbook