Computer Applications & Excel for Accounting

Chapter 11
Accounting Analytics and Audit Applications

Bachelors Program in Accounting and Finance
Computer Applications & Excel for Accounting   •   Bachelor

Accounting Analytics and Audit Applications

Introduction and Context

Accounting analytics applies data, statistical reasoning, spreadsheet technology and professional judgement to financial reporting, control evaluation and audit evidence. Traditional accounting reports describe what has happened; analytics helps explain why it happened, identify unusual patterns and direct attention to areas requiring investigation.

For accountants and auditors, analytics does not replace professional scepticism, internal controls or substantive evidence. It improves the efficiency and quality of risk assessment by examining complete populations, identifying exceptions and supporting conclusions with reproducible analysis. Excel is particularly useful because it combines data preparation, formulas, pivot tables, charts, statistical functions and audit documentation in one accessible environment.

Accounting analytics commonly supports five activities:

  1. Descriptive analysis—summarising transactions and balances.
  2. Diagnostic analysis—investigating causes of unusual results.
  3. Predictive analysis—estimating expected values or risks.
  4. Exception testing—identifying transactions that violate rules or deviate from expectations.
  5. Audit analytics—using data-driven procedures to assess assertions, controls and fraud risks.

Learning Objectives

By the end of this chapter, students should be able to:

  • calculate and interpret descriptive statistics for accounting data;
  • perform trend, ratio and variance analysis in Excel;
  • use regression appropriately to develop expectations;
  • distinguish a sample from a population and select a defensible sample;
  • construct receivables ageing schedules;
  • design exception tests for transactions and controls;
  • interpret analytical results without confusing an anomaly with proven fraud;
  • document procedures, evidence, limitations and professional conclusions.

1. The Accounting Analytics Framework

A reliable analytics project follows a logical chain:

Business question → data definition → data validation → analytical test → investigation → evidence and conclusion.

The business question determines the required data. For example, testing duplicate payments requires invoice number, supplier, amount, date and payment reference. Testing segregation of duties requires user identities, roles and transaction authorisations.

Data quality before analysis

Analysis of inaccurate data creates false confidence. Before using a worksheet, the analyst should establish:

  • completeness: all relevant records and fields are present;
  • accuracy: values agree with source systems or documents;
  • validity: dates, codes and amounts conform to permitted formats;
  • uniqueness: duplicate records are understood and removed where appropriate;
  • consistency: definitions and periods are applied uniformly;
  • cut-off: transactions belong to the correct reporting period.

A useful Excel control is a reconciliation between the imported population and the general ledger. If the extracted debit and credit totals do not reconcile to the ledger, the difference must be explained before conclusions are drawn.

Population, sample and exception

A population is the complete set of items relevant to a test, such as all sales invoices issued during a year. A sample is a subset selected for examination. An exception is an item meeting a defined condition, such as an invoice dated after shipment date or a payment exceeding an approval limit.

An exception is not automatically an error or fraud. It is an investigation signal. Legitimate explanations may include data-entry errors, authorised overrides, unusual but genuine transactions or system timing differences.

2. Descriptive Statistics for Accounting Data

Descriptive statistics reduce large transaction populations to interpretable measures.

For observations x1, x2, ..., xn, the arithmetic mean is:

x̄ = (∑xi) ÷ n

Here, x̄ is the sample mean, xi is observation i, and n is the number of observations. The mean is appropriate when values are reasonably balanced, but it is sensitive to extreme transactions.

The median is the middle observation after sorting. If n is odd, it is the central value; if n is even, it is the average of the two central values. The median is often more representative than the mean for skewed data such as invoice amounts.

The range is:

Range = Maximum − Minimum

Sample variance and standard deviation are commonly calculated as:

s² = ∑(xi − x̄)² ÷ (n − 1)
s = √s²

The denominator n−1 is used when estimating population variability from a sample. If the complete population is being described rather than estimated, a population standard deviation using denominator n may be appropriate. Units of standard deviation are the same as the original variable; variance has squared units.

The coefficient of variation is:

CV = s ÷ x̄

It is meaningful only when the mean is positive and sufficiently different from zero. It permits relative comparison of variability between datasets with different scales.

Worked example: invoice amounts

Suppose five invoices are £900, £1,000, £1,100, £1,200 and £2,800. Their mean is £1,400 and their median is £1,100. The large £2,800 invoice raises the mean substantially above the median. This difference suggests positive skewness and justifies examining the largest transactions separately.

In Excel, useful functions include AVERAGE, MEDIAN, MIN, MAX, STDEV.S, STDEV.P, COUNT and QUARTILE.INC. A box-and-whisker chart can reveal extreme observations, but every apparent outlier requires contextual investigation.

3. Trend, Variance and Ratio Analysis

Trend analysis

Trend analysis compares a measure across time. The absolute change from period 0 to period 1 is:

∆X = X1 − X0

The percentage change, where X0 ≠ 0, is:

Percentage change = (X1 − X0) ÷ X0 × 100%

A compound annual growth rate over m periods is:

CAGR = (Xm ÷ X0)^(1 ÷ m) − 1

CAGR assumes that the beginning and ending values are positive and provides a smoothed rate; it does not imply that growth was constant in each period.

Trend analysis can identify falling gross margins, unusual month-end sales, accelerating receivables or expense categories growing faster than revenue. Seasonality must be considered: comparing December with November may be less meaningful than comparing December with the prior December.

Variance analysis

For a budget or standard amount, the absolute variance is:

Variance = Actual − Budget

The percentage variance, when budget is non-zero, is:

Variance percentage = (Actual − Budget) ÷ Budget × 100%

For expenses, a positive variance may be unfavourable because actual expenditure exceeds budget. For revenue, a positive variance may be favourable. The sign should therefore be interpreted in relation to the account’s economic purpose.

Ratio analysis

Ratios make relationships visible, but they do not establish causation. Common accounting ratios include:

RatioFormulaInterpretation
Gross profit marginGross profit ÷ RevenueProfit retained after cost of sales
Current ratioCurrent assets ÷ Current liabilitiesShort-term coverage indicator
Receivables daysTrade receivables ÷ Credit sales × 365Approximate collection period
Inventory turnoverCost of sales ÷ Average inventoryInventory movement relative to cost
Debt-to-equityTotal debt ÷ EquityFinancial leverage

The receivables-days formula assumes credit sales are used and that a 365-day convention is appropriate. In practice, average receivables may be preferable where balances fluctuate substantially. Ratios should be compared with prior periods, budgets, industry information and business explanations.

4. Regression and Expected-Value Analysis

Regression can help develop an expectation for an accounting balance. In simple linear regression:

yi = a + bxi + εi

Here, yi is the dependent variable, xi is the explanatory variable, a is the intercept, b is the estimated change in y for a one-unit change in x, and εi is the unexplained error.

The slope estimate is:

b = ∑(xi − x̄)(yi − ȳ) ÷ ∑(xi − x̄)²

The intercept is:

a = ȳ − bx̄

Regression is useful when a plausible, stable relationship exists—for example, electricity expense and production volume. It is inappropriate to infer causation solely from a high correlation. Important assumptions include approximately linear association, independent observations, reasonably stable variance of errors and no dominant influential observations. Time-series data may also contain seasonality or autocorrelation.

In Excel, SLOPE, INTERCEPT, CORREL, RSQ and the Data Analysis Regression tool are available. R² measures the proportion of variation in the dependent variable explained by the fitted linear model in the sample; it does not prove that the model is correct or that the relationship is causal.

Analytical expectation

If expected expense is £52,000 and recorded expense is £60,000, the unexplained difference is £8,000. The analyst should establish a tolerable difference based on materiality, data reliability and the purpose of the test. A difference exceeding the threshold prompts investigation; it does not itself prove misstatement.

5. Sampling for Audit and Control Testing

Sampling is used when examining every item is inefficient or unnecessary. The objective is to obtain a sample that provides a reasonable basis for a conclusion about the population.

Probability methods include random, systematic and stratified sampling. Random sampling gives each item a known selection chance. Systematic sampling selects every kth item after a random start. Stratification divides the population into groups, often examining all high-value items and sampling the remainder.

For estimating a proportion under a simple random model, an initial approximate sample-size expression is:

n₀ = z²p(1 − p) ÷ e²

Here, z is the standard-normal critical value for the desired confidence level, p is the anticipated population proportion, and e is the maximum tolerable sampling error. When p is unknown, 0.5 produces the most conservative size. This formula assumes a random sample, a proportion estimate and a sufficiently large population.

For a finite population of size N, a correction may be applied:

n = n₀ ÷ [1 + (n₀ − 1) ÷ N]

Audit sampling also depends on risk of material misstatement, expected deviation, tolerable deviation, materiality and the reliability of other evidence. Statistical formulas should not be used mechanically. Non-statistical sampling can be defensible when selection is designed to avoid bias and the basis for the conclusion is documented.

6. Receivables Ageing Analysis

Ageing classifies unpaid invoices according to elapsed time from due date or invoice date. A typical schedule is current, 1–30 days overdue, 31–60, 61–90 and over 90 days.

For invoice j, days overdue at the reporting date can be expressed as:

Days overduej = MAX(0, Reporting date − Due datej)

The MAX function prevents a not-yet-due invoice from receiving a negative overdue value. Excel’s IFS, XLOOKUP or nested IF functions can assign ageing bands.

An illustrative expected-loss schedule is:

Ageing bandReceivableLoss rateExpected loss
Current£40,0001%£400
1–30 days£18,0003%£540
31–60 days£10,0008%£800
Over 60 days£7,00025%£1,750
Total£75,000£3,490

The expected loss is calculated separately for each band and then summed. Rates must be supported by relevant historical experience, current conditions and reasonable forecasts; they should not be invented merely to force a desired provision.

Ageing analytics can identify overdue balances, credit-limit breaches, accounts with repeated extensions and unusual post-year-end cash receipts. It also supports the valuation and existence assertions, although confirmation, subsequent receipts and other audit procedures may still be necessary.

7. Exception Testing and Audit Analytics

Exception testing applies explicit rules to a population. Examples include:

  • duplicate invoice number for the same supplier;
  • identical amount, date and supplier appearing multiple times;
  • payment made before invoice approval;
  • journal posted by a user without appropriate authority;
  • transactions posted on weekends or immediately before period close;
  • round-number journals above a defined threshold;
  • sales credits issued shortly after year-end;
  • employees and suppliers sharing bank-account details;
  • sequential invoice gaps or transactions outside authorised ranges.

A robust test specifies the field, condition, threshold, rationale and treatment of false positives. For example, a duplicate test should not rely on amount alone because recurring rent payments may legitimately be identical. A composite key such as supplier + invoice number + amount is more informative, but even that requires investigation.

Useful Excel tools include COUNTIFS, SUMIFS, conditional formatting, filters, pivot tables, Power Query and data validation. A control test may calculate:

Exception rate = Number of exceptions ÷ Population size × 100%

The denominator must be clearly defined. An exception rate based on all transactions differs from one based only on transactions subject to a control.

Benford’s law

Benford analysis examines the distribution of leading digits. It may be useful for some naturally occurring, unconstrained financial populations, but it is inappropriate for assigned identifiers, prices constrained by psychological pricing, small datasets, uniform numbers or data with strong business rules. Deviation is a screening indicator, not evidence of fraud. It must never be presented as a fraud detector.

8. A Structured Audit-Analytics Workflow

A professional workflow can be organised as follows:

  1. Define the objective and assertion. Identify whether the test addresses existence, completeness, accuracy, valuation, cut-off, rights or presentation.
  2. Acquire and preserve data. Record source, extraction date, period, filters and file version.
  3. Profile the population. Check counts, totals, dates, missing values, duplicates and unusual codes.
  4. Reconcile. Agree transaction totals to the general ledger or subledger.
  5. Design tests. Use risk-based thresholds and documented logic.
  6. Run and review exceptions. Separate technical exceptions from confirmed errors.
  7. Obtain corroborating evidence. Inspect invoices, approvals, contracts, confirmations or subsequent receipts.
  8. Conclude and document. Explain procedures, results, limitations and unresolved matters.
  9. Protect the evidence. Restrict access, preserve original data and maintain an audit trail.

Illustrative Case: Northbridge Components Ltd.

Background

Northbridge Components Ltd. sells industrial parts on credit. The audit team is assessing revenue cut-off, receivables valuation and purchasing controls for the year ended 31 December. The finance department provides sales invoices, credit notes, customer master data, purchase invoices and payment records.

Problem

Revenue grew by 24%, but cash collections grew by only 8%. Receivables days increased from 46 to 68. Management attributes the change to a major customer and temporary shipping delays.

Analysis

The team first reconciles the extracted sales population to the sales ledger. It then compares monthly revenue, credit notes and shipments. A pivot table shows an unusual concentration of sales on 31 December. An exception test identifies 14 invoices dated 31 December where shipment occurred on 2 January. A subsequent-credit-note test identifies six of these invoices as credited in January.

Ageing analysis shows £120,000 overdue by more than 90 days, including £45,000 owed by the major customer. A review of subsequent receipts confirms only £10,000 collected before the audit date. Regression of monthly shipping costs on production volume is not used to assess revenue because the variables do not represent a credible economic relationship; instead, shipment records and customer confirmations are examined.

Purchasing analytics identifies three payments with the same supplier bank account as an employee bank account. Investigation reveals two legitimate employee-owned suppliers and one unauthorised vendor record created using an employee’s credentials.

Approach and outcome

The audit team expands cut-off testing around year-end, inspects shipping documents, proposes revenue and receivables adjustments where recognition criteria are not met, and refers the unauthorised vendor matter to those charged with governance. Access rights to supplier-master changes are reviewed, and dual approval is recommended.

Learning points

The case demonstrates that analytics connects separate signals: rapid revenue growth, deteriorating collection, year-end concentration, subsequent credit notes and master-data anomalies. None alone proves fraud. Conclusions require corroborating evidence, awareness of alternative explanations and careful documentation.

9. Governance, Ethics and Limitations

Accounting analytics involves confidential financial, employee and customer data. Analysts should apply data minimisation, role-based access, encryption, retention policies and documented authorisation. Personal data should be processed only for legitimate purposes and in accordance with applicable privacy and professional requirements.

Ethical risks include manipulating thresholds to reduce reported exceptions, ignoring inconvenient results, using biased samples, treating algorithmic scores as proof and failing to disclose limitations. Analysts must preserve independence, competence, confidentiality and professional scepticism.

Important limitations include poor source data, false positives, false negatives, changing business conditions, model error, sampling risk and overreliance on correlation. Automated tools may reproduce historical bias. AI-assisted analytics can help classify transactions or generate test ideas, but outputs require human validation, traceability, access controls and review. Confidential client data should not be uploaded to unapproved external systems.

10. Best Practices and Employability Relevance

Employable accountants should be able to:

  • build structured Excel tables with stable field names;
  • document assumptions and preserve an unchanged source file;
  • use Power Query for repeatable transformations;
  • reconcile totals before interpreting patterns;
  • combine numerical analysis with business knowledge;
  • distinguish a signal, an exception, an error and confirmed fraud;
  • communicate findings in terms of risk, evidence and action;
  • maintain reproducible workpapers and version control.

A strong analytical report states the population, period, procedure, threshold, number of exceptions, investigation status, conclusion and limitations. Charts should clarify a decision rather than decorate a spreadsheet.

Chapter Summary

Accounting analytics supports risk assessment, control testing, financial analysis and audit evidence. Descriptive statistics summarise populations, while trends, variances and ratios reveal changes in performance and financial condition. Regression can produce expectations when relationships are economically credible and its assumptions are considered. Sampling provides an efficient basis for testing, but selection risk and population definitions must be documented. Ageing analysis assists receivables valuation and collection-risk assessment. Exception testing identifies transactions requiring investigation, while audit analytics combines rules, statistical analysis and professional judgement. Anomaly is not synonymous with fraud: reliable conclusions require validated data, corroborating evidence, ethical safeguards and clear documentation.

Key Terms

Accounting analytics: Use of data and analytical methods to support accounting and audit decisions.

Ageing analysis: Classification of balances by elapsed time since invoice or due date.

Anomaly: An observation that differs materially or unexpectedly from a pattern or rule.

Audit assertion: Management representation concerning existence, completeness, accuracy, valuation, cut-off, rights or presentation.

Coefficient of variation: Standard deviation divided by the mean.

Exception testing: Applying defined rules to identify transactions requiring review.

Expected value: A reasonable amount or pattern developed from relevant evidence.

False positive: An item flagged by a test that is not actually an error or fraud.

Population: Complete set of items relevant to an analytical procedure.

Professional scepticism: A questioning mind and critical assessment of evidence.

Regression: A method for estimating a relationship between a dependent variable and one or more explanatory variables.

Sample: A subset selected from a population.

Sampling risk: Risk that a sample conclusion differs from the conclusion obtained from the whole population.

Standard deviation: Measure of dispersion around the mean.

Stratification: Dividing a population into groups for separate treatment or sampling.

Trend analysis: Examination of changes in a measure across time.

Variance analysis: Comparison of actual results with budget, standard or expectation.

Benford analysis: Examination of leading-digit frequencies as a screening procedure in suitable populations.

Review Questions

5 Short Answer Questions

  1. Distinguish a population, sample and exception.
  2. Why can the median be more useful than the mean for invoice data?
  3. State two data-quality checks required before audit analytics.
  4. What does an ageing schedule measure?
  5. Why is an anomaly not proof of fraud?

5 Long Answer Questions

  1. Explain how trend, variance and ratio analysis can be combined to assess receivables risk.
  2. Describe the assumptions and limitations of simple linear regression in audit analytics.
  3. Explain probability and non-probability sampling methods used in control testing.
  4. Design an Excel-based duplicate-payment test and discuss likely false positives.
  5. Discuss ethical, privacy and governance requirements for accounting analytics.

3 Analytical / Application Questions

  1. A company’s revenue rises 20%, cash collections rise 5% and receivables days increase from 40 to 65. Design an analytical investigation and identify evidence required before concluding that revenue is misstated.
  2. Construct an ageing analysis for a receivables population and explain how loss rates should be justified rather than arbitrarily selected.
  3. Design a year-end journal-entry analytics procedure covering population definition, risk indicators, exception review and documentation of conclusions.

Multiple Choice Questions with Answers

Question 1

Which measure is generally least affected by one extremely large invoice?

A. Mean

B. Median

C. Range

D. Variance

Correct Answer: B. Median

Question 2

If actual expense is £60,000 and budgeted expense is £50,000, the percentage variance is:

A. 10%

B. 16.7%

C. 20%

D. 120%

Correct Answer: C. 20%

Question 3

In the regression equation yi = a + bxi + εi, what does b represent?

A. The unexplained error

B. The intercept

C. The estimated change in y for a one-unit change in x

D. The sample size

Correct Answer: C. The estimated change in y for a one-unit change in x

Question 4

Which procedure is most appropriate for testing whether all extracted sales agree to the sales ledger total?

A. Reconciliation

B. Benford analysis

C. Ratio analysis

D. Stratification

Correct Answer: A. Reconciliation

Question 5

A payment made before the related invoice was approved is best classified initially as:

A. Confirmed fraud

B. An exception requiring investigation

C. A sampling error

D. A favourable variance

Correct Answer: B. An exception requiring investigation

Question 6

If receivables are £75,000 and expected loss is £3,490, the expected-loss rate for the whole balance is approximately:

A. 2.15%

B. 3.49%

C. 4.65%

D. 21.5%

Correct Answer: C. 4.65%

Question 7

Which sampling method divides a population into groups and may examine all high-value items?

A. Stratified sampling

B. Convenience sampling

C. Haphazard sampling

D. Cluster-free sampling

Correct Answer: A. Stratified sampling

Question 8

Benford analysis is most appropriately interpreted as:

A. Conclusive proof of fraud

B. A replacement for substantive evidence

C. A screening indicator for suitable populations

D. A method for calculating depreciation

Correct Answer: C. A screening indicator for suitable populations

Question 9

Which Excel function is particularly suitable for counting records that meet multiple conditions?

A. COUNTIFS

B. MEDIAN

C. SLOPE

D. ROUND

Correct Answer: A. COUNTIFS

Question 10

Which statement about an analytical exception is correct?

A. It always represents a financial misstatement

B. It always represents employee fraud

C. It requires investigation and corroborating evidence

D. It should be deleted if management provides an explanation

Correct Answer: C. It requires investigation and corroborating evidence

Computer Applications & Excel for Accounting
Chapter 11 of 15