Function Problems

How to Expand an Excel Running Balance Formula for More Income Types in WPS Office

Nimra MalikNimra Malik Nov 13, 2026 869 views

Question details

The user wants to extend a running balance formula in WPS Office Excel so benefits, pensions, and other credit categories are recognized dynamically instead of hard-coding every income type.

Expand an Excel Running Balance Formula for More Income Types in WPS Office
Product
WPS Office Spreadsheets
Device & OS
not provided
Scenario
The user maintains an income and expense register and needs a flexible running balance for multiple credit and debit transaction types.
Observed behavior
The current running balance formula requires hard-coded income types or does not flexibly apply positive and negative signs to new categories.
Before you start

Before editing formulas, confirm the register has a previous balance cell and an amount column, and decide where to place a separate transaction type and multiplier lookup table.

Solution 1Recommended

Create a transaction multiplier lookup table and use a flexible VLOOKUP running balance formula

Use this when you want benefits, pensions, and other credit categories to update the running balance automatically from one table.

A lookup table separates transaction types from the formula. Each row contains the transaction type and its multiplier: credit or income types can use 1, while expense or debit types can use -1. New future types are added only to the table.

1
Prepare the multiplier table

Select two empty columns and enter Type and Multiplier as headers. Under Type enter Income, Benefit, Pension, Interest, Expense, Transfer, and similar items. Under Multiplier enter 1 for credits or income and -1 for debits or expenses.

2
Convert the range into an Excel table

Select the header and data rows, go to the Insert tab > Table, check My table has headers, and click OK. Rename the table Table1 in the Table Design tab if it is not already named Table1.

3
Create a drop-down list for the transaction type

Select the Type cells in your register, click Data tab > Data Validation > List, and set Source to =Table1[Type] so new transaction types appear automatically.

4
Enter the flexible running balance formula

In the running balance cell for the first data row, enter =IFERROR(F2+(D3*VLOOKUP(B3,Table1,2,0)),""). D3 is the amount, B3 is the transaction type, and F2 is the previous balance.

5
Copy the formula down the column

Use the fill handle to copy the formula to the remaining balance cells. Add any new income type only to Table1 and it will be recognized by the formula.

Create a transaction multiplier lookup table and use a flexible VLOOKUP running balance formula
Formula now adapts to new types: Because VLOOKUP uses the table, you can add Benefit, Pension, Interest, or other types without changing the running balance formula.
WPS Office Spreadsheets How-To

Build a self-updating running balance in WPS Office Spreadsheets

WPS Spreadsheets can directly fix the running balance formula: create a lookup table, apply Data Validation, and use VLOOKUP so benefits, pensions, and other credit types are recognized automatically without hard-coding.

  1. 1. Open the workbook in WPS Office Spreadsheets: Launch WPS Office, click Spreadsheets, and open the Excel .xlsx workbook that contains the running balance register.
  2. 2. Create the lookup table: Select a blank area, enter Type and Multiplier headers, list benefit, pension, interest, and income as 1 and expenses or withdrawals as -1, then click Insert > Table.
  3. 3. Apply the VLOOKUP balance formula: In the running balance column, enter =IFERROR(F2+(D3*VLOOKUP(B3,Table1,2,0)),"") and fill it down.
  4. 4. Add new income types safely: Type the new category in Table1 and set its multiplier to 1. The existing drop-down list and balance formula include it immediately.
Automatically handles income, benefits, pensions, and new credit types from one lookup tableSupports Excel .xlsx format for seamless compatibility with Microsoft Excel filesFree and lightweight alternative to Microsoft Excel with a familiar tab-based interfaceData Validation and defined tables make the register easier to maintain
microsoft office alternative - wps office

Frequently Asked Questions

Where should I put the lookup table in WPS Spreadsheets?

Place it on a separate sheet or in an unused area of the register. Give it Type and Multiplier headers, then select the range and click Insert > Table so =Table1[Type] works in Data Validation.

Can I add a new income type such as Interest without changing the formula?

Yes. Add Interest under the Type column in Table1 with a multiplier of 1. Because the formula uses VLOOKUP and the drop-down list uses =Table1[Type], it is recognized immediately.

Why does my formula show blank when a transaction type is not found?

The IFERROR wrapper returns an empty string. Check the transaction type spelling against Table1, or expand the Data Validation source to =Table1[Type] so only valid types are used.

What does the multiplier mean in the running balance formula?

A multiplier of 1 adds the transaction amount and a multiplier of -1 subtracts it. Use 1 for Benefits, Pensions, Income, Interest, or credits, and -1 for Expenses, Withdrawals, or debits.