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
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 145 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!