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
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 462 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!