Hi Folks,
I have searched for a way to do this but havent found it online yet.
I have several runs that have a unique ID in this case I will use the label CAR1 to uniquely identify a vehicle. This vehicle will have multiple timestamps as shown
Vehicle Time
CAR1 10:10am
CAR1 12:30pm
CAR1 17:30pm
I want to find a way to be able to label each row sequentially like this using a new column n.
Vehicle Time N
CAR1 10:10am 1
CAR1 12:30pm 2
CAR1 17:30pm 3
Is there a quick way of coding this.
I would like JMP to detect the change to the next CAR here so if I then had entries for CAR2 that it has its own counter and starts at 1 for the earlier timestamp.
Vehicle Time N
CAR1 10:10am 1
CAR1 12:30pm 2
CAR1 17:30pm 3
CAR2 2:10pm 1
CAR2 18:30pm 2
CAR2 19:30pm 3
Any help much appreciated.
Thanks!