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! Book time with me here: https://calendly.com/michelle-choate
-
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
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!