Excel practice › Excel interview test › Accounts payable

Excel test for accounts payable interviews: 8 practice exercises with answers

This is a free Excel test for accounts payable and accounts assistant roles, with answers. You solve 8 exercises in a working spreadsheet in your browser: due dates from payment terms, an early-payment discount, a duplicate invoice check and the total of a payment run. No download and no sign-up.

It is not any employer's or test vendor's actual test. It covers the Excel skills that tests for accounts payable jobs commonly list, on made-up vendors and invoices.

Skip to the 8 exercises ↓ · Download them as an Excel file

What these tests check

LevelWhat you're asked to doOn this page
BasicAdd a number of days to a date; IF that returns one of two textsExercises 1 and 2
IntermediateAn exact-match lookup in the vendor list, alone and inside a date calculation; IF with a test on two dates; two conditions at once (AND inside IF)Exercises 3 to 6
AdvancedA count with two conditions used as a test (COUNTIFS): a duplicate invoice; a total with a status and a date limit (SUMIFS): a payment runExercises 7 and 8

Tests differ by employer and by role. Ask the recruiter which version of Excel the test uses and which level it targets.

This page practices formulas. It doesn't cover pivot tables, bank reconciliation, the accounting system you'd work in, or keyboard shortcuts. It is the payables side only: the Excel test for accounting interviews is the receivables side, with a budget variance, an account lookup and an aging report.

Part 1: due dates and payment terms

The data is made up: eight vendor invoices in the log of a small office. Each vendor gives a number of days to pay, counted from the invoice date. Those are its payment terms.

Type the formula in the box and press Enter. Clicking a cell inserts its address. Each answer is checked on the data you see and again on changed data, so a typed-in number won't pass. The answer is under each exercise.

Exercise 1Due date from the payment terms

The Terms column holds each vendor's payment terms in days, counted from the invoice date. In F2, calculate the due date of invoice 3381.

F2fx
ABCDEF
1InvoiceVendorInvoice dateAmountTermsDue date
23381Alder Paper10/5/2026125030
320918Copperleaf Print10/7/2026214045
47702Kestrel Toner10/8/2026486.530
55540Eastgate Packaging10/12/2026326060
63396Alder Paper10/19/202689030
7412Dunmore Supply10/22/202637515
87715Kestrel Toner10/27/2026112030
9419Dunmore Supply10/29/2026264.815
Show the answer

=C2+E2 gives 11/4/2026.

Excel stores a date as a number of days, so a date plus 30 is the date 30 days later: October 5 plus 30 days is November 4. Point at the Terms cell and don't type the 30: the vendor in row 3 gives 45 days. In Excel the result can show as a plain number until you format the cell as a date.

Exercise 2Overdue or not on the report date

The due dates are filled in and the report date is in G2. In E2, show Overdue when invoice 3381 is past its due date on the report date, and Not due otherwise. An invoice due on the report date itself is not overdue yet.

E2fx
ABCDEFG
1InvoiceVendorDue dateAmountOverdue?As of
23381Alder Paper11/4/2026125011/6/2026
320918Copperleaf Print11/21/20262140
47702Kestrel Toner11/7/2026486.5
55540Eastgate Packaging12/11/20263260
63396Alder Paper11/18/2026890
7412Dunmore Supply11/6/2026375
87715Kestrel Toner11/26/20261120
9419Dunmore Supply11/13/2026264.8
Show the answer

=IF(G2>C2,"Overdue","Not due") gives Overdue.

IF returns one of two values, and a text result goes in quotes. Two dates compare like two numbers, because Excel stores a date as a number of days: the later date is the larger one. The detail to get right is the due date itself. Invoice 412 in row 7 is due on the report date, and with >= it would show as overdue. Lock the report date as $G$2 before copying the formula down.

Exercise 3Payment terms from the vendor list

The log has no terms yet. The vendor list in F1:G6 holds each vendor's payment terms in days. In D2, return the terms for the vendor of the invoice in row 2.

D2fx
ABCDEFG
1InvoiceVendorInvoice dateTermsVendorTerms (days)
23381Alder Paper10/5/2026Alder Paper30
320918Copperleaf Print10/7/2026Copperleaf Print45
47702Kestrel Toner10/8/2026Dunmore Supply15
55540Eastgate Packaging10/12/2026Eastgate Packaging60
63396Alder Paper10/19/2026Kestrel Toner30
7412Dunmore Supply10/22/2026
87715Kestrel Toner10/27/2026
9419Dunmore Supply10/29/2026
Show the answer

=VLOOKUP(B2,F2:G6,2,FALSE) gives 30.

The value to find is the vendor in B2, the table is F2:G6 and the terms are its 2nd column. FALSE asks for an exact match. Before copying the formula down, lock the table as $F$2:$G$6. =XLOOKUP(B2,F2:F6,G2:G6) returns the same number. More on VLOOKUP and XLOOKUP.

Exercise 4Due date in one formula: a date plus a lookup

Same sheet, but now column D is the due date and there is no Terms column to help. In D2, calculate the due date of invoice 3381 in one formula: the invoice date plus the vendor's terms from the list in F1:G6.

D2fx
ABCDEFG
1InvoiceVendorInvoice dateDue dateVendorTerms (days)
23381Alder Paper10/5/2026Alder Paper30
320918Copperleaf Print10/7/2026Copperleaf Print45
47702Kestrel Toner10/8/2026Dunmore Supply15
55540Eastgate Packaging10/12/2026Eastgate Packaging60
63396Alder Paper10/19/2026Kestrel Toner30
7412Dunmore Supply10/22/2026
87715Kestrel Toner10/27/2026
9419Dunmore Supply10/29/2026
Show the answer

=C2+VLOOKUP(B2,F2:G6,2,FALSE) gives 11/4/2026.

A function's result is a number, so it can be part of a calculation: the lookup returns 30 and the formula adds it to October 5. The result is the date from exercise 1, without the helper column. =C2+XLOOKUP(B2,F2:F6,G2:G6) gives the same date where XLOOKUP exists. For a vendor that isn't on the list the lookup gives #N/A, and so does the whole formula. Catching that with IFERROR is exercise 10 of the general interview test.

Part 2: checks before you pay

A batch of eight invoices keyed in this week, waiting for approval. Three checks before any of them is paid: is there a discount for paying early, do the quantities match the purchase order, and was an invoice entered twice.

Exercise 5Early-payment discount

These vendors give a discount for paying early. When the payment goes out 10 days or fewer after the invoice date, you take the rate in H2 off the amount. Later than that, you pay the full amount. The next payment run is on the date in G2. In E2, calculate what to pay for invoice 3417.

E2fx
ABCDEFGH
1InvoiceVendorInvoice dateAmountTo payPay dateRate
23417Alder Paper11/5/2026140011/13/20260.02
37731Kestrel Toner11/2/2026612.5
420931Copperleaf Print10/29/20262180
55562Eastgate Packaging11/4/20263050
67731Dunmore Supply11/6/2026318
73417Alder Paper11/5/20261400
83425Alder Paper11/10/2026940
97738Kestrel Toner11/9/20262315
Show the answer

=IF(G2-C2<=10,D2*(1-H2),D2) gives 1372.

The test of an IF can be a calculation. The pay date minus the invoice date is the number of days between them: 8 here, so the discount applies. 1-H2 is the share you still pay, and D2*(1-H2) is the amount less 2%. D2-D2*H2 is the same thing. Keeping the rate in a cell means one change updates every row: lock it as $H$2, and the pay date as $G$2, before copying the formula down.

Exercise 6Match check: Pay or Hold

An invoice is paid only when the quantity received equals the quantity on the purchase order, and the amount is at or under the approval limit in H2. In F2, show Pay when both are true for invoice 3417, and Hold otherwise.

F2fx
ABCDEFGH
1InvoiceVendorAmountPO qtyReceivedDecisionLimit
23417Alder Paper140050502000
37731Kestrel Toner612.51212
420931Copperleaf Print2180500500
55562Eastgate Packaging3050200180
67731Dunmore Supply3183030
73417Alder Paper14005050
83425Alder Paper9404036
97738Kestrel Toner23152020
Show the answer

=IF(AND(E2=D2,C2<=H2),"Pay","Hold") gives Pay.

AND returns TRUE only when every condition is true, and IF turns that into one of the two words. Each condition is a complete comparison. With OR, invoice 20931 in row 4 would be paid: its quantities match, but 2,180 is over the limit. Copied down with the limit locked as $H$2, the formula also says Pay for row 7, which is the same invoice as row 2. The next exercise catches that.

Exercise 7Flag a duplicate invoice

One invoice in this batch was keyed in twice. A duplicate is a row with the same vendor and the same invoice number as another row. The number alone doesn't prove it: Kestrel Toner and Dunmore Supply each sent an invoice 7731. In E2, show Duplicate when the invoice in row 2 is in the batch more than once, and OK otherwise.

E2fx
ABCDE
1InvoiceVendorInvoice dateAmountCheck
23417Alder Paper11/5/20261400
37731Kestrel Toner11/2/2026612.5
420931Copperleaf Print10/29/20262180
55562Eastgate Packaging11/4/20263050
67731Dunmore Supply11/6/2026318
73417Alder Paper11/5/20261400
83425Alder Paper11/10/2026940
97738Kestrel Toner11/9/20262315
Show the answer

=IF(COUNTIFS(A2:A9,A2,B2:B9,B2)>1,"Duplicate","OK") gives Duplicate.

COUNTIFS counts the rows where the invoice number equals A2 and the vendor equals B2. The row counts itself, so 1 means the invoice is there once and 2 means it was entered again: rows 2 and 7 here. A count on the invoice number alone would also flag rows 3 and 6, two different vendors with an invoice 7731. Before copying the formula down, lock both ranges: $A$2:$A$9 and $B$2:$B$9.

Part 3: the payment run

Back to the invoice log from Part 1, a few days later. The due dates are filled in and two invoices have been paid.

Exercise 8Total for the payment run

The next payment run covers every invoice with status Unpaid that is due on or before the date in G2. In H2, total what that run has to pay.

H2fx
ABCDEFGH
1InvoiceVendorDue dateAmountStatusPay throughTotal
23381Alder Paper11/4/20261250Unpaid11/13/2026
320918Copperleaf Print11/21/20262140Unpaid
47702Kestrel Toner11/7/2026486.5Unpaid
55540Eastgate Packaging12/11/20263260Unpaid
63396Alder Paper11/18/2026890Paid
7412Dunmore Supply11/6/2026375Paid
87715Kestrel Toner11/26/20261120Unpaid
9419Dunmore Supply11/13/2026264.8Unpaid
Show the answer

=SUMIFS(D2:D9,E2:E9,"Unpaid",C2:C9,"<="&G2) gives 2001.3.

SUMIFS starts with the range to add up, then takes pairs of range and condition. A row has to meet both to be counted. A comparison with a cell is written as text joined to the cell: "<="&G2. Three invoices qualify: 3381, 7702 and 419. With < alone, invoice 419, due exactly on that date, would be left out and the total would be 1,736.5. Without the status condition, invoice 412, which is already paid, would be added too.

How to use the time you have

If the test is tomorrow. Do the 8 exercises on this page. For each one you couldn't solve, open the answer, read why it works, then empty the box and type the formula yourself. Then take the free 10-question Excel test, which ends with a level and the first topic you missed.

If you have a few days. Work on what you missed. Lesson 1 (cells, SUM, AVERAGE, MAX) and lesson 2 (IF, AND, OR, nested IF) are free, and so are the function pages linked from each answer. The lessons on VLOOKUP, SUMIFS and COUNTIFS and dates are part of Pro: $29 once for all three tracks, or $19 for the Excel track alone. No subscription, and a 14-day refund. Then do the accounting page, which is free: it is the receivables side of the same job family, with 8 more exercises and answers.

What is not on this page. Two formulas that fit this job are practiced on the general interview test, also free: a lookup for a name that isn't on the list (IFERROR, exercise 10) and the working days between two dates (NETWORKDAYS, exercise 9). Pivot tables and keyboard shortcuts are lesson 9 and lesson 8, both part of Pro. Bank reconciliation and the accounting system itself are not practiced anywhere on this site.

Rather work in Excel itself? Download these 8 exercises as a workbook (.xlsx): one sheet per exercise, answers on the last sheet. All practice files

Questions people ask

Is this Excel test for accounts payable free, with answers?

Yes. Every exercise has a Show the answer line under it, with the formula, its result and a short explanation. The page is free and there is nothing to sign up for.

Does this Excel test fit an accounts assistant or another accounting job?

It fits the payables part of those jobs: due dates, vendor terms, checks before paying and a payment run. For the receivables part, the Excel test for accounting interviews has 8 more exercises with answers, on a budget, a chart of accounts and an aging report. Neither page practices pivot tables or bank reconciliation.

Is this the Excel test an accounts payable employer will give me?

No. This is practice material written for this site, on made-up vendors and invoices. It is not a copy of any employer's or test company's test. Ask the recruiter which version of Excel the test uses, which level it targets, whether it is timed, and whether it includes pivot tables, which this page does not practice.

Do I need Excel installed for this free Excel test for an accounting interview?

No. The spreadsheet on this page runs in your browser. The formulas are the same ones Excel uses, so what you type here is what you would type in Excel. Two differences: the sheet shows plain numbers, with no currency or percentage formatting, and it has no TODAY function, so the report date is always in a cell.

Keep going

Ten questions in a real spreadsheet, from SUM to INDEX/MATCH, on different data. You get a level at the end and the first topic you missed. Free, no sign-up.

Related

Excel test for accounting interviewsExcel test for job interviews, with answersExcel interview questions for data analystsVLOOKUP function, with live examplesCOUNTIFS function, with live examplesAND, OR and NOT functions, with live examplesExcel practice online

Written and tested by Nico, who builds SheetDrill (about). Every formula on this page ran through the engine that checks the exercises before the page was published. Last checked November 2026.