📈 Statistical
SPARKLINE Formula for Statistical
Create inline mini chart (Google Sheets). Copy-paste ready for Excel, Google Sheets, and Airtable.
=SPARKLINE(A1:L1,{"charttype","line"})When you need this: When you have 12 monthly sales values (A1:L1) and want to show a tiny trend chart inside one cell for quick visualization.
How it works
- 1SPARKLINE creates a mini chart inside a single cell.
- 2Specify the data range (A1:L1 = 12 months of sales).
- 3Choose chart type ("line", "bar", "column", etc.).
- 4Perfect for dashboards with minimal space.
Variations
SPARKLINE with bar chart
=SPARKLINE(A1:L1,{"charttype","bar"})SPARKLINE with color options
=SPARKLINE(A1:L1,{"charttype","line";"color1","green";"max",100})Related Formulas
AVERAGE — Calculate the average of a rangeStatisticalCOUNTIF — Count cells that meet a conditionStatisticalCOUNTIFS — Count cells meeting multiple conditionsStatisticalMAX / MIN — Find the largest or smallest value in a rangeStatistical
Need a formula that's not here?
Generate custom formula →