I have a column with time data like this:
17:27:31 17:27:32 17:27:32 17:27:33 17:27:33 17:27:34 17:27:34 17:27:34 17:27:35 17:27:36
I want
You can use CountIf. Put the following code in B1 and drag down the whole column
=COUNTIF(A:A,A1)
It will look like this: