Fix Excel Formulas That Spill Instead of Returning One Total
Question details
The user needs a balance formula to return one total instead of spilling results across multiple columns.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A formula combines a starting balance with income and expense ranges.
- Observed behavior
- The formula performs arithmetic directly on ranges and returns a dynamic array across several cells.
Check that T23 contains the starting balance, C24:E24 contains income, and F24:S24 contains expenses. Adjust these references if your worksheet uses different cells.
Use SUM to Return a Single Balance in Excel
Sum each range before adding income and subtracting expenses to produce one total.
Click the cell containing the formula that spills across multiple columns.
In the formula bar, enter =T23+SUM(C24:E24)-SUM(F24:S24), using your own cell references if needed.
Press Enter. Excel adds the income total to the starting balance and subtracts the expense total in one cell.

Calculate One Balance with SUM in WPS Spreadsheets
Use SUM in WPS Spreadsheets to combine income and expense ranges into a single balance, then save the workbook in an Excel-compatible format.
- 1. Open the workbook: Open WPS Spreadsheets and select Open to choose your workbook.
- 2. Enter the formula: Select the balance cell and enter =T23+SUM(C24:E24)-SUM(F24:S24) in the formula bar. Change the references if your data is elsewhere.
- 3. Calculate and save: Press Enter to calculate the balance, then choose File > Save to save the workbook.

Frequently Asked Questions
Why does my Excel formula return results in several cells?
Arithmetic performed directly on ranges can produce a dynamic array. Wrap each income or expense range in SUM if you need one combined total.
How do I calculate a balance from income and expenses?
Add the income total to the starting balance and subtract the expense total. For the example ranges, enter =T23+SUM(C24:E24)-SUM(F24:S24) in the balance cell.
What if my income and expenses are in different cells?
Replace C24:E24 and F24:S24 in the formula bar with your actual income and expense ranges, and replace T23 with your starting balance cell.
Can I use the same formula in WPS Spreadsheets?
Yes. Open the workbook in WPS Spreadsheets, select the balance cell, and enter the same SUM formula with the appropriate cell references.




