Thread: Quarter Dates
View Single Post
  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier Roger Govier is offline
external usenet poster
 
Posts: 2,886
Default Quarter Dates

Hi

For example if the date is in july, or august it should revert back to
either June or september

You can only have one
- it is either going back to the previous quarter date which Bob's
solution provides
or
- it goes forward to the next quarter date, which my solution provides

July, August and September can all be treated as June, or they can all
be treated as September

--
Regards

Roger Govier


"LR" wrote in message
ups.com...
Thanks guys. But the examples are real. What I wanted is if there is
a
month which falls outside the designated quarter months, then it
should
revert back to one of the quarter months So you could have any set of
scenarios of dates falling outside the quarter months. For example if
the date is in july, or august it should revert back to either June or
september. Or if the date is january or February it should revert back
to either December or March as quarter period.

This is an acutal scenario.





LR wrote:
I have a column A which can have different dates.
As


July 07
Feb 08
Apr 08
May 08
Oct 08
Nov 09

In column B I would like to have dates that correspond to the
quarterly
periods Dec, March,
June,September.

For example in column B, I would like to see

June 07
March 08
march 08
June 08 etc.

Is there a formula that could be applied to column B to get the dates
as above.

Thanks