I have survey data from multiple sites that I visited repeatedly over the course of a month. What I am trying to do is label each date that a site was visited with a sample number. For example, if a site was visited on 3/1, 3/2, 3/4 and 3/10, I want each row of data from each of those dates to have a label with the sample number (1,2,3 and 4).
excel forum sample.xlsx
An example of my data is above. I want to create a new column (called "Sample Number"). For each row of data I want a label with the sample number. For example, A1 was sampled twice (on 4/29 and 5/26), and I would like these sample numbers to be labeled with "1" and "2" repeated down the "Sample Number" column across from their corresponding dates.
I hope that makes sense. I think I need to use an =IF statement, but I'm not sure how to proceed. Thanks for your time!
Best,
Lizzie
Bookmarks