Excel Formula to Count Months Remaining in the Year
Question details
Calculate how many months remain in the current year, including the current month.

- 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.
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().
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.
In your Excel worksheet, click the empty cell where you want the result.
Type =13-MONTH(TODAY()) in the selected cell or formula bar, then press Enter.
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.

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. Open a spreadsheet: Launch WPS Office and open a workbook in WPS Spreadsheets.
- 2. Choose a cell: Click the cell where you want to display the remaining month count.
- 3. Enter the formula: Type =13-MONTH(TODAY()) and press Enter.
- 4. Save the workbook: Use File > Save or Save As to save your spreadsheet.

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.




