Next Date of Quarterly / Monthly / Weekly Reports

Studpure

New Member
Joined
Sep 1, 2002
Messages
42
Hi,
How can Excel calculate when the date of a Quarter / Month or Week will start?

Ideally, today's date is 5-Feb-2009

Some cell would come down to display the following:

Next week start: 09/02/2009
Next month start: 01/03/2009
Next quarter start: 01/04/2009

Any help will be great.
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Hi

If your reference date is in A1

Code:
For next week formula is :-
CHOOSE(WEEKDAY($A$1,2),0,6,5,4,3,2,1)+$A$1

For next month formula is :-
=DATE(YEAR($A$1),MONTH($A$1)+1,1)

For next quarter formula is :-
=DATE(IF(MONTH($A$1)<10,YEAR($A$1),YEAR($A$1)+1),IF((MONTH($A$1)+CHOOSE(MONTH($A$1),3,2,1,3,2,1,3,2,1,3,2,1))=13,1,(MONTH($A$1)+CHOOSE(MONTH($A$1),3,2,1,3,2,1,3,2,1,3,2,1))),1)
hth

Mike
 
Upvote 0
try this
Excel Workbook
ABCD
1Next weekNext monthNext Qtr
205-Feb09-Feb01-Mar01-Apr
Sheet4
Excel 2003
Cell Formulas
RangeFormula
B2=A2+8-WEEKDAY(A2,2)
C2=EOMONTH(A2,0)+1
D2=EOMONTH(A2,3-MOD(MONTH(A2),3))+1
 
Upvote 0
Hi

If your reference date is in A1

Code:
For next week formula is :-
CHOOSE(WEEKDAY($A$1,2),0,6,5,4,3,2,1)+$A$1

For next month formula is :-
=DATE(YEAR($A$1),MONTH($A$1)+1,1)

For next quarter formula is :-
=DATE(IF(MONTH($A$1)<10,YEAR($A$1),YEAR($A$1)+1),IF((MONTH($A$1)+CHOOSE(MONTH($A$1),3,2,1,3,2,1,3,2,1,3,2,1))=13,1,(MONTH($A$1)+CHOOSE(MONTH($A$1),3,2,1,3,2,1,3,2,1,3,2,1))),1)
hth

Mike

This works great. Thanks.

Thank you ukmikeb and sanrv1f
 
Upvote 0

Forum statistics

Threads
1,214,587
Messages
6,120,405
Members
448,958
Latest member
Hat4Life

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top