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
-
You're close! Try this:
=IF(AND([Location Status]@row = "Real", OR([Staffing Status]@row = "Yellow", [Staffing Status]@row = "Red")), 1,0)
Let me know if it works for you!
Best,
Heather
Answers
-
You're close! Try this:
=IF(AND([Location Status]@row = "Real", OR([Staffing Status]@row = "Yellow", [Staffing Status]@row = "Red")), 1,0)
Let me know if it works for you!
Best,
Heather
-
That worked perfectly! Thank you so much @Heather D
-
@Keisha Thomas Happy to help! 😊
Help Article Resources
Categories
Check out the Formula Handbook template!