Combining AND with OR
From a logical perspective, I'm trying to write a formula that says the following -
If the (Issue Type = 'BUG') AND the( Status = 1 of 5 possible values), then the cell value should be a red ball, otherwise, the cell value should be green. Regardless of what I try to type, I'm either getting #UNPARSEABLE or #INCORRECT ARGUMENT SET as my response. Any assistance would be appreciated. Below is my current exact syntax...
=IF(AND([Issue Type]2 = "Bug", IF(OR(Status2 = "Waiting for support", Status2 = "Pending", Status2 = "Open", Status2 = "Reopened", Status2 = "Requested"))), "Red", "Green")
Thank you in advance.
Comments
-
This is a quick attempt to fix it, but try this.
=IF(AND([Issue Type]2 = "Bug", (OR(Status2 = "Waiting for support", Status2 = "Pending", Status2 = "Open", Status2 = "Reopened", Status2 = "Requested"))), "Red", "Green")
I removed the IF that was before OR because its still part of the same first condition.
-
That worked perfectly Mike. Thank you so much!!
Regards,
Tim
-
Awesome! Glad I could help you out!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 69 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!