Spreadsheet Practice

How to calculate the next billing date for a monthly subscription in Excel

Formula (Excel and Google Sheets)

=EDATE(B2,DATEDIF(B2,$F$1,"m")+1)

Count the months billed so far and step one more: =EDATE(B2,DATEDIF(B2,$F$1,"m")+1), with today in F1.

Result on the example
one result per row in C2, filled down to C6
Works in
Every current version
Google Sheets
Same formula

See it work

The formula is already in C2, filled down to C6. Change any input and the result updates, or edit the formula to experiment.

How it works

DATEDIF(B2,$F$1,"m") counts the complete months since the start. One more month, added with EDATE, is the next renewal. EDATE keeps month-end plans at the month end: Ben started on August 31, so he is billed on October 31. Cleo is billed on the 29th, today, so her next date is November 29.

=EDATE(B2,DATEDIF(B2,$F$1,"m")+1)

Result11/15/2026 (46341)

  1. B21/15/2026

    The value in B2.

  2. $F$110/29/2026

    The value in F1.

  3. DATEDIF(B2,$F$1,"m")9

    DATEDIF: Difference in "Y", "M", "D", "YM", "MD" or "YD".

    • start_dateB21/15/2026
    • end_date$F$110/29/2026
    • unit"m"
  4. DATEDIF(B2,$F$1,"m")+110

    The + operator adds.

  5. EDATE(B2,DATEDIF(B2,$F$1,"m")+1)11/15/2026 (46341)

    EDATE: Date a number of months before or after.

    • start_dateB21/15/2026
    • monthsDATEDIF(B2,$F$1,"m")+110

In Google Sheets

The same formula works in Google Sheets: =EDATE(B2,DATEDIF(B2,$F$1,"m")+1). We ran it in Google Sheets mode on the same data and it returns the same results.

Other ways to do it

Each one was run on the same example sheet.

FormulaResultWhen to use it
=EDATE(B2,(YEAR($F$1)-YEAR(B2))*12+MONTH($F$1)-MONTH(B2)+(DAY($F$1)>=DAY(B2)))11/15/2026, 10/31/2026, 11/29/2026…The same without DATEDIF: count the calendar months, and add one if this month's billing day has passed.

Common mistakes

  • Adding 30 days per month drifts: a plan that started on January 15 would bill on March 16 instead of March 15.
  • If the start date is after today, DATEDIF returns #NUM!. Use =IF(B2>$F$1,B2,EDATE(…)).

Try it yourself

Same data, empty answer cell. Your formula is graded instantly, then re-checked on changed data, so a typed-in number won't pass.

Calculate the next billing date for a monthly subscription

In C2, return the next monthly billing date after the date in F1 for a subscription that started on the date in B2. Fill down to C6.

Questions

How do I handle yearly plans?

Count whole years and step by 12 months: =EDATE(B2,12*(DATEDIF(B2,$F$1,"y")+1)).

How many billing cycles have there been?

=DATEDIF(B2,$F$1,"m")+1, counting the first charge on the start date.

Checked by running on 2026-10-30: every formula and result on this page was calculated by the Spreadsheet Practice formula engine, in both Excel and Google Sheets modes.