Finance Operations

Horizontal Analysis: Formula, Example and Excel

Calculate horizontal analysis in Excel and compare financial statements across periods. Includes worked changes, restatements and zero-base handling.

Centaur CareersFinance education editorial team
Finance analyst and reviewer checking a fictional month-end close and reporting pack

Article summary

Horizontal analysis compares the same financial statement line across periods. Subtract the base period amount from the current period amount to find the absolute change. Divide the difference by the base amount and multiply by 100 when the percentage comparison is meaningful.

How do you calculate horizontal analysis?

Choose the base period. Compare lines with consistent units and reporting scope, then write the absolute and percentage results next to the original values. For a fixed-base trend, use the same base across years and label the result as an index if you set that base to 100.

Fictional retailer amounts in INR lakh
Line itemBase yearCurrent yearChangeChange %
Revenue500575+75+15.0%
Cost of sales320390+70+21.9%
Gross profit180185+5+2.8%
Operating expenses120130+10+8.3%
Operating profit6055−5−8.3%

Sales rose 15%, but cost of sales increased more quickly. Gross margin fell from 36% to about 32.2%, and operating profit decreased by 5 lakh. Check unit costs, prices, volume and sales mix to investigate the cause. The statements show the pattern, while supporting records can help explain it.

How to handle zero and negative bases

For a zero base, show the absolute change and mark percentage change as undefined. For a change from an 8 lakh loss to a 2 lakh profit, report a 10 lakh improvement and describe the reversal. With a negative base, the conventional percent formula can give a sign that misrepresents the improvement.

Horizontal analysis vs vertical analysis

Horizontal analysis compares one line over time. Vertical analysis expresses lines within one period relative to a common base, often revenue for an income statement. In the example, horizontal analysis shows cost growth of 21.9%. Vertical analysis shows that gross profit is a smaller share of revenue.

Before sharing a spreadsheet, confirm that prior values reflect any restatement. Keep the absolute comparison even when a percentage is unavailable and record the source for every key figure.

How to set up horizontal analysis in Excel

Put the line item in column A, the prior amount in B and the current amount in C. In D2 use =C2-B2 for absolute change. In E2 use =IF(B2<=0,"N/M",D2/B2) and format numeric results as a percentage. Here N/M means not meaningful under the worksheet’s chosen rule for zero or negative bases. Flag sign changes and very small bases for a separate review even when the formula gives a number.

Example rows to check the worksheet
Line itemPriorCurrentChangeDisplay
Revenue5005757515.0%
New distribution cost088N/M
Operating loss to profit−8210N/M
Small prior amount154400.0%, review materiality

Preserve the raw numbers and note reference before adding formulas. Keep a numeric change column even when the percentage cell contains N/M. When comments feed a dashboard, include a flag for period lengths and reporting scope so a partial period or acquisition is not silently compared with a full prior year.

Year-over-year change vs a fixed-base trend index

If sales are 500, 575 and 660 lakh over three years, the fixed-base index with Year 1 at 100 is 100, 115 and 132. Year 3 is up 32% from Year 1, but its change versus Year 2 is about 14.8%. Put the index and the year-over-year rate in differently labeled columns to keep the comparison clear.

Use restated comparatives when the statements provide them

Suppose an issuer originally published prior revenue of 500 lakh and later restated it to 520 lakh. Current revenue is 575 lakh. Compared with the restated base, growth is about 10.6%, instead of the 15% result obtained from the old amount. Use the comparable restated figure when the statements provide it and cite the note. Keep the original figure separately for traceability. IAS 8 describes retrospective correction of material prior-period errors where practicable.

IFRS Foundation: IAS 8 and comparative restatements

OpenStax financial statement analysis reference

Calculate gross and operating margins

Review the financial reporting workflow

Read the financial statement analysis guide

What is the base year in horizontal analysis?

It is the reference year for the calculation. Use the preceding year for year-over-year comparisons or the same reference year for every point in a fixed-base trend.

Can you use horizontal analysis on a balance sheet?

Yes. Compare the same balance-sheet line across reporting dates and investigate changes in classification, currency or consolidation scope before explaining the result.

horizontal analysis formulahorizontal analysis examplehorizontal analysis excel formulahorizontal vs vertical analysis

Next step

See how these topics fit the Financial Operations Masterclass

Compare the curriculum, learning options, published fees, certificate details, and current written support terms. Contact the team if you want help matching the program to your goal.