Forum Discussion
Atom0aks
Dec 28, 2023Copper Contributor
COUNTIFS comparing columns for overdue dates
Hi,
My objective is to count all overdue dates in 2023,
E | F |
Due | Delivered |
08-Aug-22 | 07-Dec-22 |
14-Dec-22 | 02-Feb-23 |
29-Jul-22 | 11-Aug-22 |
11-Nov-22 | 29-Dec-22 |
The result should be "1" but Excel returns a "0" when I use this formula,
=COUNTIFS(F:F,">=31-Dec-22",F:F,"<=01-Jan-24",F:F,">"&E:E)
Any help would be greatly appreciated. Thanks!
9 Replies
Sort By
- Atom0aksCopper Contributor
Hi!
Your formula counts the number of dates in 2023. If you add another row of data (e.g. Column E, 31-Dec-23; Column F, 13-Oct-23), the formula will return "2" when only 1 row of dates is overdue.
I need an additional criteria counting delivery dates in 2023 that are greater than the due date.- LorenzoSilver ContributorOK, I see. What version of Excel do you run?