Subtract X years from current date

charlesstricklin

Board Regular
Joined
May 6, 2013
Messages
88
Office Version
  1. 2010
Platform
  1. Windows
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

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
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)
 
Upvote 0
How about
Excel Formula:
=EDATE(A2,-6)
for 6 months.
Change the -6 to -12*12 (or -144) for 12 years
 
Upvote 0

Forum statistics

Threads
1,213,486
Messages
6,113,932
Members
448,533
Latest member
thietbibeboiwasaco

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
Back
Top