Conditional Formatting to add days to date based on risk category
Please help. I am trying to work with two columns:
A Risk Category column which consists of High, Medium, and Low categories;.
And a Committed Closure Date column which, depending on the risk category, is the date by which the gaps must be closed.
Here is what I have which has not worked. The columns are already of the appropriate data types. Please help!!!
=IF ([Risk Rating]@row ="High", [Committed Closure Date]@row = TODAY(15),
IF ([Risk Rating]@row ="Medium", [Committed Closure Date]@row = TODAY(45),
IF ([Risk Rating]@row ="Low", [Committed Closure Date]@row = TODAY(60))))
Best Answer
-
Hi @Dami
You have the right idea with using the IF function, but the syntax is a little off. Try using the following formula:
=IF([Risk Category]@row="High", TODAY()+15, IF([Risk Category]@row="Medium", TODAY()+45, IF([Risk Category]@row="Low", TODAY()+60, "")))
In this formula, the IF function checks the value in the Risk Category column for each row. If the value is "High", it returns the current date plus 15 days. If the value is "Medium", it returns the current date plus 45 days. If the value is "Low", it returns the current date plus 60 days. If the Risk Category value is none of those, it returns a blank cell.
Regards
J Tech
If my response has helped you in any way or provided a solution to your problem, please consider supporting the community by marking it as Insightful, Vote Up, or Awesome. Additionally, you can mark it as the accepted answer, which will make it easier for others to find a solution or get help with a similar issue in the future. Your support is greatly appreciated!
Answers
-
Hi @Dami
You have the right idea with using the IF function, but the syntax is a little off. Try using the following formula:
=IF([Risk Category]@row="High", TODAY()+15, IF([Risk Category]@row="Medium", TODAY()+45, IF([Risk Category]@row="Low", TODAY()+60, "")))
In this formula, the IF function checks the value in the Risk Category column for each row. If the value is "High", it returns the current date plus 15 days. If the value is "Medium", it returns the current date plus 45 days. If the value is "Low", it returns the current date plus 60 days. If the Risk Category value is none of those, it returns a blank cell.
Regards
J Tech
If my response has helped you in any way or provided a solution to your problem, please consider supporting the community by marking it as Insightful, Vote Up, or Awesome. Additionally, you can mark it as the accepted answer, which will make it easier for others to find a solution or get help with a similar issue in the future. Your support is greatly appreciated!
-
Perfect. That worked! Thank you so much.
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