View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default One text for particular period

I forgot the Q

="Q"&INT((MONTH(A1)-1)/3)+1

Mike

"Mike H" wrote:

Try

=INT((MONTH(A1)-1)/3)+1

Mike

"kashish" wrote:

If A1 = Any date, I need a formula for A2 with conditions like

If A1 between 01 Jan 2009 to 31 Mar 2009 then A2 = Q1
If A1 between 01 Apr 2009 to 30 Jun 2009 then A2 = Q2
If A1 between 01 Jul 2009 to 30 Sep 2009 then A2 = Q3
If A1 between 01 Oct 2009 to 31 Dec 2009 then A2 = Q4