IF, AND, OR Formula


Hello, I am trying to write a formula to use the flag symbol to flag a row as urgent IF the location is "Real" AND Staffing Status symbol is "Yellow" OR "Red". I am having a hard time combining them all to have the correct syntax. This is what I have so far:

=IF([Location Status]@row = "Real", AND([Staffing Status]@row = "Yellow", OR([Staffing Status]@row = "Red")), 1)

It seems to be working as it's not giving me an error message, but not formulating the way I need it to. Thank you in advance.


Best Answer


Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!