Looking for formula
need to populate a date with these parameters.
Defect type ="CRITICAL" - populates "clean up date" with date 5 days after "audit received date"
but if Defect type = "major" or "minor" - populates "clean up date" with date 30 days after "audit received date"
right now i have simple formula to populate Clean up date as 30 days after audit date. But the defect type changes that date parameter to 5 days out instead of 30 days out. Is there formula to do that, maybe IF?
Best Answer
-
=IF(CONTAINS("CRITICAL", [DEFECT TYPE]@row), [Audit received]@row + 5, IF(OR(CONTAINS("MAJOR", [DEFECT TYPE]@row), CONTAINS("MINOR", [DEFECT TYPE]@row)), [Audit received]@row + 30))
Give that a try.
Answers
-
i have this formula currently but get error
=IF([DEFECT TYPE]@row = "CRITICAL"; [Audit received]@row + 5; IF([DEFECT TYPE]@row = "MAJOR"; [Audit received]@row + 30; IF([DEFECT TYPE]@row = "MINOR"; [Audit received]@row + 30))
-
fixed it, had semi colon instead of comma
=IF([DEFECT TYPE]@row = "CRITICAL", [Audit received]@row + 5, IF([DEFECT TYPE]@row =
"MAJOR", [Audit received]@row + 30, IF([DEFECT TYPE]@row =
"MINOR", [Audit received]@row + 30))
but now i cant figure out how to change formula for a multi select drop down box
If DEFECT TYPE contains CRITICAL with any other combo of MAJOR OR MINOR. date is +5 days
If not CRITICAL - But any combo of MAJOR or MiNOR , date is +30
i only have it working on single selection drop down.
-
=IF(CONTAINS("CRITICAL", [DEFECT TYPE]@row), [Audit received]@row + 5, IF(OR(CONTAINS("MAJOR", [DEFECT TYPE]@row), CONTAINS("MINOR", [DEFECT TYPE]@row)), [Audit received]@row + 30))
Give that a try.
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!