How to Automatically Total Unpaid Invoices in Excel Using Formulas
Question details
The user needs an Excel formula to automatically sum the total amount of unpaid invoices, which dynamically updates when payments are recorded or new entries are added.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Managing an invoice tracker where conditional formatting is used for overdue invoices, and a live total of outstanding balances is required.
- Observed behavior
- The worksheet currently tracks invoice status (e.g., 'Paid') but lacks a dynamic formula to calculate the sum of amounts excluding the paid invoices.
Ensure your invoice worksheet is organized with clear columns for the Invoice Amount (e.g., Column C), the Due Date (e.g., Column E), and the Paid Status (e.g., Column F).
Calculate Unpaid Invoices Using the SUMIF Function
Use the SUMIF function to automatically sum all invoice amounts where the payment status is not marked as 'Yes'. This is ideal for referencing entire columns.
The SUMIF function allows you to add up values in one range based on a specific condition applied to another range. In this case, we check if the payment status is anything other than 'Yes'.
Click on the cell where you want the total unpaid amount to be displayed.
Type the formula: =SUMIF($F:$F,"<>"&"Yes",$C:$C) into the formula bar. This assumes Column F tracks the 'Yes' paid status and Column C contains the invoice amounts.
Press Enter to see the dynamic total. As you type 'Yes' in Column F for newly paid invoices, the total will automatically decrease.

Calculate Overdue Invoices Using the SUMIFS Function
Use the SUMIFS function when you need to check multiple conditions, such as totaling invoices that are both unpaid and strictly past their due date.
Track Invoices Easily with WPS Spreadsheet
WPS Office provides a powerful, free Spreadsheet tool that fully supports advanced formulas like SUMIF and SUMIFS, making dynamic invoice tracking effortless.
- 1. Open WPS Spreadsheet: Launch WPS Office and open your invoice tracking worksheet.
- 2. Organize your data: Ensure your invoice amounts are in one column and your payment statuses (like 'Yes' or 'No') are in another.
- 3. Apply the formula: Click an empty cell, type =SUMIF(F:F, "<>Yes", C:C), and press Enter to instantly get your unpaid total.

Frequently Asked Questions
How do I sum unpaid invoices if the status column is left blank instead of typing 'No'?
If you leave unpaid invoices blank instead of writing 'No', you can use the formula =SUMIF(F:F, "", C:C). This will sum the amounts in Column C only where the corresponding cell in Column F is entirely empty.
Why is my SUMIF formula returning an error or zero?
This usually happens if your invoice amounts are accidentally formatted as text instead of numbers. Select your amount column, right-click, choose 'Format Cells', and ensure they are set to 'Number', 'Accounting', or 'Currency'.
Are these formulas compatible with WPS Office?
Yes, standard functions like SUMIF, SUMIFS, and TODAY() are fully compatible across major spreadsheet software, including Microsoft Excel and WPS Spreadsheet, meaning your formulas will work perfectly without adjustments.




