How do I identify duplicate rows?
How can I identify duplicate rows in a column by adding an additional column to identify the duplicate. numbering the dupes 1,2,3 etc.
Sample data:
Row PK#
Engg.FY23O&M012
Engg.FY23O&M012
Engg.FY23CIP012
Engg.FY21CIP001
Engg.FY23O&M012
Engg.FY23CIP012
Engg.FY21CIP001
Best Answer
-
You need two different columns. An auto-number type column called "Auto", and a text/number column with the previous formula in it.
Answers
-
Are you able to provide a screenshot with the expected output manually entered for reference?
-
Sure:
-
You will need to insert an auto-number column with no special formatting (called "Auto" in this example) then use this:
=COUNTIFS(Auto:Auto, @cell<= Auto@row, [PK#]:[PK#], @cell = [PK#]@row)
-
Creating the Auto number column, I'm not allowed to enter a formula. Is there a setting that needs to be changed?
-
The formula would go in the Dupe column.
-
I tried this in a column named Auto
=COUNTIFS(Auto:Auto, @cell <= Auto@row, [PK#]:[PK#], @cell = [PK#]@row)
-
I'll change the name back to Dupe
-
Results:
-
You need two different columns. An auto-number type column called "Auto", and a text/number column with the previous formula in it.
-
Thanks you so much!!!!! It worked.
-
Happy to help. 👍️
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.8K Get Help
- 406 Global Discussions
- 218 Industry Talk
- 457 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives