Rolling MM/DD/YYYY dates into Q/YYYY dates

littlejilly

Board Regular
Joined
Sep 8, 2011
Messages
168
Hi all, I have a few columns of dates that are formatted in MM/DD/YYYY. There are hundreds of dates in these columns and I am looking for a way to roll these up into each of the dates respective quarters. Essentially looking for a formula that will either countif or sumif the number of dates that are in each quarter.

Open to any thoughts and suggestions you may have.

Thanks!
littlejilly
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Hi, 1 Option can be pivot table and grouping by Quarter and Year.
 
Upvote 0
Another with helper column:


Book1
LMNO
1Q3, 201963
2
3
4
5DateQuarter
67/30/2019Q3, 2019
77/31/2019Q3, 2019
88/1/2019Q3, 2019
98/2/2019Q3, 2019
Sheet3
Cell Formulas
RangeFormula
O1=COUNTIF($M$6:$M$107,N1)
M6="Q"&ROUNDUP(MONTH(L6)/3,0)&", "&YEAR(L6)



Without helper column:


Book1
QRS
1QuarterYear
23201963
3
4
5Date
67/30/2019
77/31/2019
88/1/2019
98/2/2019
Sheet3
Cell Formulas
RangeFormula
S2=SUMPRODUCT((ROUNDUP(MONTH($Q$6:$Q$107)/3,0)=Q2)*(YEAR($Q$6:$Q$107)=R2))
 
Upvote 0

Forum statistics

Threads
1,223,950
Messages
6,175,582
Members
452,653
Latest member
craigje92

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top