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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!