Nested IF AND with Multiple logics - Not bringing the expected outcome
I am trying to write the following logic to calculate the SLA breach.
LOW - Greater than - 7 days
MEDIUM - Greater than - 4 days
HIGH - Greater than - 2 days
CRITICAL - Greater than - 1 day.
However, the formula is not accurately bringing the breach/no breach as expected. Except "Critical" all of the other severity logics are as showing as "Not Breached".
=IF(Severity@row = "", "", IF(AND(Severity@row = "Low", [Total Ticket Duration]@row > "7"), "Breach", IF(AND(Severity@row = "Medium", [Total Ticket Duration]@row > "4"), "Breach", IF(AND(Severity@row = "High", [Total Ticket Duration]@row > "2"), "Breach", IF(AND(Severity@row = "Critical", [Total Ticket Duration]@row > "1"), "Breach", "No Breach")))))
Answers
-
Hello Tamiz,
I just tried your formula and it works as you would expect it if you take the quote marks away from the number values:
IF(AND(Severity@row = "Low", [Total Ticket Duration]@row > 7), ...
I hope that helps. If I've misundertstood, please let me know and I will look again.
Have a great day,
Paul - Smarter Business Processes.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!