Create conditional formatting based on data
Best Answer
-
Try something like this...
IF(COUNTIFS([Building Name]:[Building Name],[Building Name]@row,[Date of Incident]:[Date of Incident],@cell>=(Today()-30))>1,1,0)
Answers
-
@franksmart Use a checkbox with a formula in that column to be checked if the site has had multiple incidents. You can then use conditional formatting against the checkbox. Unfortunately SS does not support formulas in conditional formatting.
-
@JamesB I appreciate the info!
What would this formula look like, so that it also includes only incident in the last 30 days?
-
I would need to understand your sheet layout overall, but the basic idea would be
IF a COUTNIF of the # of types= incident where Date entered is great than TODAY()-30 is greater than 1 then check the box.
IF you can share without sharing confidential data your sheet with the columns of how you manage the incident count, we can help write you the appropriate formula.
-
I have columns including Date of Incident, Building Name, City, State, Notes on incident etc
Building Name would be the column I would want to trigger the check
-
Try something like this...
IF(COUNTIFS([Building Name]:[Building Name],[Building Name]@row,[Date of Incident]:[Date of Incident],@cell>=(Today()-30))>1,1,0)
-
This worked, thank you so much!!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!