ACCT 410 · Auditing and Assurance
Auditing With Data Analytics
How auditors use software to test every transaction, spot oddities, and decide which ones deserve a closer human look.
Key takeaways
- Data analytics lets an auditor test every item in a set, not just a sample, for certain kinds of questions.
- Software finds exceptions; a person must still judge whether each exception is an error, a fraud sign, or a harmless oddity.
- The data must be complete and accurate before any result can be trusted, so the auditor tests the data first.
- Analytics supports risk assessment, tests of controls and tests of balances, but it does not replace professional judgment.
- Every analytic must be documented: the source, the steps, the exceptions found, and how each one was resolved.
Picture Maya, who runs a chain of twelve smoothie carts. Last year her carts rang up 480,000 sales. An auditor wants to know whether those sales are real and recorded correctly. In the old days, the auditor would pull a few dozen receipts from a pile and hope the pile was typical. Today the auditor can ask a computer to read all 480,000 sales in about a minute.
That change is what this lesson is about. Data analytics means using software to sort, match, total and graph large sets of records so patterns and oddities pop out. The computer does not decide anything. It points, and the auditor thinks.
Why audits needed a new tool
Auditors cannot look at everything. A big company may record millions of transactions a year, and an audit has a deadline and a budget. So for decades auditors checked a small slice and drew conclusions about the rest. That method is called sampling, and it is covered in Audit Sampling for Balances. It works, but it has a built-in weakness: the one bad transaction might sit in the part you never looked at.
Computers change the math. Reading a file of 480,000 rows costs almost nothing extra compared with reading 400. So an auditor can now test the whole set against a rule, such as "no sale should have a date after the year-end cutoff." Every row that breaks the rule gets flagged.
Think of it as the difference between tasting one spoonful of soup and having a machine scan the whole pot for burnt bits. The machine finds the burnt bits, but you still decide whether they ruin the soup.
The same five steps apply whether the data has 500 rows or 5 million.
Step one: make sure the data is trustworthy
Here is the part beginners skip. A test run on bad data produces a confident wrong answer. Before using a file, the auditor checks two things.
Completeness asks whether every record made it into the file. A simple check: add up the file's total sales and compare it to the sales number in the general ledger (the master record of all accounts). If the file says 9,420,000 and the ledger says 9,500,000, then 80,000 of sales are missing from the file, and nothing the auditor learns from it can be called complete.
Accuracy asks whether the values in the file are right. An auditor might trace a handful of rows back to the original invoices to confirm that the amounts and dates in the file match the paper or the source system.
The auditor also asks where the data came from. A report that the client built by hand in a spreadsheet is riskier than one pulled straight from the accounting system, because a person could have changed it. Controls over reports and systems are part of Testing Controls.
Step two: the tests auditors run most often
Most analytics tests fall into a few families. Here are the common ones.
- Matching. Compare two lists that should agree, such as the payroll list and the list of employees in the human resources system.
- Gaps and duplicates. Invoices usually carry numbers in order. A missing number may mean a deleted invoice. The same invoice number twice may mean a double payment.
- Dates and times. Entries made on weekends, at 3 a.m., or just after year-end deserve a question.
- Round numbers. Real sales are messy, like $17.43. A pile of entries at exactly $9,000.00 may be someone staying under an approval limit.
- Unusual combinations. A journal entry that debits a cost and credits an unrelated account might be fine, or might be a manager moving numbers around.
- Ranking and grouping. Sort customers by balance and age. The ten biggest and oldest balances are where trouble tends to hide.
None of these tests proves wrongdoing. A weekend entry may just be a bookkeeper catching up. The test only says, "Look here."
The two tools answer different questions, and good audits use both.
A worked example: Maya's sales cutoff
Let's run one analytic on Maya's carts. Her year ends December 31. The auditor wants to know whether any sales from January were booked into December, which would pump up this year's revenue.
The auditor pulls all 480,000 sales and checks the file first. The file's total is 2,160,000 dollars, and the ledger's revenue is 2,160,000 dollars. The file is complete.
Next the auditor writes a rule: flag any sale where the delivery or pickup date is after December 31 but the booking date is on or before December 31. The software finds 14 flagged rows.
The auditor opens each one. Eleven are catering orders booked on December 30 for a January 2 event, so the revenue should wait until January. The other three are gift cards, which are different, because the cash is received but the smoothies are not yet delivered.
Flagged rows: 14
Catering orders (cutoff errors): 11
Total value of these 11: 6,600
Gift cards (correctly handled): 3
Total value of these 3: 300
Revenue overstated by: 6,600 So the 11 catering orders total 6,600 dollars of revenue that belongs in the next year. The auditor compares 6,600 to the materiality level, the size of an error big enough to change a reader's decision, which is explained in Materiality. If materiality is 40,000, then 6,600 is small by itself. But the auditor keeps a running list of such small errors, because several of them can add up.
The point: the computer found 14 needles in a haystack of 480,000 rows in seconds, and a human took an hour to sort the needles. Both parts mattered.
Only the catering orders are errors; the gift cards were recorded correctly. Example with made-up numbers.
Where analytics fits in the audit
Analytics is not a separate kind of audit. It is a way of doing steps the auditor was going to do anyway.
Risk assessment. Early in the audit, a quick look at the whole population shows where odd things cluster. A branch with twice the returns of every other branch gets extra attention. This ties to Understanding the Business and Assessing Risk.
Tests of controls. If a control says "no payment over 5,000 dollars without a second approval," the auditor can test every payment over 5,000 instead of a few. See Testing Controls.
Tests of balances. The auditor can recompute depreciation on every asset, or age every receivable, rather than just a few.
Fraud work. Analytics is good at hunting for the patterns described in Fraud Responsibilities of Auditors, such as duplicate vendors or unusual journal entries.
Analytical procedures. These compare numbers to expectations, such as this year's gross margin against last year's. Analytics software makes that comparison quick, but the logic is covered in Analytical Procedures.
A common mistake: treating a flag as a finding
The most common error is believing that a list of exceptions is the audit result. It is not. Imagine the software flags 3,000 weekend entries. If the auditor writes "3,000 exceptions found," the report is useless and possibly alarming.
The right move is to ask why. Maybe the client's online store runs on weekends, and every weekend entry is an automatic sale posting. A better test would exclude automatic postings and focus on manual ones. Auditors call a flag that turns out to be harmless a false positive. Too many of them waste time and bury the true problems.
The opposite mistake is trusting a clean result too much. A test only finds what its rule describes. If the rule is "look for duplicate invoice numbers," a fraudster who changes one digit slips through. So the auditor asks, "What would a bad item look like, and does my rule catch it?"
A third mistake is forgetting the people. Findings still have to be explained to a client, and the auditor must stay skeptical about explanations that sound too tidy.
Documentation and limits
Whatever the software does, the auditor must be able to show it later. That means saving the question, where the data came from, how its completeness was checked, the exact rule used, the list of exceptions, and the follow-up on each. Another auditor should be able to repeat the test and get the same answer. This habit is the heart of Audit Documentation.
Analytics also has limits. It cannot tell whether an inventory item physically exists, whether a customer is real, or whether a manager is lying about why a deal was structured a certain way. Those need confirmation letters, observation and conversation, as covered in Audit Evidence and Assertions. Standards bodies such as the PCAOB (for public companies) and the AICPA (for private ones) publish guidance on using technology in audits; check their current pages, because this area changes fast.
Words to know
Data analytics using software to sort, match, total and chart large sets of records so that patterns and oddities show up.
Population the complete set of items an auditor wants to learn about, such as all 480,000 sales.
Exception an item that breaks the rule a test applies and needs follow-up.
Completeness (of data) the quality of a file having every record it should have.
False positive an item flagged by a test that turns out to be harmless.
Cutoff the line between one accounting period and the next, which sales and expenses must land on the right side of.
Journal entry testing scanning manual ledger entries for unusual timing, amounts or account pairs.
Check yourself
- What is the main advantage of analytics over sampling for a rule-based test?
- Why must an auditor test a data file's completeness before running any analytic on it?
- A file's sales total is 7,350,000 but the ledger shows 7,500,000. How much may be missing from the file, and what does that mean for the test?
- Name two kinds of tests auditors commonly run with analytics, and give one example of each.
- In Maya's example, 11 catering orders totaling 6,600 were booked in December for January events. What should happen to her December revenue of 2,160,000?
- Explain why a long list of exceptions is not the same as an audit finding.
Show the answers
- It can test every item in the population instead of a slice, so rare errors are less likely to be missed.
- Results from incomplete or wrong data look confident but are misleading, so the file must first agree to the ledger and to source records.
- 7,500,000 − 7,350,000 = 150,000 may be missing, so the test cannot cover all sales until the gap is explained.
- Gaps and duplicates (a missing or repeated invoice number) and date tests (entries made on weekends or just after year-end).
- Revenue should be reduced by 6,600, giving 2,160,000 − 6,600 = 2,153,400, because the sales belong to January.
- Each exception must be investigated, since many are false positives; only after follow-up does the auditor know whether any is an actual error or fraud sign.