Function Problems

Excel Formula to Count Months Remaining in the Year

Adam DavisAdam Davis Nov 20, 2026 869 views

Question details

Calculate how many months remain in the current year, including the current month.

How to Count Months Remaining in the Year in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
A user wants a formula that updates the remaining month count based on the current date.
Observed behavior
The desired count is 12 in January and 1 in December, including December 31.
Before you start

Open the worksheet where you want the count and select an empty cell. Check that your device's date is correct, since the formula uses TODAY().

Solution 1Recommended

Use TODAY and MONTH to Count the Remaining Months

Use this formula to include the current month in the number of months remaining in the year.

MONTH(TODAY()) returns the current month number. Subtracting that number from 13 includes the current month in the count.

1
Select a cell

In your Excel worksheet, click the empty cell where you want the result.

2
Enter the formula

Type =13-MONTH(TODAY()) in the selected cell or formula bar, then press Enter.

3
Check the result

Look at the result in the cell: it should be 12 in January, 1 in December, and a corresponding value for each month in between.

Use TODAY and MONTH to Count the Remaining Months
Exclude the current month: If you want to count only the months after the current month, enter =12-MONTH(TODAY()) instead.
Count months in WPS Spreadsheets

Calculate Remaining Months in WPS Spreadsheets

Use the same TODAY and MONTH formula in WPS Spreadsheets to count the months left in the year, including the current month.

  1. 1. Open a spreadsheet: Launch WPS Office and open a workbook in WPS Spreadsheets.
  2. 2. Choose a cell: Click the cell where you want to display the remaining month count.
  3. 3. Enter the formula: Type =13-MONTH(TODAY()) and press Enter.
  4. 4. Save the workbook: Use File > Save or Save As to save your spreadsheet.
Calculate remaining months with a single formulaOpen and edit Microsoft Excel XLS and XLSX filesUse a familiar spreadsheet interfaceWork with spreadsheets using the free WPS Office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why does the formula return 1 in December?

The formula =13-MONTH(TODAY()) includes the current month, so it returns 1 throughout December, including December 31.

How do I exclude the current month?

Enter =12-MONTH(TODAY()) in a cell. This returns 0 in December because no later months remain in the year.

Can I calculate the remaining months for a date in another cell?

Yes. If the date is in cell A1, enter =13-MONTH(A1) to count the months remaining in that date's year, including its month.

Why is the result based on the wrong month?

TODAY() uses your device's current date. Check the device's date settings and confirm that Excel's calculation mode is set to Automatic under Formulas > Calculation Options.