Build an Excel Cash Register for Split Payments and Change
Question details
Create a spreadsheet cash register that records split payments and calculates change.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Track sales paid with a combination of cash, card, and other payment methods.
- Observed behavior
- Each transaction should show the total paid, any remaining balance, and change due.
Decide which payment methods to track and enter amounts as nonnegative numbers. For the formulas below, use row 1 for headers and row 2 for the first transaction.
Create an Excel transaction table with split-payment formulas
Use one row per sale to calculate the amount tendered, change, and outstanding balance.
In cells A1 through H1, enter Transaction Number, Total Due, Cash Received, Card Payment, Other Payment, Total Tendered, Change, and Balance Due.
In row 2, enter the transaction number and sale amount in columns A and B. Enter the amounts received by cash, card, and other methods in columns C through E; use 0 for an unused method.
In F2, enter =SUM(C2:E2). In G2, enter =MAX(0,F2-B2) to calculate change. In H2, enter =MAX(0,B2-F2) to calculate any remaining balance.
Select A1:H2, choose Insert > Table, and confirm that the table has headers. Add new transactions in subsequent rows and check that the formulas extend into the new rows.
Review Balance Due in column H before completing a sale. Make sure the card and other payments together do not exceed Total Due, and give the cash change shown in column G.

Track split payments in WPS Spreadsheets
Use WPS Spreadsheets to set up transaction columns and calculate total tendered, change, and balances with formulas.
- 1. Create the worksheet: Open WPS Spreadsheets, create a blank workbook, and enter Transaction Number, Total Due, Cash Received, Card Payment, Other Payment, Total Tendered, Change, and Balance Due in A1:H1.
- 2. Enter a sale: In row 2, enter the transaction number and total due in A2:B2, then enter the cash, card, and other payment amounts in C2:E2.
- 3. Add formulas: Enter =SUM(C2:E2) in F2, =MAX(0,F2-B2) in G2, and =MAX(0,B2-F2) in H2. Copy these formulas down for additional sales.
- 4. Review and save: Check that card and other payments do not exceed the total due, then review the change and balance. Choose File > Save As and select XLSX to save an Excel-compatible workbook.

Frequently Asked Questions
How do I calculate change for a split payment?
With Total Due in B2 and total tendered in F2, enter =MAX(0,F2-B2) in G2. Make sure card and other noncash payments do not exceed the sale amount before giving cash change.
How can I see whether a customer still owes money?
Enter =MAX(0,B2-F2) in H2, where B2 is the total due and F2 is the total tendered. A value greater than zero is the remaining balance.
Can I add a payment type dropdown in Excel?
Yes. Select the cells for a separate payment type column, then choose Data > Data Validation > List and enter options such as Cash, Card, and Other. For split payments, keep the separate amount columns so each payment can be recorded.
How do I add more transactions without retyping formulas?
Select the transaction range and choose Insert > Table. Add transactions in new table rows and check that Excel has extended the calculated formulas.




