I have the following table sample. I need to indicate in the Shipment column,the first time something with the unique ID , the 2nd.. etc. it has to be based on date and not location in the sheet. And if the ID does not repeat then it is the 1st shipment.
<colgroup><col><col><col><col></colgroup><tbody>
</tbody>
ID | Ship Date | Repeat | Shipment |
AST897P | 10/4/2017 | No | 1st |
AST1087 | 11/7/2017 | Yes | 1st |
AST1087 | 11/23/2017 | Yes | |
GRP911 | 12/10/2017 | No | |
GRP795 | 10/27/2017 | No | |
BHY902 | 10/27/2017 | Yes | 2nd |
BHY902 | 11/22/2017 | Yes | 3rd |
BHY902 | 9/25/2017 | Yes | 1st |
GYT214 | 9/25/2017 | No |
<colgroup><col><col><col><col></colgroup><tbody>
</tbody>