Forum Discussion
COUNTIFS comparing columns for overdue dates
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.
- Atom0aksDec 28, 2023Copper ContributorMicrosoft® Excel® for Microsoft 365 MSO (Version 2309 Build 16.0.16827.20166) 64-bit
- Atom0aksDec 31, 2023Copper Contributor
Sorry! I read through your response and it's taking me a bit of time to see if organizing my data as a table could give me the information I need rather than filtering but it seems I still run into the same problem (it counts all deliveries in 2023, not just the overdue).
- LorenzoDec 28, 2023Silver Contributor
With 365 could you try (adjust E101 and F101 to your actual range):
=ROWS( FILTER(E2:F101, (F2:F101 >= DATE(2023,1,1)) * (F2:F101 <= DATE(2023,12,31)) * (F2:F101 > E2:E101) ) )As a generic recommendation (not specific to FILTER), avoid referencing a full column (i.e. E:E, F:F) when that's not actually required, this can lead to perf. issue. Tables provide dynamic ranges...