Confusion With Using Comparison Operators on Dates
Zack Pilien
ββ
I want to use conditions to mark rows where the date is within the past 30 days, in just trying to test this out I made a column of properly formatted dates and am referencing them in an IF formula:
=IF(Date@row > TODAY(-30), "True", "False")
Today's date is 4/20/2023 so TODAY(-30) returns 03/21/23. When Date@row = 04/12/23 the formula returns "False", telling me that Smartsheet believes that 03/21/23 > 04/12/23.
Why is it doing this and can I get some clarification on how to use < and > on date values in Smartsheet?
Answers
-
I cannot replicate
date: hard coded
test: =IF(date@row > TODAY(-30), "True", "False")
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.9K Get Help
- 474 Global Discussions
- 208 Use Cases
- 517 Announcements
- 5.6K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 84 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!