Calculate a quarter
Here's another one:
=CEILING(MONTH(A1)/3,1)&"Q"&TEXT(A1,"yy")
--
Biff
Microsoft Excel MVP
"JPS" wrote in message
...
I have a large spreadsheet that is a five-year forecast. In one column is a
date, I need to know a way to calculate the quarter, in XQYY format, the
event is forecasted to happen. Where X is the quarter from the table
below, Q
is a set value and XX is the forecast year.
Date Range Quarter
January - March 1
April - June 2
July - September 3
October - December 4
For example, March 2009, would be 1Q09.
Thanks,
--
JPS
|