Excel: Adding Years to a Date While Keeping Same Month and Day

Last reviewed: November 2, 1994
Article ID: Q52131

SUMMARY

To add a number of years to a date in Microsoft Excel so that the month and day stay the same, use the following formula

   =DATE(YEAR(ref)+var,MONTH(ref),DAY(ref))

where "ref" gives the location of the cell where the date is to be changed, and "var" is the number of years to add to the date in "ref".

For example, to add 5 years to 4/1/90 (located in cell A1) so that 4/1/95 is the resulting date, the formula is as follows:

   =DATE(YEAR(A1)+5,MONTH(A1),DAY(A1))


KBCategory: kbother
KBSubcategory:

Additional reference words: 1.00 1.03 1.04 1.06 1.50 2.20 3.00


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 2, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.