How can alert if I am repeating a value in a particular column
I would need to be alerted if I repeat an ID value in a column. How can I do that?
Answers
-
You would need to insert a helper column (can be hidden after setup) that will flag duplicates.
=IF(COUNTIFS(ID:ID, @cell = ID@row) > 1, 1)
Then you would either leave the column visible, use conditional formatting, or set up an automation based on this column being flagged.
-
Many thanks Paul, I have tried but something went wrong, it appears #UNPARSEABLE (The column formula syntax isn't quite right). I have used the formula you mention
=IF(COUNTIFS(ID:ID, @cell = ID@row) > 1, 1)
There is not any other simpler comand to be alerted when you repeat a value in a column??
Many thanks in advance for your help.
-
please check if your helper column is checkbox type or symbol with flag. if you use text/number column type then @Paul Newcome formula will give this error #UNPARSEABLE
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
@Bassam Khalil My formula would not generate that error if it is in a text/number column. It would simply output the number 1.
@Ana Merino Can you provide a screenshot of the formula in the sheet similar to the screenshot below?
-
@Ana Merino Also make sure that the column name in the formula is exactly the same as the column you are wanting to reference in your sheet.
-
@Paul Newcome , many thanks for you help.
I am attaching a screenshot, I don know if I am using the formula in a good way, I am novel with t his.
I have replace ID by the name of the column. The thing is that I want to be alerted when a Equipment ID value is repeated.
Many thanks for your support.
-
Whenever you are referencing a column name that has spaces, numbers, and/or special characters, you have to wrap it in square brackets.
[Equipment ID]
[Equipment ID]:[Equipment ID]
-
Got it!! many thanks for your help @Paul Newcome
Best,
-
Happy to help. 👍️
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives