Year-over-Year Analysis Fundamentals
Year-over-year (YoY) comparison evaluates performance between equivalent periods in different years. Key calculations:
- YoY Ratio = (Current Period Value / Prior Year Period Value) × 100%
- YoY Growth Rate = ((Current Period Value - Prior Year Period Value) / Prior Year Period Value) × 100%
Practical Applications
Financial analysts use YoY metrics to assess:
- Revenue growth trends
- Profitability changes
- Operational performance
Economic researchers apply YoY analysis for:
- Market demand evaluation
- Macroeconomic policy assessment
- Industry benchmarking
Implementation Approach
The core formula for YoY calculation:
=IF(&Quarter > 1, CurrentSales/CurrentSales[Quarter:-1], 0)
Sample Implementation
Data Structure
[
{"Product":"A","Year":2020,"Quarter":1,"Sales":5890.56},
{"Product":"A","Year":2020,"Quarter":2,"Sales":4566.26},
{"Product":"A","Year":2021,"Quarter":1,"Sales":5820.96},
{"Product":"B","Year":2020,"Quarter":3,"Sales":7561.56},
{"Product":"B","Year":2021,"Quarter":3,"Sales":8891.56}
]
Report Configuration
- Group data by Product, Year, and Quarter
- Set Sales column as aggregated values
- Apply conditional formatting to highlight groupings
Formula Breakdown
=IF(&Quarter > 1, CurrentSales/CurrentSales[Quarter:-1], 0)
&Quarter > 1checks if currrent quarter is Q2 or latterCurrentSales[Quarter:-1]references prior year's same quarter sales- Division calculates the YoY ratio
- Returns 0 for Q1 (no prior quarter comparison)