IF/AND/OR Statements Help To Check A Box When Criteria Met
Hi,
I am trying to write a formula with multiple IF statements with OR and AND to check the appropriate box:
I have this so far and get #INCORRECT ARGUMENT:
=IF(AND(NOT(ISBLANK([Term Date]@row))), OR(Program@row = "ABC", [Shared Programs]@row, OR(@cell = "ABC / XYZ", @cell = "XYZ / ABC")), 1, 0)
Thanks for any help offered!
Lori
Answers
-
Try this instead:
=IF(AND([Term Date]@row <> "", OR(Program@row = "ABC", CONTAINS("ABC", [Shared Program]@row))), 1)
-
Thanks, Paul! That formula works for the Term columns; however, when I change the <>"" to "" for the Active columns, I get *UNPARSEABLE.
-
Can you provide the formula itself?
<>""
means "not blank"
So if you were wanting to change it to say "is blank", you would use
=""
-
Can you help me understand why the = is used for "" but not for <>""? This is an example of what seems like inconsistencies in formulas that are really confusing.
Thanks for the detail, though. That worked.
Lori
-
=""
means "equal to blank"
<>""
means "not equal to blank".
= --> equal
<> --> not equal
"" --> blank
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.6K Get Help
- 404 Global Discussions
- 215 Industry Talk
- 456 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 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!