Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
paddymack
 
Posts: n/a
Default How do I add an extra day to a calendar every four years

I am creating an appointment book and want to accomodate the extra day every
leap year. If D3=2006 than D35=1 March but if D3=2008 it must be 29 Feb. I
need two formulars in one cell to accmodate the variation in D3. Can anybody
help?
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

No need for 2 formulas

=DATE(D3,2,29)

custom format as d mmm

--
Regards,

Peo Sjoblom

(No private emails please)


"paddymack" wrote in message
...
I am creating an appointment book and want to accomodate the extra day
every
leap year. If D3=2006 than D35=1 March but if D3=2008 it must be 29 Feb.
I
need two formulars in one cell to accmodate the variation in D3. Can
anybody
help?


  #3   Report Post  
Mangesh Yadav
 
Posts: n/a
Default

In cell D35, enter the formula:
=DATE(D3,1,1)+59
and format it as dd mmm

Mangesh



"paddymack" wrote in message
...
I am creating an appointment book and want to accomodate the extra day

every
leap year. If D3=2006 than D35=1 March but if D3=2008 it must be 29 Feb.

I
need two formulars in one cell to accmodate the variation in D3. Can

anybody
help?



  #4   Report Post  
Niek Otten
 
Posts: n/a
Default

You probably derive each date from a previous one by adding 1.
No need to take care of the number of days in a month yourself; Excel will
do that and handle leap years correctly.
IOW if A1 is Feb 28 2006, adding 1 will result in March 1 2006, if A1 is Feb
28 2008, adding 1 will give Feb 29 2008.

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"paddymack" wrote in message
...
I am creating an appointment book and want to accomodate the extra day
every
leap year. If D3=2006 than D35=1 March but if D3=2008 it must be 29 Feb.
I
need two formulars in one cell to accmodate the variation in D3. Can
anybody
help?



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
How do i set up a calendar in excel? Luxbrian Excel Discussion (Misc queries) 0 April 11th 05 05:54 PM
Where can I find a 2006 Business Calendar template? Cindy Charts and Charting in Excel 1 March 22nd 05 03:02 AM
Calendar and info for that date Jenn Excel Discussion (Misc queries) 0 January 5th 05 04:21 PM
Calendar 13 Periods 4 weeks each CHawk@Mcc Excel Discussion (Misc queries) 2 December 10th 04 04:27 PM
Weekly data into Calendar Weeks ExcelMonkey Excel Worksheet Functions 2 November 22nd 04 08:41 PM


All times are GMT +1. The time now is 09:16 PM.

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"