ACCT 350 · Data Analytics for Accountants

Analytics in Auditing

See how auditors use data tools to test every transaction instead of a small sample, and how to turn flagged items into real evidence.

Key takeaways

  • An audit is an independent check on whether financial statements are fairly presented, and it rests on evidence, not trust.
  • Analytics lets an auditor test an entire population of transactions instead of only a sample, which makes it easier to find rare problems.
  • Typical tests include journal entry screening, three-way matching, ratio trends and duplicate detection.
  • A flagged item is a lead to investigate, and the auditor still needs to collect evidence that is relevant and reliable.
  • The data itself must be checked first: if it is incomplete or wrong, every result built on it is wrong too.

Imagine you are hired to check whether a warehouse's inventory count is right. The old way is to walk the aisles, pick 60 boxes at random, count them, and assume the other 5,000 boxes look about the same. If your 60 are fine, you sign off. It is cheap and quick, and it can be wrong, because the problem might hide in the 4,940 boxes you never touched.

Now imagine a tool that reads every box's record in seconds and says: "These 31 records are strange. Start here." That is the promise of analytics in auditing. An auditor does not become a detective with a magic wand. The auditor becomes someone who can look at all the data, not just a slice, and then spend human time where it counts.

This lesson shows how that works. You will see what auditors test, how the testing is set up, and where the data tools run out of road.

What auditors are trying to do

An audit is an independent examination of a company's financial statements to give users, such as lenders and investors, reasonable assurance that the statements are free of material mistakes. The word material means big enough to change a reader's decision. A $12 mistake in a business that earns $10 million is not material. A $900,000 mistake is.

Auditors cannot check everything by hand, and they do not promise to catch every problem. So they plan around risk: where could a material mistake most likely be hiding, and what is the cheapest good evidence that it is not there? Revenue is often high-risk because people feel pressure to show growth. Estimates, such as how much of the receivables will never be collected, are high-risk because they rest on judgment. Cash is high-risk because it is easy to steal.

Analytics fits into that planning in three places. Early on it helps the auditor understand the business and spot risky areas. During testing it checks transactions and balances. Near the end it helps the auditor judge whether the whole set of numbers still makes sense. You met many of the tools in Descriptive Analysis of Ledgers and Finding Anomalies and Benford's Law. This lesson is about using them for a purpose with rules.

Samples versus whole populations

Traditional audit testing uses sampling: pick some items, test them, and project the result to the whole group. Done well, it is sound and is still widely used.

Here is the arithmetic. Say Maya's smoothie company has a receivables population of $4,000,000. The auditor tests a sample worth $200,000 and finds $3,000 of overstatements. The error rate is $3,000 ÷ $200,000 = 1.5%. Projected to the whole population, that is 1.5% × $4,000,000 = $60,000. If the auditor decided that anything over $50,000 is too much to accept, this result is a problem, even though no single invoice looked scary. The projection is only an estimate, though. A sample of 60 might miss a handful of bad items altogether.

Full-population testing removes that gap for the rules you can code. A computer can apply a rule to all 4,000 journal entries or 200,000 invoices as easily as to 60. It will not get bored, and it will not skip row 3,917.

Sampling and full-population testing
Sampling Tests a small, chosen part of the data Cheap when each test is done by hand Projects the results to the whole group Can miss rare problems Works even when data is hard to export Full-population analytics Applies a rule to every record Cheap once the data is in hand Gives exact counts, not projections Finds rare and odd cases Needs complete, clean, trusted data VS Sampling Tests a small, chosen part of the data Cheap when each test is done by hand Projects the results to the whole group Can miss rare problems Works even when data is hard to export Full-population analytics Applies a rule to every record Cheap once the data is in hand Gives exact counts, not projections Finds rare and odd cases Needs complete, clean, trusted data

Neither replaces judgment. Full-population tools change where the judgment is spent.

Notice the last line of the right column. A rule run on all the data is only as good as the data. An auditor first checks that the file is complete, usually by agreeing its control totals, such as record counts and the sum of all amounts, back to the general ledger. If the export holds $9.2 million but the ledger says $9.5 million, something is missing, and the test results cannot be trusted until it is found.

Four tests auditors run every day

1. Journal entry screening. Fraud often passes through manual journal entries, because someone with enough access can post a number straight to the books. Auditing standards ask auditors to test journal entries for this kind of management override. Analytics lets them filter for entries with warning signs: posted on weekends or holidays, posted just after period-end, round-dollar amounts, unusual pairings of accounts such as a debit to Revenue, entries by a person who rarely posts, or amounts just under an approval limit.

2. Three-way matching. Before a company pays a vendor, three documents should agree: the purchase order (what we asked for), the receiving report (what arrived), and the invoice (what the vendor says we owe). Analytics matches all three for every purchase and lists those that disagree, such as an invoice for 100 units when only 80 arrived.

Three-way match, run on every purchase
1 Purchase order We ordered 100 units at $5 each. 2 Receiving report Only 80 units arrived at the dock. 3 Vendor invoice The bill says 100 units, $500. 4 Compare Quantities differ by 20 units, so the invoice is flagged. 5 Follow up Pay for 80 units ($400) or get the missing 20. Purchase order We ordered 100 units at $5 each. 1 Receiving report Only 80 units arrived at the dock. 2 Vendor invoice The bill says 100 units, $500. 3 Compare Quantities differ by 20 units, so the invoice is flagged. 4 Follow up Pay for 80 units ($400) or get the missing 20. 5

A mismatch at any step becomes a flagged item.

3. Duplicate and gap tests. The same vendor, invoice number and amount paid twice. Check numbers with a missing sequence. Two vendors that share a bank account or an address, which can be a sign of a made-up vendor.

4. Ratio and trend tests. Compare this year to last year and to the industry: sales growth, gross margin, days it takes to collect receivables. If sales rose 30% while receivables rose 80%, customers may be paying more slowly, or revenue may have been recorded too early. The auditor asks why.

Worked example: screening 4,000 journal entries

An auditor reviews Maya's company. The ledger holds 4,000 journal entries for the year. Control totals agree to the ledger, so the file is complete. The auditor writes four screening rules and counts how many entries each one catches.

Rule                                         Entries flagged
Posted on a weekend                                 240
Round amount (exactly a multiple of $1,000)         180
Amount between $4,800 and $4,999                     60
Rare account pairing                                 40
                                            Total hits: 520

Some entries hit more than one rule. Exactly 35 entries were flagged twice, and none three times. So the number of different entries flagged is 520 − 35 = 485. The rest, 4,000 − 485 = 3,515, hit no rule at all.

From 4,000 entries to 35 for close review
All entries 4,000entries No flags (3,515entries) Flagged at all 485entries Flagged once (450entries) Flagged twice 35entries All entries 4,000entries No flags (3,515entries) Flagged at all 485entries Flagged once (450entries) Flagged twice 35entries

The pile shrinks at each step, and only the last pile needs the deepest look. Example with made-up numbers.

What does the auditor do with 485 entries? Not all get the same effort. The 35 entries with two flags get full attention: who posted them, what explanation is attached, and what documents support them. From the 450 single-flag entries, the auditor might pick a sample of, say, 25 and read them. If those 25 are all supported by good evidence, the remaining ones carry less worry. If several are unsupported, the auditor widens the test.

Suppose the review finds that 30 of the 35 double-flagged entries are the monthly rent and loan payments, posted on the first of the month, which fell on a weekend, in round amounts. Those are explained. Five are not: round-dollar transfers posted on a Saturday by the controller, with no support. Those five go up the chain. Notice that the tool did not find a fraud. It reduced 4,000 entries to five questions worth asking.

Evidence still matters

Under auditing standards from the AICPA and the PCAOB, evidence must be relevant (it bears on the claim being tested) and reliable (it comes from a trustworthy source, ideally outside the company). A flagged list is not evidence of misstatement. The evidence is the invoice, the signed contract, the bank confirmation, or the explanation from a person who can be shown to know. Standards, tools and expectations change, so always check the current text from the PCAOB, the AICPA and your firm's methodology.

Auditors must also document what they did: the data source, how they confirmed completeness, the rules they used, the results, and what they did about the exceptions. A test that cannot be repeated by a colleague is not much of a test.

A common mistake: trusting the file you were handed

The most common error is to load a file the client gave you and start testing. Where did the file come from? Was it exported from the live system, or built by hand in a spreadsheet? Does it include every account and every subsidiary? Does the total tie to the ledger? A careful client who wants to hide something could remove rows. A careless one could just export the wrong month.

The fix is cheap and boring: tie record counts and totals to an independent source, and keep a copy of how the data was pulled. Good habits about data quality are covered in Data Types, Quality and Governance.

Another trap is over-flagging. If you set rules so loose that 40% of entries trip them, nobody can follow up, and the real issue hides in a mountain of false alarms. Tune the rules, and write down why you chose each one.

Last, remember that analytics supports professional skepticism and does not replace it. Professional skepticism means keeping a questioning mind and not assuming that people are either honest or dishonest. A tool can tell you where to look, but only a skeptical person decides what the answer means. In the next lesson, Analytics in Management Accounting, the same tools turn from checking the past to steering the future.

Words to know

Audit an independent examination of financial statements that gives users reasonable assurance they are free of material mistakes.

Material big enough that it would change the decision of a person who relies on the statements.

Full-population testing applying a rule to every record instead of only a sample.

Control total a count or sum, such as the number of records or total dollars, used to prove that a data file is complete.

Three-way match agreeing the purchase order, the receiving report and the vendor invoice before paying.

Management override when someone with authority bypasses controls, often by posting manual journal entries.

Professional skepticism a questioning mindset that looks at evidence critically and does not assume anyone is honest or dishonest.

Check yourself

  1. Why can full-population testing find problems that sampling might miss?
  2. In the sampling example, $3,000 of errors were found in a $200,000 sample. What error rate does that show, and what is the projection for a $4,000,000 population?
  3. In the journal entry test, how many different entries were flagged, and how many were not flagged at all?
  4. Why must an auditor check control totals before running any tests on a client's data file?
  5. In the three-way match example, the invoice was for 100 units at $5 and 80 arrived. How much should the company pay for what it received?
  6. Explain why a flagged item is not the same thing as audit evidence.
Show the answers
  1. A rule can be applied to every record, so rare items that a small random sample would probably skip are still examined.
  2. $3,000 ÷ $200,000 = 1.5%; 1.5% × $4,000,000 = $60,000 projected.
  3. 520 hits − 35 double-flagged entries = 485 different entries flagged; 4,000 − 485 = 3,515 were not flagged.
  4. If the file is missing records, the test results describe only part of the books, so the file's count and total must agree to the ledger first.
  5. 80 units × $5 = $400, not the $500 on the invoice.
  6. A flag only says an item looks unusual; evidence is a reliable, relevant document or confirmation that shows whether the item is actually right or wrong.

A free self-study program written for 4Accounting with AI writing tools and not reviewed line by line by a person. It is not an accredited degree and awards no credit. Check anything you rely on against a textbook or primary source. Report an error.

In this unit: Applications

  1. Analytics in AuditingSee how auditors use data tools to test every transaction instead of a small sample, and how to turn flagged items into real evidence.11 min
  2. Analytics in Management AccountingSee how managers use data to explain cost changes, find which customers really earn money, and test what-if plans before spending.10 min
  3. Analytics in Tax WorkLearn how tax professionals use data to check sales tax, catch reporting gaps, compare book and tax numbers, and plan, all with human review.11 min
  4. Dashboards and Data StorytellingLearn how to turn numbers into a clear picture and a short story that a busy reader can understand and act on within a minute.11 min
  5. A First Look at Programming for AccountantsA gentle first look at Python and SQL for accountants, showing how a few lines of code repeat and check work that a spreadsheet struggles with.11 min

In the news