Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel: Calculate End Date from Start Date and Duration

· 4 min read · Home Tech

In this article
  1. Why You Need This
  2. How Excel Stores Dates
  3. Basic Formula: Adding Days
  4. Using EDATE for Months and Years
  5. Handling Durations in Weeks, Workdays, and Custom Units
  6. Common Mistakes and How to Avoid Them
  7. Formatting the Result
  8. Frequently Asked Questions

Yes, Excel can calculate an end date from a start date and a duration. The most common method is to add the duration (in days) directly to the start date using a simple formula like =A2+B2, or use the EDATE function for months. This article explains the different formulas, how to handle various duration units, and common pitfalls to avoid.

Why You Need This

Project managers, HR professionals, and financial analysts often need to determine deadlines, contract end dates, or expiry dates. Manually counting days on a calendar is error-prone and slow. Excel's date system treats dates as serial numbers, so adding a number of days to a date is as simple as addition. For months or years, dedicated functions handle the calendar logic automatically.

How Excel Stores Dates

Excel stores dates as sequential serial numbers. January 1, 1900 is serial number 1, January 2, 1900 is 2, and so on. This means that adding 30 to a date serial number gives you the date 30 days later. When you see a date in a cell, it is just a formatted number. This is why the basic addition formula works so well.

Basic Formula: Adding Days

If your duration is in days, the formula is straightforward. Suppose cell A2 contains the start date and cell B2 contains the number of days. In cell C2, enter:

=A2+B2

For example, if A2 is 2025-01-15 and B2 is 30, the result is 2025-02-14. If the duration includes a time component (e.g., 2.5 days), the result will include a fractional day, which you can format as a date and time.

Using EDATE for Months and Years

To add a number of months to a date, use the EDATE function. The syntax is:

=EDATE(start_date, months)

For example, =EDATE(A2, 3) returns the date three months after A2. This function automatically adjusts for months with different lengths. If the start date is January 31 and you add 1 month, Excel returns February 28 (or 29 in a leap year). For years, multiply the number of years by 12: =EDATE(A2, 5*12) adds 5 years.

Handling Durations in Weeks, Workdays, and Custom Units

  • Weeks: Multiply the number of weeks by 7: =A2 + B2*7.
  • Workdays (business days): Use WORKDAY(start_date, days) to add only Monday–Friday, excluding weekends. For example, =WORKDAY(A2, 10) gives the date 10 business days later. You can also add a range of holiday dates as a third argument.
  • Custom units (e.g., quarters): Convert to months or days. For quarters, multiply by 3 months: =EDATE(A2, B2*3).

Common Mistakes and How to Avoid Them

  • Text-formatted dates: If your start date is text, Excel may not recognize it as a date. Use DATEVALUE to convert it, or ensure the cell is formatted as a date.
  • Negative durations: Adding a negative number of days gives an earlier date. This is valid, but make sure your duration cell is not formatted as a date, or you will see a serial number.
  • EDATE with non-integer months: EDATE expects whole months. If you need to add 1.5 months, add 1 month with EDATE and then add 15 days: =EDATE(A2,1) + 15.
  • Holiday handling with WORKDAY: The WORKDAY function only excludes weekends by default. To exclude holidays, provide a range of holiday dates as the third argument.

Formatting the Result

After entering a formula, the result cell may show a number instead of a date. To fix this, select the cell, press Ctrl+1 (or Cmd+1 on Mac), go to the Number tab, choose Date, and select the desired format. If you want to display the result as a date and time, choose a custom format like yyyy-mm-dd hh:mm.

Frequently Asked Questions

How do I calculate an end date excluding weekends?

Use the WORKDAY function. For example, =WORKDAY(start_date, duration_days) adds only business days. If you have a list of holidays, include them as a third argument: =WORKDAY(start_date, duration_days, holiday_range).

What if my duration is in months but I want to add a specific number of days?

Combine EDATE and addition. For instance, to add 3 months and 10 days: =EDATE(start_date, 3) + 10. The 10 is added as days to the result of EDATE.

Can I calculate an end date based on a start date and a duration in years and months?

Yes. Use EDATE with the total months. For 2 years and 3 months, use =EDATE(start_date, 2*12 + 3).

Why does my formula return a number like 45231?

That is the serial number for the date. The cell is formatted as a number. Change the cell format to Date (Ctrl+1 → Date) to display it as a date.

Does Excel handle leap years correctly?

Yes. Excel's date system accounts for leap years. For example, adding 1 year to February 29, 2024 (a leap year) with =EDATE(A2, 12) returns February 28, 2025, because 2025 is not a leap year.