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
- Customer Resources
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 145 Just for fun
- 62 Community Job Board
- 464 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!