sorting dates into calendar quarters

sam88

Board Regular
Joined
Nov 1, 2006
Messages
80
I have a situation where I need to sort dates into quarters. The data are more than 10,000 lines.
Example:
1/1/06, 2/1/06, 3/3/06, 4/6/06,5/7/06,6/9/06,7/9/06,1/1/05,1/1/04 ...etc.... I need to separate them into 1/1/06 = QTR 1 2006, 2/1/06 = QTR 1, 2006, 3/3/06= QTR 1, 2006, 4/6/06 = QTR 2 2006, 5/7/06 = QTR 2 2006, 7/9/06 = QTR 3, 2006, 1/1/05 = QTR 1, 2005, 1/1/04 = QTR 1 2004 etc...

Is there a way to do this ? Thanks...
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
If you have a date in A1 you can generate "QTR 1 2006" or similar with this formula

="QTR "&INT((MONTH(A1)+2)/3)&" "&YEAR(A1)
 
Upvote 0
Barry,
I tried but it gave me "#VALUE!" error message. Any help will be appreciated.
 
Upvote 0

Forum statistics

Threads
1,215,339
Messages
6,124,381
Members
449,155
Latest member
ravioli44

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