Help with IF OR function
Hi there,
My goal is to place a checkmark in the column if a row is either blank or the date is greater than 7 days.
Here's the formula I am using, and as you can see it is giving me an invalid operation for the blank dates.
=IF(OR(ISBLANK([Reported Date]@row), [Reported Date]@row < TODAY(-7)), 1, 0)
I feel like I'm close... but what am I missing??
Best Answer
-
I got it working using the IFERROR method:
=IFERROR(IF([Reported Date]@row < TODAY(-7), 1, 0), 1)
Answers
-
Hello @MikeS
Try replacing ISBLANK() with ISDATE() and see if that works.
-
Thanks, I tried the following and neither worked:
=IF(OR(ISDATE(), [Reported Date]@row < TODAY(-7)), 1, 0)
=IF(OR(ISDATE([Reported Date]@row), [Reported Date]@row < TODAY(-7)), 1, 0)
-
I got it working using the IFERROR method:
=IFERROR(IF([Reported Date]@row < TODAY(-7), 1, 0), 1)
-
-
Thanks @MichaelTCA. I'm not sure what the issue is, but I tried both of those and still get errors. Regardless, I'm glad I figured out another way to do it. Thanks for helping.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!