Confusion With Using Comparison Operators on Dates
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
- Smartsheet Customer Resources
- 63.1K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 450 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 289 Events
- 34 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!