Forum Discussion
Counting Dates
- May 28, 2020
Excel 2013 and later:
=SUMPRODUCT(0+(TEXT(FILTERXML("<a><b>"&SUBSTITUTE(A1,",","</b><b>")&"</b></a>","//b"),"mmmm")="September"))
Amend month as required.
Slightly more involved if you're on a pre-2013 version of Excel. Let me know.
Regards
Excel 2013 and later:
=SUMPRODUCT(0+(TEXT(FILTERXML("<a><b>"&SUBSTITUTE(A1,",","</b><b>")&"</b></a>","//b"),"mmmm")="September"))
Amend month as required.
Slightly more involved if you're on a pre-2013 version of Excel. Let me know.
Regards
- rhockmanMay 29, 2020Brass Contributor
This is exactly what I was looking for! Genius Thank you. Jos_Woolley
- Jos_WoolleyMay 29, 2020Iron Contributor
- rhockmanMay 29, 2020Brass Contributor
OK. Now how would I pull out the largest date from that same list? I hope you don't mind me asking you for more help. Jos_Woolley
- SergeiBaklanMay 28, 2020Diamond Contributor
- Jos_WoolleyMay 28, 2020Iron Contributor
Thanks, SergeiBaklan. I hadn't tested with the new dynamic arrays yet, but agreed - that's quite a powerful combination!
Regards