IF AND
I am trying to narrow my conditional formatting for an order dependent on 2 different parts---
I created 2 condition columns for a line item, First Condition Column "Y/N" and Second Condition Column "Y/N"
...and in a third column "Required" I simply want and IF/ AND formula to say IF First Condition Column is "Yes" and IF Second Condition Column is "Yes" at the row---THEN the Required Column will be "Yes" at the row ----IF either First or Second are "No" or both are "No" THEN the Required Column would indicate "No"
=IF(AND([First Condition]@row "Yes", [Second Condition]@row "Yes", "Yes", "No")
Thanks in advance!
Best Answer
-
@Sam Walsh You were close! You need = signs in the logical statements, and you need to close off the AND statement with an end parentheses:
=IF(AND([First Condition]@row = "Yes", [Second Condition]@row = "Yes"), "Yes", "No")
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
-
@Sam Walsh You were close! You need = signs in the logical statements, and you need to close off the AND statement with an end parentheses:
=IF(AND([First Condition]@row = "Yes", [Second Condition]@row = "Yes"), "Yes", "No")
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!
-
Perfect! Thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!