How to Track Multiple Invoice Payments in Excel
Question details
The user needs to track partial or multiple payments for a single invoice using formulas without overwriting previous payment data.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Managing customer invoices where clients make multiple payments over time, requiring an accurate ongoing calculation of total paid and balance due.
- Observed behavior
- Instead of overwriting a single payment cell, the user wants to log each payment separately and automatically aggregate the total payments and remaining balance per invoice.
Ensure you have two separate worksheets set up in your workbook: one for your main invoice records and another dedicated solely to recording individual payment transactions.
Use the SUMIFS Function to Aggregate Payments
By creating a dedicated payment log sheet, you can use the SUMIFS function to total all payments related to a specific invoice and calculate the balance due.
To properly track multiple payments for a single invoice, avoid overwriting data in a single cell. Instead, use a transaction-based approach where every payment is a new row. The SUMIFS function will scan these rows, find all payments matching your specific invoice and customer, and add them together automatically.
Create a second worksheet named 'Sheet2' (or 'Payments'). Set up columns for Customer (Column A), Invoice Number (Column B), Date (Column C), and Payment Amount (Column D). Log every new payment as a new row here.
On your primary invoice sheet, ensure you have columns for Customer (Column A), Invoice Number (Column B), Invoice Amount (Column C), Total Paid (Column D), and Balance Due (Column E).
In the 'Total Paid' column (cell D2), enter the formula: =SUMIFS(Sheet2!$D$2:$D$100, Sheet2!$A$2:$A$100, A2, Sheet2!$B$2:$B$100, B2). This tells Excel to sum the payment amounts if both the customer name and invoice number match.
In the 'Balance Due' column (cell E2), subtract the Total Paid from the Invoice Amount by entering the formula: =C2-D2. Press Enter and drag both formulas down to apply them to your other invoices.

Easily Track Invoices and Finances with WPS Spreadsheet
WPS Spreadsheet offers powerful formula calculations, including SUMIFS, to help you build automated financial trackers and invoice payment sheets effortlessly.
- 1. Create a Tracker: Open WPS Spreadsheet and start a new blank workbook or choose a free invoice tracking template.
- 2. Organize Data: Set up a 'Master Invoice' sheet and a 'Payment Log' sheet to separate your transactions.
- 3. Insert Formulas: Use the intuitive 'Insert Function' tool under the Formulas tab to quickly search for and apply the SUMIFS function.
- 4. Save and Share: Save your financial tracker in the standard .xlsx format to ensure seamless sharing with clients or colleagues.

Frequently Asked Questions
Can I use VLOOKUP to track multiple invoice payments?
No, the VLOOKUP function will only return the first matching record it finds. To add up multiple payments for the same invoice, you must use the SUMIFS function.
Why is my SUMIFS formula returning a zero or an error?
This commonly happens due to mismatched formatting. Ensure that the invoice numbers on both worksheets are formatted exactly the same way (either both as Text or both as Numbers). Additionally, verify that all range sizes in your formula match perfectly.
How do I handle a single payment that covers multiple invoices?
To maintain accurate tracking with SUMIFS, you need to split that single payment into separate rows in your payment log sheet, manually allocating the exact amount applied to each individual invoice number.
How can I easily identify invoices that are fully paid?
You can use Conditional Formatting on your main invoice sheet. Select your data, choose 'Conditional Formatting', and create a rule to highlight rows in green if the 'Balance Due' cell equals 0.




