How to Automatically Deduct a Monthly Expense in Excel
Question details
The user needs a WPS Office Excel formula that decreases a starting balance by a fixed amount every month from a specified start date, using one cell and no circular reference.

- Product
- WPS Office Excel
- Device & OS
- not provided
- Scenario
- The user wants a running balance that updates automatically as calendar months pass, without creating a monthly table or performing manual calculations.
- Observed behavior
- The desired result is a live balance that subtracts the same deduction once for each completed month since the start date.
Verify that the start date is entered as a real date value and that the starting balance and monthly deduction are numeric. DATEDIF and the subtraction formula depend on valid date and number formats.
Use DATEDIF with TODAY to subtract completed months automatically
Use this one-cell formula when you want WPS Office Excel to update the balance automatically without listing each month separately.
The formula =B10-DATEDIF(A10,TODAY(),"m")*C10 calculates how many complete calendar months have passed between the start date in A10 and today. Multiplying that number by the monthly deduction in C10 subtracts the total deductions from the starting balance in B10.
Click cell A10, type the starting date, then enter the starting balance in B10 and the fixed monthly deduction in C10.
Select cell E10, enter =B10-DATEDIF(A10,TODAY(),"m")*C10, and press Enter.
Select E10, go to Home > Number Format, and choose Currency or Accounting to display the balance clearly.

Track a Decreasing Monthly Balance in WPS Office Excel
Use WPS Office Excel's DATEDIF and TODAY functions to set up a live balance that subtracts a fixed monthly expense as each completed month passes. The formula keeps your calculations in one cell and avoids circular references, while remaining fully compatible with Excel workbooks.
- 1. Open your workbook in WPS Office Excel: Launch WPS Office, open the worksheet that contains the starting date, starting balance, and monthly deduction.
- 2. Enter the date and amount cells: Place the start date in A10, the starting balance in B10, and the monthly deduction in C10.
- 3. Insert the DATEDIF balance formula: Select E10, type =B10-DATEDIF(A10,TODAY(),"m")*C10, and press Enter to calculate the current balance.
- 4. Save and let the balance refresh: Save the workbook as .xlsx; WPS Office Excel recalculates the TODAY function when the file opens or when recalculation runs.

Frequently Asked Questions
What does the "m" argument in DATEDIF mean?
It counts completed calendar months between the start date and today. If fewer than one complete month has passed, it returns 0, so no deduction is applied yet.
Why does my formula show #NAME? in WPS Office Excel?
DATEDIF is a hidden function, but WPS Office Excel supports it. Make sure the function name is spelled DATEDIF, the start date is a real date, and the formula does not contain curly quotes or extra spaces.
Will the balance update automatically when a new month starts?
Yes. The TODAY function is volatile and DATEDIF checks completed months, so the formula recalculates when the workbook opens or when WPS Office Excel performs a recalculation.
How do I avoid a circular reference with this balance formula?
Keep the starting balance as a fixed input in B10 and place the calculated balance in a different cell such as E10. Do not make B10 refer back to E10.




