How can I set a column to automatically select Yes or No based on other column criteria
Best Answer
-
@gail.smith Try this:
=IF(AND([Submitted SC Form]@row = "Yes", [Completed Training]@row = "Completed", [SC Mailbox Status]@row = "Active"), "Yes", "No")
Using AND like this allows you to enter multiple logical statements, separated by commas, which must ALL be true for the IF to select the true condition of "Yes". A common error with AND is that people forget the close off the AND statement with a parentheses before listing their true condition and false condition.
Alternatively, using OR in place of AND in the above formula would tell the IF that if ANY of the three logical statements is true, set the cell to "Yes".
Regards,
Jeff Reisman, IT Business Analyst & Project Coordinator, Mitsubishi Electric Trane US
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
-
@gail.smith Try this:
=IF(AND([Submitted SC Form]@row = "Yes", [Completed Training]@row = "Completed", [SC Mailbox Status]@row = "Active"), "Yes", "No")
Using AND like this allows you to enter multiple logical statements, separated by commas, which must ALL be true for the IF to select the true condition of "Yes". A common error with AND is that people forget the close off the AND statement with a parentheses before listing their true condition and false condition.
Alternatively, using OR in place of AND in the above formula would tell the IF that if ANY of the three logical statements is true, set the cell to "Yes".
Regards,
Jeff Reisman, IT Business Analyst & Project Coordinator, Mitsubishi Electric Trane US
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!
-
Thank you so much @Jeff Reisman :)
Help Article Resources
Categories
Check out the Formula Handbook template!