COUNTIF or IF Statement

I am looking to add date columns that are based on a criteria in another cell. I can use the COUNTIF statement to add the dates but when I place an criteria in place I get an error.
=COUNTIF([Due Date]:[Due Date], <=TODAY())
This works to count my dates that are less then or equal today but I need it also to filter out if the [Complete Date] ISBLANK to determine correct cell count. I tried the below form. but get error out.
=IF(ISBLANK([Complete Date]:[Complete Date]), COUNTIF([Due Date]:[Due Date], <=TODAY()), "0")
Hopefully someone can point me in the right direction.
Comments
-
Hi Richard,
Try this:
=COUNTIFS([Completion Date]:[Completion Date], ISBLANK(@cell), [Due Date]:[Due Date], <=TODAY())
This will count all cells that both have a blank completion date and have a due date of greater than or equal to the current date.
Let me know if that's not what you're looking for and I'll be happy to further advise.
-
Thank you very much this worked perfectly.
-
Hi, Shaine,
Using your example above, I'm wondering why this is coming up unparseable for me. I'm looking to count in a Summary Field all rows where Student Tasks Completed (date) is either blank or before today (actually I need it to calc and count fields that have dates on or before 7 days before today):
=COUNTIFS([Student Tasks Completed]:[Student Tasks Completed], ISBLANK(@cell)), ([Student Tasks Completed]:[Student Tasks Completed], < TODAY())
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 450 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!