Formula Error
Hi Community,
I needed to adjust a formula to perform an OR function instead of an AND function and now I'm receiving an error that I can't seem to correct.
The issue lies in the first section of the formula to produce a "green" value if true.
Any help would be greatly appreciated!
Best Answer

I think you need to embed the OR inside the AND, as if the whole OR statement is one of the options within the AND. Having the OR and the AND as separate logical expressions is breaking the IF syntax. Be sure to close off the OR as well as the AND with end parentheses.
Ex.  =IF(AND(A=1, B=2, OR(C=3, D=4), E=5), "True", "False")
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
Answers

I think you need to embed the OR inside the AND, as if the whole OR statement is one of the options within the AND. Having the OR and the AND as separate logical expressions is breaking the IF syntax. Be sure to close off the OR as well as the AND with end parentheses.
Ex.  =IF(AND(A=1, B=2, OR(C=3, D=4), E=5), "True", "False")
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!

Thanks @Jeff Reisman , that did the trick!
Help Article Resources
Categories
 All Categories
 14 Welcome to the Community
 10.7K Get Help
 63 Global Discussions
 69 Industry Talk
 385 Announcements
 3.5K Ideas & Feature Requests
 55 Brandfolder
 125 Just for fun
 50 Community Job Board
 464 Show & Tell
 40 Member Spotlight
 44 Power Your Process
 28 Sponsor X
 234 Events
 7.3K Forum Archives
Check out the Formula Handbook template!