count overdue dates and ignore blanks using countifs
So far I have this and spent 1/2 hour plus trying to understand isblank and error trapping in the forums but can't quite knit everything together.
=countifs(cc:cc,"120802",[Due Date], <=TODAY)
Background - cc column I want to show only 120802 and for the Due Date column only count those dates < today's date. My problem is not all tasks have allocated dates, so need to ignore.
I thought this would have been straightforward, but I am missing something.Thanks in advance Paul
Best Answers
-
Try something like this...
=COUNTIFS(cc:cc, "120802", [Due Date]:[Due Date], AND(@cell <= TODAY(), @cell <> ""))
-
I don't know of any documentation regarding that particular use of those functions. It is something that just kind of came from piecing different things together.
AND inside of the COUNTIFS just helps make sure that all criteria for the same range is kept together. This helps keep the formula organized if you have a lot of different ranges with multiple criteria sets for each.
<> simply means "not equal to". It is the same as using a NOT function except it helps cut out an extra set of those pesky parenthesis.
Answers
-
Try something like this...
=COUNTIFS(cc:cc, "120802", [Due Date]:[Due Date], AND(@cell <= TODAY(), @cell <> ""))
-
Excellent Paul. Makes perfect sense when i read your code but couldn't find help that pulled countifs and And together with the <>. Looked it up again and still not obvious. Thanks again.
-
I don't know of any documentation regarding that particular use of those functions. It is something that just kind of came from piecing different things together.
AND inside of the COUNTIFS just helps make sure that all criteria for the same range is kept together. This helps keep the formula organized if you have a lot of different ranges with multiple criteria sets for each.
<> simply means "not equal to". It is the same as using a NOT function except it helps cut out an extra set of those pesky parenthesis.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!