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.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!