Duplicates from Excel
Hey Guys!
I am wanting to count duplicates from a dump in Excel for one column (Supplier Id). I know my formula is correct but it seems to not be counting correctly because either 1) the tick mark added to the beginning of the number from Excel or 2) the amount of zeros? Any ideas to fix this?
Formula: =COUNTIFS([Supplier Id]:[Supplier Id], [Supplier Id]@row)
Example of Supplier ID: '000001777 (all have many zeros before some #s)
Answers
-
You might be able to get around it using CONTAINS. The only thing to worry about might be duplicates. It would look like:
=COUNTIF([Supplier Id]:[Supplier Id], CONTAINS([Supplier Id]@row, @cell) > 0)
-
Thanks David! I am getting "INVALID OPERATION" hmm...
-
Try this, sorry:
=COUNTIF([Supplier Id]:[Supplier Id], CONTAINS([Supplier Id]@row, @cell))
-
That did it! Thank you so much!!
-
What if I wanted to include a criteria? Would want to look at only Dups with US as Region and only Dups with EU as region. Any idea where/how I would add that one in?
-
Sure thing. You'd add it as your second criteria in a COUNTIFS. Something like:
=COUNTIFS([Supplier Id]:[Supplier Id], CONTAINS([Supplier Id]@row, @cell), Region:Region, "US")
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!