Excel Due Date Formula: Set & Calculate Dates

Formulas & functions · Updated November 23, 2026

The simplest formula to set a due date in Excel is =A2+30 to add 30 days to a start date in cell A2, or =EDATE(A2,1) to add one month. For a task starting today, use =TODAY()+7 to get a date one week from now. Below are the exact formulas, how to handle business days, and how to avoid common date errors.

Why Date Formulas Matter

Excel stores dates as serial numbers—January 1, 1900 is 1, January 2 is 2, and so on. That means you can add or subtract ordinary numbers to shift dates. This is why =A2+30 works: it adds 30 to the serial number, giving a date 30 days later. The same logic applies to subtracting: =A2-7 gives a date one week earlier. Understanding this makes date math intuitive and helps you debug when a formula returns a strange number instead of a date (usually a formatting issue).

Core Formulas for Setting Due Dates

Assuming your start date is in cell A2 (formatted as a date), here are the most common due-date formulas:

  • Add days: =A2+30 (30 days after A2)
  • Add weeks: =A2+7*2 (2 weeks, i.e., 14 days)
  • Add months: =EDATE(A2,3) (3 months after A2; EDATE keeps the day-of-month, e.g., Jan 31 + 1 month = Feb 28/29)
  • Add years: =EDATE(A2,12) (1 year) or =DATE(YEAR(A2)+1,MONTH(A2),DAY(A2)) for exact year addition
  • Today plus days: =TODAY()+10 (10 days from today; TODAY() recalculates each time the workbook opens)
  • End of month: =EOMONTH(A2,0) (last day of the month containing A2) or =EOMONTH(A2,1) (last day of next month)

For example, if A2 contains 2025-01-15, then =EDATE(A2,2) returns 2025-03-15, and =A2+45 returns 2025-03-01 (since January has 31 days, 15+31=Feb 15, plus 14 more = Mar 1). Always test with a known date to verify your logic.

Using WORKDAY for Business Days

When due dates must fall on working days (e.g., invoice due in 10 business days), use =WORKDAY(A2,10). This excludes Saturdays and Sundays by default. To also exclude holidays, list them in a range (say H2:H10) and use =WORKDAY(A2,10,$H$2:$H$10). The function returns the date that is 10 working days after A2. If you need to include weekends but exclude holidays only, there is no built-in function for that; you would need a custom formula or a helper column. WORKDAY is available in all modern Excel versions.

How to Choose the Right Formula

Pick based on what your due date represents:

  • Calendar days (e.g., payment due in 30 days): use =A2+30.
  • Months (e.g., subscription renews monthly): use =EDATE(A2,1).
  • Business days (e.g., legal notice 15 business days): use =WORKDAY(A2,15).
  • Fixed day of month (e.g., due on the 5th of next month): use =DATE(YEAR(A2),MONTH(A2)+1,5).
  • End of month (e.g., invoice due at month-end): use =EOMONTH(A2,0).

For recurring tasks, combine with a start date in a cell so you can change the start and the due date updates automatically. For example, put the start date in A2 and the number of days in B2, then use =A2+B2.

Common Problems and Fixes

  • Formula shows a number like 45231 instead of a date. The cell is formatted as General or Number. Select the cell, press Ctrl+1 (Windows) or Cmd+1 (Mac), choose Date, and pick a format.
  • EDATE returns #VALUE!. The start date is not a valid date (it might be text). Use =DATEVALUE(A2) to convert text to a date, or re-enter the date as a proper date.
  • Due date falls on a weekend. If that is not acceptable, wrap the formula with WORKDAY: =WORKDAY(A2+30,0) will push a weekend date to the next Monday (since 0 business days added, but if the date is a weekend, it moves to the next workday).
  • TODAY() changes every day. That is by design. If you need a static date, enter the date manually or use a cell that you don’t update.
  • Negative dates (before 1900). Excel cannot display dates before January 1, 1900. Use a different system or store as text.

Formatting and Display Tips

To make due dates stand out, use conditional formatting. Select your date range, go to Home > Conditional Formatting > Highlight Cells Rules > A Date Occurring, and choose e.g., “Yesterday”, “Today”, or “Next week”. For more control, use a formula rule: select the range (say B2:B100), go to Home > Conditional Formatting > New Rule > Use a formula, and enter =B2<TODAY() to highlight overdue dates in red. Set the fill color as desired. This works in Excel 365, Excel 2021, and older versions.

Alternatives and Advanced Scenarios

If you need a due date based on a start time and a duration in hours, add time fractions: =A2+TIME(8,0,0) adds 8 hours. For project schedules, consider using the NETWORKDAYS function to count working days between two dates, and combine with WORKDAY for forward scheduling. For dynamic due dates that adjust when a status changes, you might use an IF formula: =IF(C2="Done","",A2+30) leaves the cell blank when a task is done. For a series of due dates (e.g., weekly), fill down a formula like =A2+7; Excel will increment each row. If you need to exclude a list of holidays, store them in a named range and reference it in WORKDAY or NETWORKDAYS.

Frequently Asked Questions

How do I add 30 days to a date in Excel? Use =A2+30 where A2 is the start date. This works because dates are serial numbers.

What is the difference between EDATE and DATE? EDATE adds months and keeps the day-of-month, automatically adjusting for month lengths (e.g., Jan 31 + 1 month = Feb 28). DATE lets you specify year, month, and day directly, so you can force a specific day like the 1st or 15th.

How do I calculate a due date excluding weekends? Use =WORKDAY(A2,10) to get a date 10 business days after A2. Add a holiday range as the third argument to exclude holidays.

Why does my due date show as a number? The cell is formatted as General. Select the cell, press Ctrl+1, and choose a Date format. The underlying value is correct.

Can I make a due date that never changes? Yes, enter the date manually or copy and paste as values (right-click > Paste Special > Values) after calculating it with a formula.

How do I highlight overdue dates automatically? Use conditional formatting with a formula like =B2<TODAY() applied to your date range, and set a fill color.

Related

Try it: the Formula Explainer: paste any formula and see each function and reference in plain English.

More in Formulas & functions

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.