Excel Formula: Get Same Date Last Month or Next Month
If you want to get the same date last month or next month, the EDATE function in Excel can help you.
Get same date last month
Get same date next month
Syntaxt and arguments
|Date: the cell reference or a date surrounded by double quotation marks for getting the same date last month or next month.|
The formula returns a 5-digits numeric value, please format the result as a date format as you like.
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 month or next month based on the dates in list B3:B6, please choose below formulas as you need:
Get the same date last month
Get the same date next month
Press Enter key and drag auto fill handle down to other cells.
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.
EDATE function: to get the date based on the adding number of months.
- Get midpoint of two dates
Here this article introduces two formulas to get the midpoint of two dates in Excel in two different situations.
- Get number of worday between two dates
To count the number of workdays between two dates, the NETWORKDAYS function in Excel can help.
- Get quarter from given date
This tutorial provides formulas for you to get quarter from given dates in Excel.
- Get same day 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.
- Excel DATE Function
Create date with year, month and day
- Excel YEAR Function
Returns the year of date in 4-digit serial number format
- Excel MONTH Function
The MONTH is used to get the month as integer number (1 to 12) from date
- Excel DAY Function
DAY function gets the day as a number (1 to 31) from a date
- Excel WORKDAY Function
Add workdays to the given date and returns a workday