Subtract X years from current date

charlesstricklin

Board Regular
Joined
May 6, 2013
Messages
54
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

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

jtakw

Well-known Member
Joined
Jun 29, 2014
Messages
6,007
Office Version
  1. 2016
Platform
  1. Windows
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
Joined
Jun 12, 2014
Messages
56,526
Office Version
  1. 365
Platform
  1. Windows
How about
Excel Formula:
=EDATE(A2,-6)
for 6 months.
Change the -6 to -12*12 (or -144) for 12 years
 

Watch MrExcel Video

Forum statistics

Threads
1,129,483
Messages
5,636,604
Members
416,929
Latest member
Nitil

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