ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Tests & careers
  3. Excel for Accounts Payable: Invoices, Dates and Totals

Excel for Accounts Payable: Invoices, Dates and Totals

By ExcelReady Team·Updated November 1, 2026·7 min read

The short answer

Excel for accounts payable comes down to a clean invoice log and a few formulas: add the payment terms to the invoice date for the due date, subtract the due date from TODAY() for days overdue, use SUMIF or SUMIFS to total unpaid invoices by vendor, and COUNTIFS to flag duplicate invoices before they are paid twice.

Key takeaways

  • Keep one row per invoice with vendor, invoice number, dates, amount and status.
  • Due date = invoice date + terms, for example =C2+30 for net 30.
  • Days overdue = report date minus due date; use TODAY() for a live report.
  • SUMIF totals unpaid invoices; SUMIFS adds a second condition such as the vendor.
  • COUNTIFS on vendor and invoice number flags duplicates before payment.
On this page+
  1. What Excel skills does accounts payable need?
  2. How to set up an invoice log
  3. How to calculate invoice due dates
  4. How to calculate days overdue
  5. How to total unpaid invoices with SUMIF
  6. How to build an aging summary
  7. How to match invoices to purchase orders
  8. How to catch duplicate invoices before you pay
  9. Practise it

Excel for accounts payable is about three things: knowing what you owe, knowing when it is due, and never paying the same invoice twice. You don't need advanced features for that. You need a tidy invoice log, date formulas for due dates and days overdue, SUMIF for totals and COUNTIFS for duplicates. This guide is for AP clerks, finance assistants and job seekers facing an accounts payable Excel test, and every example uses one small invoice table.

What Excel skills does accounts payable need?#

Accounts payable (AP) is the team that records and pays supplier invoices. Most of the daily Excel work fits in this table.

TaskExcel tools
Record invoicesClean data entry, a table (Ctrl+T, or ⌘T on a Mac), data validation
Work out due datesDate arithmetic, EOMONTH, WORKDAY
Track overdue billsTODAY, subtraction, IF
Total what you oweSUMIF, SUMIFS, pivot tables
Match invoices to ordersXLOOKUP or VLOOKUP
Catch duplicatesCOUNTIFS, conditional formatting

The same date and total skills appear in other operations roles. Compare Excel skills for bookkeepers and Excel skills for supply chain jobs if you are applying more widely.

How to set up an invoice log#

Use one row per invoice and one column per fact. Never merge cells or leave blank rows inside the data. Here is the log used in this guide, in A1:E7:

ABCDE
1InvoiceVendorDue DateAmountStatus
2INV-201Acme05/03/20241,250Paid
3INV-202Brightline12/03/2024840Unpaid
4INV-203Acme20/03/20242,100Unpaid
5INV-204Delta Supply25/03/2024560Paid
6INV-205Brightline02/04/20241,325Unpaid
7INV-206Delta Supply10/04/2024990Unpaid

Dates are shown day/month/year. A real log would also hold the invoice date, PO number and payment date. Keep the Status values consistent: "Unpaid" and "unpaid " (with a space) are different to a formula. A drop-down list from Data > Data Validation stops typos.

How to calculate invoice due dates#

A due date is the invoice date plus the payment terms. Excel stores dates as numbers of days, so plain addition works. With the invoice date in a cell such as C2 and net 30 terms:

Excel formula
=C2+30

An invoice dated 1 March 2024 is due on 31 March 2024. Format the cell as a date if you see a number like 45382. The lesson on how Excel stores dates explains why.

Some suppliers use "end of month" terms, such as 30 days after the end of the invoice month. EOMONTH returns the last day of a month, so =EOMONTH(C2,0)+30 handles that. For an invoice dated 10 March 2024, that's 31 March plus 30 days: 30 April 2024.

How to calculate days overdue#

Days overdue is the report date minus the due date. For a live report, use TODAY(), which returns the current date and updates every day:

Excel formula
=TODAY()-C2

A positive result means the invoice is overdue by that many days; a negative result means it isn't due yet. For a fixed report, put the report date in a cell instead, say H1 = 15 April 2024, and write =$H$1-C2. Then INV-202 (due 12 March) is 34 days overdue and INV-206 (due 10 April) is 5.

To show 0 instead of negative numbers and blank for paid invoices, combine IF and MAX:

Excel formula
=IF(E2="Paid","",MAX(0,$H$1-C2))

The TODAY function guide covers formatting and the recalculation behaviour. For more date gaps, practise days between dates with DAYS and DATEDIF.

How to total unpaid invoices with SUMIF#

SUMIF adds the amounts where one condition is true. To total everything still unpaid:

Excel formula
=SUMIF(E2:E7,"Unpaid",D2:D7)

The result is 5,255 (840 + 2,100 + 1,325 + 990). For a second condition, such as unpaid invoices for one vendor, use SUMIFS:

Excel formula
=SUMIFS(D2:D7,B2:B7,"Acme",E2:E7,"Unpaid")

That gives 2,100, because Acme's other invoice is paid. Note that SUMIFS puts the sum range first, while SUMIF puts it last. The SUMIF function guide has more examples.

How to build an aging summary#

An aging report groups unpaid invoices by how late they are. Add a helper column with the days overdue (as above), then a bucket with IFS:

Excel formula
=IFS(F2<=0,"Current",F2<=30,"1-30",F2<=60,"31-60",TRUE,"Over 60")

With the 15 April report date, INV-202 (34 days) lands in 31-60, INV-203 (26 days) in 1-30. Then total each bucket with SUMIFS, or build a pivot table with the bucket in Rows and Amount in Values. IFS needs Excel 2019 or later; use nested IF in older versions.

How to match invoices to purchase orders#

Before an invoice is approved, AP often checks it against the purchase order (PO). If the PO list sits on another sheet called POs, with PO numbers in column A and approved amounts in column C, XLOOKUP pulls the approved amount next to each invoice:

Excel formula
=XLOOKUP(H2,POs!A:A,POs!C:C,"No PO")

Here H2 holds the invoice's PO number. A second column such as =D2-I2 then shows any difference between the invoice amount and the PO amount, so you can query it before paying. XLOOKUP needs Excel 2021 or Microsoft 365; in older versions use =VLOOKUP(H2,POs!A:C,3,FALSE).

How to catch duplicate invoices before you pay#

Paying an invoice twice is one of the costliest AP mistakes. Flag any vendor and invoice number pair that appears more than once:

Excel formula
=COUNTIFS($B$2:$B$7,B2,$A$2:$A$7,A2)>1

TRUE means the pair is a duplicate. Check both columns, because two vendors can use the same invoice number. You can also highlight duplicates with Home > Conditional Formatting > Highlight Cells Rules > Duplicate Values, though that checks one column at a time.

Many finance roles test these exact tasks. Try the finance Excel mock test to see how they are asked under time pressure. Sales and retail roles use similar totals, as shown in Excel skills for sales operations.

Practise it#

AP work is mostly SUMIF and dates, done carefully. Practise SUMIF in a live spreadsheet: you type the formula and it checks it instantly. Then work through how Excel stores dates and days between dates to make due dates and overdue days second nature. Try the unpaid-total exercise on this page first.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

What is the total of all Unpaid invoices? Click H2 and use SUMIF with the Status column (E2:E7) and the Amount column (D2:D7), then press Enter.

fx
ABCDEFGHI
1
Invoice
Vendor
Due Date
Amount
Status
2
INV-201
Acme
45356
1250
Paid
Unpaid total
3
INV-202
Brightline
45363
840
Unpaid
4
INV-203
Acme
45371
2100
Unpaid
5
INV-204
Delta Supply
45376
560
Paid
6
INV-205
Brightline
45384
1325
Unpaid
7
INV-206
Delta Supply
45392
990
Unpaid
8
9
10

Tip: Check the Status column for "Unpaid", then add the matching amounts from D2:D7.

Practise this in a lesson

LessonSUMIFAdd up only the numbers that meet a condition, with and without a separate sum range.LessonHow Excel stores dates: DATE, YEAR, MONTH, DAYLearn why every date is secretly a number, then build dates with DATE and take them apart with YEAR, MONTH and DAY.LessonDays between dates: DAYS, DATEDIF and TODAYMeasure the gap between two dates in days, months and years, and calculate tenure as of today.Function guideSUMIFAdd up values that meet one condition with SUMIF. Totals by category, person or amount, the argument-order trap, and a live exercise.Function guideTODAYUse Excel's TODAY function for days until a deadline, overdue flags and ages that update by themselves. Examples, pitfalls and live practice.

Frequently asked questions

What Excel skills do you need for accounts payable?

+

You need clean data entry, date formulas for due dates and days overdue, SUMIF and SUMIFS for totals, lookups to match invoices to purchase orders, filters and pivot tables. Accuracy matters more than advanced features.

How do I calculate an invoice due date in Excel?

+

Add the payment terms in days to the invoice date. For net 30 with the invoice date in C2, use =C2+30 and format the cell as a date.

How do I calculate days overdue in Excel?

+

Subtract the due date from today's date: =TODAY()-D2. A positive number means the invoice is overdue by that many days. Wrap it in MAX(0, ...) to show 0 for invoices not yet due.

How do I find duplicate invoices in Excel?

+

Use COUNTIFS on the vendor and invoice number columns, like =COUNTIFS(B:B,B2,A:A,A2)>1. TRUE means that vendor and invoice number appear more than once.

Sources

  • SUMIF function - Microsoft Support
  • TODAY function - Microsoft Support
  • EOMONTH function - Microsoft Support

Written and checked by the ExcelReady Team. First published November 1, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. What Excel skills does accounts payable need?
  2. How to set up an invoice log
  3. How to calculate invoice due dates
  4. How to calculate days overdue
  5. How to total unpaid invoices with SUMIF
  6. How to build an aging summary
  7. How to match invoices to purchase orders
  8. How to catch duplicate invoices before you pay
  9. Practise it

Keep reading

Tests & careers· 6 min read

Excel Skills for Sales and Operations Roles

The key Excel skills for sales and operations roles are totalling revenue by region, rep or product with SUMIF and SUMIFS, calculating percent change and % of total, finding the top order and its rep with MAX and XLOOKUP, totalling by month with date criteria, and flagging stock or targets with IF. Answers should update when data changes.

Tests & careers· 6 min read

Excel Skills for Supply Chain and Logistics Roles

The core Excel skills for supply chain and logistics roles are lookups (VLOOKUP or XLOOKUP) to pull supplier, cost and lead-time data, SUMIF and SUMIFS to total quantities by SKU or warehouse, IF formulas that flag items to reorder, days-of-cover and arrival-date calculations, on-time delivery rates, and conditional formatting for low stock.

Tests & careers· 5 min read

Excel for Bookkeeping: The Skills You Use Every Day

The Excel skills used most in bookkeeping are totalling transactions by category with SUMIF and SUMIFS, rounding tax and splits to the cent with ROUND, keeping a running balance, matching two lists during a reconciliation, and adding check cells that prove your totals agree. Clean, consistent data entry makes every one of these work.

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free