Hello,
I am new in this forum.
I have a question, I would like to create a new variable which will count the days ( for in stance equal to 1 for the first day that I have etc) but because I have data from many companies I have the same date many time so I would like for instance for 01/01/2017 , which I have it 10 times, the variable to take the value 1, for the 0201/2012 equal to 2 and etc. Is that possible? Is there any command that I could use? If my question is not clear enough please let me know and I will try t explain it better. Thank you in advance!
I am new in this forum.
I have a question, I would like to create a new variable which will count the days ( for in stance equal to 1 for the first day that I have etc) but because I have data from many companies I have the same date many time so I would like for instance for 01/01/2017 , which I have it 10 times, the variable to take the value 1, for the 0201/2012 equal to 2 and etc. Is that possible? Is there any command that I could use? If my question is not clear enough please let me know and I will try t explain it better. Thank you in advance!
Comment