## Excel Formula: Get Same Date Last Year or Next Year

In this tutorial, it provides two formulas to separately get the same date last year and next year based on the given date in Excel.

Generic formula

Get same date last year

 EDATE(date,-12)

Get same date next year

 EDATE(date,12)

Syntaxt and arguments

 Date: the cell reference or a date enclosed in double quotation marks that used to get the same date last year or next year.

Return value

The formula returns a serial number that represents the date.

Errors

If the argument date is not a numeric value or the date is earlier than 1/1/1900, the formula returns an error value #VALUE!.

How this formula works

To get the same dates last year separately based on the dates in list B3:B5, please use below formula:

Before using the formula, please format the cells as date format firstly.

Select the cells will place the results, click Home tab and choose Short Date or Long Date from the drop-down menu of Number Format.

Then type formula:

 =EDATE(B3,-12)

Or

 =EDATE("4/12/2021",-12)

Press Enter key and drag auto fill handle down to cell D5 to get the same dates last year.

To get the same date next year

 =EDATE(B3,12)

Or

 =EDATE("4/12/2021",12)

Explanation

EDATE function: to get the date based on the adding number of months.

### The Best Office Productivity Tools

#### Kutools for Excel - Helps You To Stand Out From Crowd

 ðŸ¤– Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functionsâ€¦ Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ... Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup... Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List... Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Columns to Select Same & Different Cells ... Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ... Top 15 Toolsets:  12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

#### Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

• One second to switch between dozens of open documents!
• Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
• Increases your productivity by 50% when viewing and editing multiple documents.
• Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.