Help creating a nesteed IF statement
Hi, I am looking to augment this statement:
=IF([TAG ID]@row = "", 0, IF(COUNTIF([TAG ID]:[TAG ID], [TAG ID]@row) > 1, 1))
I would like to have to also have it provide the same IF for [SUBMITTAL NAME] nested together
In short, it will check the [TAG ID] and [SUBMITTAL NAME] for duplicates and if either has duplicates then report a 1 or checkbox :)
Any help would be greatly appreciated.
Thanks in advance.
Best Answer
-
Andrée that worked perfectly :)
Thank you!
Answers
-
Hey @Geoff Baker
=IF([TAG ID]@row = "", 0, IF(OR(COUNTIF([TAG ID]:[TAG ID], [TAG ID]@row) > 1,COUNTIF([Submittal Name]:[Submittal Name], [Submittal Name]@row) > 1), 1))
Does this work for you?
Kelly
-
It is doing exactly as it is meant to do but it highlights another issue.
I have some cases where the SUBMITTAL NAME is BLANK, in those cases, it is triggering the DUPLICATION.
How do I exclude BLANK results from the formula?
Thanks so much for your help on this.
-
Hi @Geoff Baker
I hope you're well and safe!
To add to Kelly's excellent advice/answer.
Try something like this.
= IF(OR([SUBMITTAL NAME]@row = "", [TAG ID]@row = ""), 0, IF(OR(COUNTIF([TAG ID]:[TAG ID], [TAG ID]@row) > 1, COUNTIF([SUBMITTAL NAME]:[SUBMITTAL NAME], [SUBMITTAL NAME]@row) > 1), 1))
Did that work/help?
I hope that helps!
Be safe and have a fantastic weekend!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Andrée that worked perfectly :)
Thank you!
-
Excellent!
You're more than welcome!
✅Please support the Community by marking the post(s) that helped or answered your question or solved your problem with the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!