If Contains Contact Cell
I am trying to write what seems like a basic formula, but I'm not getting the expected result. I would like to reference a Contact Cell column with an If(Contains) formula. The basic formula I have written looks like this:
If(Contains("John Smith", [Received By]@row), 1, 2). The result is always returning false ("2") even when the contact of "John Smith" is present. I can create a straightforward "IF" statement, but the contains portion is not working.
Answers
-
Try switching it to the email address. What happens then?
Or possibly try an IF(HAS()) instead. IF(HAS([Received By]@row, "John Smith"),1,2)
Michelle Choate
michelle.choate@outlook.com
Always happy to walk through any project you need help with!
-
Thanks @Michelle Choate 2 , the "Has" formula worked. I had previously tried the email reference, but that does not work.
-
Hi! I think you could cut out the "Contains" function and use =IF([Received By]@row="John Smith", 1, 2)
Does that work for you?
-
It wasn't working because the CONTAINS function just doesn't work well in general with contact type columns.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.6K Get Help
- 403 Global Discussions
- 215 Industry Talk
- 454 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 56 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!