Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
ben simpson
 
Posts: n/a
Default End of the 4 quarters

Is there a formula that can match the end of the 4 quarters (March31,June
30,September30, and December 31) to todays date so I can initialize a report
that is due? I'd like to have the number 5 placed in a cell to remind me.
Thank you for your help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default End of the 4 quarters

=DATE(YEAR(TODAY()),(INT((MONTH(TODAY())-1)/3)+1)*3+1,0)

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"ben simpson" wrote in message
...
Is there a formula that can match the end of the 4 quarters (March31,June
30,September30, and December 31) to todays date so I can initialize a

report
that is due? I'd like to have the number 5 placed in a cell to remind me.
Thank you for your help.



  #3   Report Post  
Posted to microsoft.public.excel.misc
ben simpson
 
Posts: n/a
Default End of the 4 quarters

Thanks Bob for looking in. The formula gave me the date of the end of the
current quarter, but how can I get this to put the value of 5 in the cell
when the actual date matches this date (3/31)? Or is there a work around by
placing the formula in a cell then referencing the result to do this?

"Bob Phillips" wrote:

=DATE(YEAR(TODAY()),(INT((MONTH(TODAY())-1)/3)+1)*3+1,0)

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"ben simpson" wrote in message
...
Is there a formula that can match the end of the 4 quarters (March31,June
30,September30, and December 31) to todays date so I can initialize a

report
that is due? I'd like to have the number 5 placed in a cell to remind me.
Thank you for your help.




  #4   Report Post  
Posted to microsoft.public.excel.misc
daddylonglegs
 
Posts: n/a
Default End of the 4 quarters


Do you mean you want a formula to return 5 on the last day of a quarter
only? If so try

=IF(DAY(NOW()+1)+MOD(MONTH(NOW()),3)=1,5,"")


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=521401

  #5   Report Post  
Posted to microsoft.public.excel.misc
ben simpson
 
Posts: n/a
Default End of the 4 quarters

Thanks daddy. Now what I'm missing is for a way that the 5 will remain there
through the end of the work period, not just there for that 1 day. Its a
period of less than 1 month, but the dates vary.

"daddylonglegs" wrote:


Do you mean you want a formula to return 5 on the last day of a quarter
only? If so try

=IF(DAY(NOW()+1)+MOD(MONTH(NOW()),3)=1,5,"")


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=521401




  #6   Report Post  
Posted to microsoft.public.excel.misc
daddylonglegs
 
Posts: n/a
Default End of the 4 quarters


So you want 5 to remain until a specific date and then what, return to
zero? then become 5 again on the last day of the next quarter?

Can you define the end of the next work period?


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=521401

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formating Fiscal Quarters, rather than Months PatK Excel Discussion (Misc queries) 2 September 7th 05 05:08 AM
How do I calculate the number of quarters between two date Adam Excel Discussion (Misc queries) 1 September 1st 05 11:02 AM
Show quarters and years on x axis of a chart Kacee Charts and Charting in Excel 3 March 19th 05 03:42 AM
How do I Turning Dates into Quarters Rob V Excel Worksheet Functions 4 January 28th 05 05:51 PM
Sumproduct, By Quarters and Amount Tom Fortune Excel Worksheet Functions 5 January 24th 05 05:32 AM


All times are GMT +1. The time now is 06:16 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"