1. Home
  2. Functions
  3. Date and time
  4. EDATE

EDATE function

Returns the date a number of months before or after a date, on the same day of the month where possible.

Syntax

=EDATE(start_date, months)

Arguments

ArgumentRequiredDescription
start_dateRequiredThe starting date
monthsRequiredMonths to add (negative to go back)

How to use EDATE

EDATE takes 2 required arguments. Type =EDATE( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=EDATE(DATE(2011,1,15), 1)Result 40589, shown as 2/15/2011 with a date format
=EDATE(DATE(2011,1,31), 1)Result 40602, shown as 2/28/2011 with a date format

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.