Duplicate Values: =If(Countif doesn't work with concatenated formula.
I am trying to identify duplicate values in a column titled [Program ID]. [Program ID] is the result of a concatenate formula: =[Site Num]@row + "." + ProgNum@row The result of the above formula is a decimal number like 7.1, 8.4, 50.3, etc.
I am using the following formula in a helper column to identify duplicates in the [Program ID] column: =IF(COUNTIF([Program ID]:[Program ID], [Program ID]@row) > 1, "Duplicate", "Unique")
The helper column only returns "Unique" even if duplicates are inserted in the [Program ID] column as seen below. However, If I change the '"." to a "-" in the concatenate formula, the =IF(COUNTIF formula works!
Thanks for your help!!
Answers
-
@nbers for me its working .
=IF(COUNTIF([Program ID]:[Program ID], [Program ID]@row) > 1, "Duplicate", "Unique") maybe you need to add a value in case some are text.
If my comment helps you, I appreciate a 💡
Kind regards
Event: Strategies for Successful Adaption
Nico | LinkedIn
CEO | Lighthouse Consultings
Lecturer in Business Information Systems | DHBW
________________________________________________________________________________
addvalue@lighthouseconsultings.com
https://www.eventbrite.de/e/driving-change-with-smartsheet-strategies-for-successful-adoption-tickets-1047813557557?utm-campaign=social&utm-content=attendeeshare&utm-medium=discovery&utm-term=listing&utm-source=cp&aff=ebdsshcopyurlWe offer Licenses - Training - Solution Engineering
🔴Certified Smartsheet Partner _______________________________________________
💯 SCALEABLE Solutions Engineered by Lighthouse Consultings
We Don’t Just Implement Smartsheet; We Revolutionize How You Manage, Plan, And Execute.
-
Is your Program ID column generated by concatenate formula with a dot? The IF(COUNTIF formula works when the Program ID is manually entered but not when Program ID is the result of a formula UNLESS I change the "." to a "-".
Is there a way to tell if something is entered as a number or text like in excel?
-
@nbers i just added manual, yes its the same like in excel sometimes you need to format back to value.
If my comment helps you, I appreciate a 💡
Kind regards
Event: Strategies for Successful Adaption
Nico | LinkedIn
CEO | Lighthouse Consultings
Lecturer in Business Information Systems | DHBW
________________________________________________________________________________
addvalue@lighthouseconsultings.com
https://www.eventbrite.de/e/driving-change-with-smartsheet-strategies-for-successful-adoption-tickets-1047813557557?utm-campaign=social&utm-content=attendeeshare&utm-medium=discovery&utm-term=listing&utm-source=cp&aff=ebdsshcopyurlWe offer Licenses - Training - Solution Engineering
🔴Certified Smartsheet Partner _______________________________________________
💯 SCALEABLE Solutions Engineered by Lighthouse Consultings
We Don’t Just Implement Smartsheet; We Revolutionize How You Manage, Plan, And Execute.
-
Edit: I built a Test grid from scratch but identical the grid giving me issues and all formulas work perfectly. Do you know if it's possible a grid to become buggy and simply not work?
Perhaps i'm not following? The If function works fine when Program ID is manually entered - it does not work when program ID is generated by formula.
How can I format back to value? I started a new grid from scratch and I'm still having this issue.
-
I was curious about this one so I also tested and it is working for me as well. Are your column types set to Text/Number?
You can amend your one formula to output the value by doing this:
=VALUE([Site Num]@row + "." + ProgNum@row)
One other option on the other formula I use to find duplicates, It'll just count how many times it finds it:
=COUNTIFS([Program ID]:[Program ID], FIND([Program ID]@row, @cell) > 0)
-
Hi Nic,
Yes, All columns are set to Text/Number.
When I ammend the formula with =Value in my live sheet, I get an #INCORRECT ARGUMENT SET error. I do not get this error in my test sheet. This is what made my wonder if my live sheet is somehow corrupted.
The COUNTIFS formula returns seemingly random integers unrelated to the actual count.
I'm happy to share access to this sheet if that's allowed. Me and the other person in my office that understands Smartsheet are stumped.
-
@nbers feel free to share the sheet to me nico.roepnack@lighthouseconsultings.com
If my comment helps you, I appreciate a 💡
Kind regards
Event: Strategies for Successful Adaption
Nico | LinkedIn
CEO | Lighthouse Consultings
Lecturer in Business Information Systems | DHBW
________________________________________________________________________________
addvalue@lighthouseconsultings.com
https://www.eventbrite.de/e/driving-change-with-smartsheet-strategies-for-successful-adoption-tickets-1047813557557?utm-campaign=social&utm-content=attendeeshare&utm-medium=discovery&utm-term=listing&utm-source=cp&aff=ebdsshcopyurlWe offer Licenses - Training - Solution Engineering
🔴Certified Smartsheet Partner _______________________________________________
💯 SCALEABLE Solutions Engineered by Lighthouse Consultings
We Don’t Just Implement Smartsheet; We Revolutionize How You Manage, Plan, And Execute.
-
@NicoLHC Just want to let you know that I shared the sheet with you. Thanks again!
-
@nbers got it
If my comment helps you, I appreciate a 💡
Kind regards
Event: Strategies for Successful Adaption
Nico | LinkedIn
CEO | Lighthouse Consultings
Lecturer in Business Information Systems | DHBW
________________________________________________________________________________
addvalue@lighthouseconsultings.com
https://www.eventbrite.de/e/driving-change-with-smartsheet-strategies-for-successful-adoption-tickets-1047813557557?utm-campaign=social&utm-content=attendeeshare&utm-medium=discovery&utm-term=listing&utm-source=cp&aff=ebdsshcopyurlWe offer Licenses - Training - Solution Engineering
🔴Certified Smartsheet Partner _______________________________________________
💯 SCALEABLE Solutions Engineered by Lighthouse Consultings
We Don’t Just Implement Smartsheet; We Revolutionize How You Manage, Plan, And Execute.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!