#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PAL PAL is offline
external usenet poster
 
Posts: 200
Default Quarters

I have a few hundred rows, one of the columns has a date, the other column a
number value. I want to group the dates by quarters (the range is 3 years
back to 07, but will grow over time). Is there a way to look at the date and
assign it a quarter year (Q1, '07). I will make the assigment in another
column. I assume I can get the averages for a given quarter via an array.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Quarters

Suppose A1 = Date. Use the below formula

="Q" & ROUNDUP(MONTH(A1)/3,0) & ", '" & RIGHT(YEAR(A1),2)

If this post helps click Yes
---------------
Jacob Skaria


"PAL" wrote:

I have a few hundred rows, one of the columns has a date, the other column a
number value. I want to group the dates by quarters (the range is 3 years
back to 07, but will grow over time). Is there a way to look at the date and
assign it a quarter year (Q1, '07). I will make the assigment in another
column. I assume I can get the averages for a given quarter via an array.

Thanks.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How should I get the # of quarters in a year. Daoud Fakhry Excel Worksheet Functions 13 November 4th 08 06:15 PM
I want quarters not months LiveUser Excel Worksheet Functions 5 May 16th 08 11:40 PM
Matching Quarters LR Excel Worksheet Functions 1 October 30th 06 03:45 PM
Conditional Sum of Quarters Andy New Users to Excel 4 April 27th 06 06:23 PM
End of the 4 quarters ben simpson Excel Discussion (Misc queries) 7 March 12th 06 05:27 PM


All times are GMT +1. The time now is 06:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"