I have a data set that is organized like this
Date:
4/2/2018
5/6/2018
4/2/2018
7/1/2018
7/1/2018
5/6/2018
I would like it to be organized like this:
Date: ID:
4/2/2018 1
5/6/2018 2
4/2/2018 1
7/1/2018 3
7/1/2018 3
5/6/2018 2
Does anyone know how to do this? My data is organized in a data table with date as one of the columns and I need to create a new column called id.