formula - contains
hi Guys i am trying a contains formula but doesn't want to work - what am i doing wrong?
i need my REF column to get a 1 in if IF Dept contains REF if not REF then blank
Best Answer
-
It looks like you just have a closing parentheses in the wrong spot! You'll want to "close off" the CONTAINS function before moving on to the rest of the IF statement.
I will note that although CONTAINS should work, the HAS function is built specifically for searching multi-select dropdown cells.
Try this instead:
=IF(HAS(Dept@row, "NIS"), "True")
Cheers,
Genevieve
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
Answers
-
I hope you're well and safe!
You've used a row number and the @ reference for a row.
Try something like this.
=IF(CONTAINS(Dept@row, "NIS", "True", "")
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.
-
HI Andree
I am doing something wrong and doesn't seem to work - have tried with single bracket at the end and double bracket at the end
-
It looks like you just have a closing parentheses in the wrong spot! You'll want to "close off" the CONTAINS function before moving on to the rest of the IF statement.
I will note that although CONTAINS should work, the HAS function is built specifically for searching multi-select dropdown cells.
Try this instead:
=IF(HAS(Dept@row, "NIS"), "True")
Cheers,
Genevieve
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
-
Genevieve this work wonderfully - Thanks so much
Help Article Resources
Categories
Check out the Formula Handbook template!