This is probably an easy problem, but I have been going around in circles for hours to try to solve it. I have an excel sheet containing a column of 1600+ 6-digit numbers. These numbers are duplicates giving me a spreadsheet of 18k rows. I don't want to delete the duplicates. I want to assign each group of numbers another unique number which will occupy an adjacent cell. How can I do this quickly?
Kevin Robertson 8 months ago
What's your criteria for the unique number you want inserted. Please supply some examples.
Sandi CushionOP 8 months ago
Thanks Kevin but I persevered sorted it now. I used this: =IF(COUNTIF(A$2:A2,A2)=1,MAX(B$1:B1)+1,VLOOKUP(A2,A$1:B1,2,0)) Then I copied and did a paste special to get rid of the underlying formula and just keep the values.
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Excel Forum.
The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.