Formula to check box when 2 criteria are met: older than 180 days and another box is checked
I can't get get my formula to work. I am trying to get a box in one column to check when the date in another column exceeds or is equal to 6 months (180 days) and when another box in a third column is checked. This is what I have, but I think it's the checkbox condition that's throwing things off:
=IF(AND([Start Date]@row >= TODAY(180), [Uniformed Employee]@row = "1"), 1, 0)
For the Uniformed Employee checkbox, I have tried removing the quotations, changing the equal sign to a comma, changing the 1 to greater than 0. Please help!
Best Answers
-
For my formulas with check boxes, use "True" (checked) and "False" (unchecked) instead of "1 and 0" give that a shot!
Below is a formula I use to check the anniversary column if the start date is this month, and they are not a new hire.
=IF(AND(MONTH([Anniversary Date]@row) = MONTH(TODAY()), [New Hire This Month?]@row = "false"), true, false)
Jackie Ziemke, Marketing Director
ruralMED Management Resources
-
Try =IF(AND([Start Date]@row <= TODAY(-180), [Uniformed Employee]@row =1), 1, 0)
Answers
-
For my formulas with check boxes, use "True" (checked) and "False" (unchecked) instead of "1 and 0" give that a shot!
Below is a formula I use to check the anniversary column if the start date is this month, and they are not a new hire.
=IF(AND(MONTH([Anniversary Date]@row) = MONTH(TODAY()), [New Hire This Month?]@row = "false"), true, false)
Jackie Ziemke, Marketing Director
ruralMED Management Resources
-
Try =IF(AND([Start Date]@row <= TODAY(-180), [Uniformed Employee]@row =1), 1, 0)
-
Thank you both for your advice! The negative 180 worked and I didn't realize you could use true/false instead of 1/0.
-
Anytime, Here is a tip, When I work on if or if(and, I break down each "if" to make sure it works before i put them together.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!