In short
"Sales are up 18% on last year" is the line every leader wants on the first slide. It takes three measures and one safe division to get it right.
YoY growth % is this period minus the same period last year, divided by last year's value, built from your current and previous-year measures with DIVIDE.

Think of it like this
The height mark on the door
Every birthday, your mother marks your height on the door frame. This year's mark is 6 cm above last year's. Is that a lot? If you were 120 cm, it's 5% growth. YoY % is that same calculation: the change divided by where you started.
Watch it happen
Building YoY % from parts
1/5[Total Sales] for July 2026: ₹14,16,000.
The big ideas
What you need to know
Change over base
YoY % = (This Year minus Last Year) ÷ Last Year. Divide by last year, not this year.
Use DIVIDE
DIVIDE returns BLANK instead of an error when last year is zero or blank, like a store that just opened.
Blank when no history
If there was no last year or no current sales yet, return blank instead of +100% or -100%.
Colour the sign
Pair YoY % with conditional formatting so growth and decline stand out, with an arrow or icon so colour isn't the only signal.
See it in code
Walk through the code
1Sales YoY % =2VAR CurrentSales = [Total Sales]3VAR PreviousSales = [Sales PY]4RETURN5 IF (6 NOT ISBLANK ( CurrentSales ) && NOT ISBLANK ( PreviousSales ),7 DIVIDE ( CurrentSales - PreviousSales, PreviousSales )8 )9 10Sales FYTD YoY % =11DIVIDE ( [Sales FYTD] - [Sales PY FYTD], [Sales PY FYTD] )1/4Store both values in variables so each is calculated once and the logic reads clearly.
Format both measures as Percentage with one decimal place.
Save yourself the pain
Common mistakes
Oops
Dividing the change by this year's sales.
Do this instead
Growth is measured against the starting point: divide by last year.
Oops
Writing ([Total Sales] - [Sales PY]) / [Sales PY].
Do this instead
Use DIVIDE so a zero or blank last year gives blank, not an error or infinity.
Your mission
Growth by category
Quick check
Last year ₹8 lakh, this year ₹10 lakh. What is YoY growth?
Go deeper
- 1Write YoY % using VAR for current and previous year values.
- 2Format it as a percentage and add up and down conditional formatting.
- 3Decide what to show when last year has no data.
More topics at this stop
Stuck on this topic? Ask an Insider
Get 1:1 guidance from people who've walked this exact path — on the InsideEdge app.