ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Quarters (https://www.excelbanter.com/excel-worksheet-functions/227843-quarters.html)

PAL

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.

Jacob Skaria

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.



All times are GMT +1. The time now is 09:02 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com