Is there a way to return the row location of all instances of a duplicate value within a column?
Options
Jim Rood
✭✭✭✭
I've created a duplicate flag column using the following formula: =COUNTIF(Email1, Email1) + " of " + COUNTIF(Email:Email, Email1).
This shows the instance and the count. What I would like to be able to do is provide the row numbers of the duplicate emails. Match will only find the firs duplicate but won't return all of the duplicates.
Thanks for whatever assistance you can provide.
Answers
-
You would need to add in a column that essentially replicates the sheet row number first.
=COUNTIFS(Email$1:Email@row, OR(@cell = "", @cell <> ""))
Then you can use a JOIN/COLLECT similar to...
=JOIN(COLLECT([Row #]:[Row #], Email:Email, Email@row), ", ")
Help Article Resources
Categories
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!