Difficulties with "Year"s

tsallee

New Member
Joined
Oct 2, 2006
Messages
6
I have in A1 (1/1/2001). I need to subtract 3 years from this date. I also need to take into account leap years.

The actual formula set-up I need is this:

a1 b1
1/1/01 formula stating (date-3 years+1 day) = 1/2/98

Does that make sense? Any help is appreciated more than you know because I'm going crazy on this report.

:unsure:
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

barry houdini

MrExcel MVP
Joined
Mar 23, 2005
Messages
20,825
Try

=DATE(YEAR(A1)-3,MONTH(A1),DAY(A1)+1)

or with EDATE from Analysis ToolPak

=EDATE(A1,-36)+1
 

Forum statistics

Threads
1,141,094
Messages
5,704,306
Members
421,337
Latest member
DeuxMilleSangue

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
Top