Subtract X years from current date

charlesstricklin

Board Regular
I'm guessing the answer to this is ridiculously simple, but I'll be danged if I can figure it out.

I want to subtract a certain number of years from the current date. For instance, as I write this the date is 2/26/2021. If I wanted to subtract 12 years from today's date I should get 2/26/2009. How do I calculate that in Excel?

Also, what if I wanted to add or subtract a certain number of months to a date. For example, if I was given the date 5/10/1960 and I wanted to subtract 6 months to have 12/10/1959 as the result?

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the \$ sign).

jtakw

Well-known Member
Hi,

You can do this:

Book3.xlsx
AB
12/26/20212/26/2009
25/10/196011/10/1959
Sheet801
Cell Formulas
RangeFormula
B1B1=EDATE(A1,-144)
B2B2=EDATE(A2,-6)

Fluff

MrExcel MVP, Moderator
Excel Formula:
``=EDATE(A2,-6)``
for 6 months.
Change the -6 to -12*12 (or -144) for 12 years

Replies
3
Views
118
Replies
18
Views
582
Replies
2
Views
249
Replies
7
Views
35
Replies
3
Views
40

1,129,795
Messages
5,638,367
Members
417,023
Latest member
Zimbo38

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?

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

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