View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.misc
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default 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