Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
John Day
 
Posts: n/a
Default Date function question

I have a date in cell A1. I would like the date in
cell B1 to reflect the prior year date base on cell A1.
The results in cell B1 should consider leap year. How do I
do this?

Thanks,

John
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi John

check out the DateDif function at Chip Pearson's website ... there's a
discussion on how it works with leap years at the bottom of the page
http://www.cpearson.com/excel/datedif.htm

Cheers
JulieD

"John Day" wrote in message
...
I have a date in cell A1. I would like the date in
cell B1 to reflect the prior year date base on cell A1.
The results in cell B1 should consider leap year. How do I
do this?

Thanks,

John



  #3   Report Post  
Bernard Liengme
 
Posts: n/a
Default

Have you tried =A1-365 ?
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"John Day" wrote in message
...
I have a date in cell A1. I would like the date in
cell B1 to reflect the prior year date base on cell A1.
The results in cell B1 should consider leap year. How do I
do this?

Thanks,

John



  #4   Report Post  
Vicar
 
Posts: n/a
Default

Have you tried EDATE(A1,-12)?

"John Day" wrote:

I have a date in cell A1. I would like the date in
cell B1 to reflect the prior year date base on cell A1.
The results in cell B1 should consider leap year. How do I
do this?

Thanks,

John

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
Calculating days between current date and a date in future NETWORKDAYS() function Faheem Khan Excel Worksheet Functions 2 February 10th 05 07:18 PM
IF Function with Date revised question taxmom Excel Worksheet Functions 5 February 8th 05 09:40 PM
Formula for date function Markitos Excel Worksheet Functions 15 November 10th 04 02:05 AM
Another date function question mendozalaura Excel Worksheet Functions 0 November 5th 04 08:44 PM
Another date function question mendozalaura Excel Worksheet Functions 1 November 5th 04 04:26 PM


All times are GMT +1. The time now is 02:27 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"