Hello,
I have a sheet with few hundreds of lines and I need to sort them based on the occurrence of serial number in column A.
Some numbers appear only one time, but I have some that appear 2 or more times.
I need to have a sort like this in another column:
- serial numbers one time = 0
- duplicate 1 = 1
- duplicate 2 = 2
...
I use the formula "=COUNTIF($A$2:$A2, $A2)" to count the occurrence of each serial, but I can't sort between first test (0 and 1 from above) or second test (0 and 2 from above).
There are only 1,2,3... and can't discriminate.
I know it's something easy but my knowledge is limited.
Thank you for your time.
Regards,
I have a sheet with few hundreds of lines and I need to sort them based on the occurrence of serial number in column A.
Some numbers appear only one time, but I have some that appear 2 or more times.
I need to have a sort like this in another column:
- serial numbers one time = 0
- duplicate 1 = 1
- duplicate 2 = 2
...
I use the formula "=COUNTIF($A$2:$A2, $A2)" to count the occurrence of each serial, but I can't sort between first test (0 and 1 from above) or second test (0 and 2 from above).
There are only 1,2,3... and can't discriminate.
I know it's something easy but my knowledge is limited.
Thank you for your time.
Regards,