Mark,
Try this:
C6=TODAY()
D6=DATE(YEAR(TODAY()),MONTH(TODAY())+1,21)
A6=D6-C6
This should work except for December. To handle December, you would need to
add some IF statements.
For the year: IF(MONTH(TODAY())<12,YEAR(TODAY()),YEAR(TODAY())+1)
For the month: IF(MONTH(TODAY()<12,MONTH(TODAY())+1,1)
D6 then becomes:
=DATE(IF(MONTH(TODAY())<12,YEAR(TODAY()),YEAR(TODAY())+1),
IF(MONTH(TODAY()<12,MONTH(TODAY())+1,1),21)
Hope this works for you
-----Original Message-----
I would like to have an Excel formula where as
C6=(TODAY)
D6=7/21/09
A6 =D6-C6 but....
A6 counts down the days from the 21st of the month. What I want it to
do is when A6 reaches 0, it changes D6 by increasing the month by
one, thus starting a new month countdown. How do I accomplish this. Thanks
Mark Rode
Do you want to signoff PCSOFT or just change to
Digest mode - visit our web site:
http://freepctech.com/pcsoft.shtml
|