Excel Functions Tutorials
- Excel Formulas Cheatsheet
- Financial Functions in Excel
- Logical Functions in Excel
- TEXT Functions in Excel
- Lookup Reference in Excel
- Address Function in Excel
- Choose Function in Excel
- Column Function in Excel
- Columns Function in Excel
- REPLACE Function in Excel
- GetPivotData in Excel
- HLOOKUP in Excel
- Hyperlink Excel Function
- INDIRECT Function in Excel
- LOOKUP Excel Function
- Match Excel Function
- VLOOKUP Excel Function
- INDEX Excel Function
- VLOOKUP vs HLOOKUP
- TRANSPOSE Excel Function
- Row Function in Excel
- OFFSET Excel Function
- Maths Functions in Excel
- POWER Function in Excel
- EVEN Function in Excel
- ODD Function in Excel
- ABS Function in Excel
- SUM Function in Excel
- SUMPRODUCT Function in Excel
- SUBTOTAL Excel Function
- ROUND in Excel
- AGGREGATE Excel Function
- PRODUCT Excel Function
- RAND Excel Function
- LOG Excel Function
- EXPONENTIAL Excel Function
- SUMIF in Excel
- TAN Excel Function
- CEILING Excel Function
- LN Excel Function
- SIGN Excel Function
- COS Excel Function
- FLOOR Function in Excel
- SIN Excel Function
- ROUNDDOWN Excel Function
- ROUNDUP Function in Excel
- COMBIN Excel Function
- INT Excel Function (Integer)
- Date and Time Function in Excel
- Statistical Function in Excel
- AVERAGE Excel Function
- CORREL Excel Function
- COUNT Excel Function
- COUNTIF Excel Function
- FREQUENCY Excel Function
- MAX Excel Function
- MEDIAN Excel Function
- GROWTH Excel Function
- SLOPE Function in Excel
- TREND Function in Excel
- SMALL Function in Excel
- MODE Excel Function
- LARGE Excel Function
- PERCENTILE Excel Function
- LINEST Excel Function
- T-TEST in Excel
- QUARTILE Excel Function
- Information Functions in Excel
- Excel Charts
- Excel Tools
- Excel Tips
EDATE in Excel (Table of Contents)
EDATE Function in Excel
EDATE Function is a built-in function in MS Excel. EDATE Function falls under the category of DATE and TIME functions in Excel. EDATE in excel is used to get a date on the same day of the month, x months in the past or future. EDATE function returns the serial number of the date that is the indicated number of months before or after the given start date. The EDATE function in excel is used to calculate expiration dates, maturity dates, and other due dates. To get a date in the future, use a positive value for months and a negative value for dates in the past.
EDATE Formula in Excel
Below is the EDATE Formula in Excel.
EDATE in Excel has two arguments out of which both are required. Where,
- Start_date =A date that represents the start date in a valid Excel serial number format.
- months = The number of months before or after start_date.
How to Use EDATE Function in Excel?
The EDATE function in excel is a Worksheet (WS) function. As a WS function, EDATE in excel can be entered as a part of the formula in a cell of a worksheet. Refer to a couple of examples given below to know more.
EDATE Function in Excel Worksheet
Let’s look at the EDATE Function examples given below. Each example covers a different use case implemented using EDATE Excel Function.
EDATE in Excel Example #1 – Get the same date 3 months later
In the above example, EDATE(B2,3) returns a date which is three months later than the date mentioned in cell B2. Cell B2 has date 23rd Sept 2018. So, the date after 3 months is 23rd Dec 2018 and the same is displayed as the result in cell C2 wherein the EDATE Function is applied.
EDATE in Excel Example #2 – Add months to date
In the above example, cell B5to B7 contain the source date.
Cell C5 to C7 contain the number of months to be added to the dates from B column.
Cell D5 to D7 contain the result date.
The EDATE function used is EDATE (B5, C5), EDATE (B6 ,C6) and EDATE(B7,C7) respectively.
Row 5, the date is 1st Jan 2018 and 12 months are added to the date resulting into the date 1st Jan 2019. Row 6, the date is 10th Jan from which a year i.e. 12 months are deducted resulting into the date as 10th Jan 2017. Row 7, the source date is 23rd Sept 2018 to which 24 months i.e. 2 years are added and the result date is 23rd Sept 2020.
EDATE in Excel Example #3 – Calculate the retirement date from the birth date
In the above example, the birth date is given. From using the birth date (Col B) and the retirement age criteria, the retirement date is calculated (Col C). Years Left is another column (Col D) wherein the number of years of service left is calculated using YEARFRAC Excel function.
As shown in the above EDATE function in Excel 1 box, i.e. EDATE(B10,12*58), B10 contains the birth date which is 21st May 1965.
In the above screenshot, the retirement date calculated is 21st May 2023 which is 58 years after the birth date.
2nd formula is YEARFRAC (TODAY (), C10) i.e. the difference between the today’s date and the retirement date which is 4 years 7 months. Consider the screenshot given below.
The same EDATE function is applied to the remaining two rows. i.e B11 and C11
Cell B11 contains birth date as 5th Sept 1962. The retirement date calculated is 5th Sept 2020 which is 58 years after the birth date
And the years left in cell D11 is calculated to be 1.9 which is 1 year 9 months after today’s date.
EDATE in Excel Example #4– Calculate expiry date
In the above example, cell B14 contains the start date or manufacturing date of the product, cell C14 contains the duration for which the product can be consumed. Cell D14 is the resulting cell which indicates the expiry date of the product. Here, 3rd April 2018 is the manufacturing date and the duration is 30 days which means 1 month. So, the EDATE formula applied is EDATE(B14,1) and the result is 3rd May 2018 which is 1 month after the start date. Cell D14 contains the result.
Things to remember about EDATE in Excel
- The 2nd parameter of the EDATE Excel Function must be a positive number.
- If start_date is an invalid date, EDATE in excel returns the #VALUE! error value.
- If months is not an integer, the value is truncated to be an integer.
- Microsoft Excel stores dates as sequential serial numbers so they can be used in calculations. By default, January 1st, 1900 is serial number 1, and January 1, 2001 serial number is 36892.
You can download this EDATE Function in Excel template here – EDATE Function Excel Template
This has been a guide to EDATE in Excel. Here we discuss the EDATE Formula in excel and how to use EDATE function in excel along with EDATE excel Function examples and downloadable excel templates. You may also look at these useful functions in excel –