If(contains) Function Not Giving True Value
I am having a problem with my If(Contains) function. I cannot get it to give me the True value no matter what I try. My if true value I want it to pull is the value that is listed in the "Task" cell.
Here is a screenshot of the formula and data:
=IF(CONTAINS(2, Level@row), Task@row, "fail")
Best Answer

The contains function seems to be having an issue using a number as the reference data. I tried it with text instead of a number and the contains works. However, since you are referencing just a number, you do not need the contain function. You can write the logical expression directly. Try the formula below.
=IF(Level@row=2,Task@row,"fail")
Answers

The contains function seems to be having an issue using a number as the reference data. I tried it with text instead of a number and the contains works. However, since you are referencing just a number, you do not need the contain function. You can write the logical expression directly. Try the formula below.
=IF(Level@row=2,Task@row,"fail")

Wow, so simple. Thanks!
Help Article Resources
Categories
 All Categories
 14 Welcome to the Community
 10.5K Get Help
 61 Global Discussions
 46 Industry Talk
 385 Announcements
 3.5K Ideas & Feature Requests
 54 Brandfolder
 124 Just for fun
 50 Community Job Board
 466 Show & Tell
 40 Member Spotlight
 44 Power Your Process
 28 Sponsor X
 234 Events
 7.3K Forum Archives
Check out the Formula Handbook template!