Monthly sales trend
=SPARKLINE(D2:O2, {"charttype","line";"color","#34a853"}) shows a green line beside each rep totals.
SPARKLINE draws a miniature chart inside one cell from a row or column of numbers. Choose line, column, bar, or winloss types and pass an options object for color, axis, and markers. Dashboard tables use sparklines to show trend without full charts.
Use SPARKLINE in scorecards where each row needs a quick trend: weekly sales, test pass rates, or inventory levels beside the current number.
Skip SPARKLINE when stakeholders need labeled axes, legends, or export-quality graphics. Build a normal chart on a dashboard tab instead.
Select a numeric range, usually one row or column of values in chronological order.
Enter =SPARKLINE(B2:M2) for a default line sparkline across twelve months.
Add a second argument with charttype and color options in JSON-like syntax.
Use "winloss" for binary outcomes and "column" for discrete period comparisons.
Keep source cells as numbers, not text dates disguised as numbers, for consistent scaling.
Adjust column width so the sparkline is visible but does not dominate the row.
=SPARKLINE(D2:O2, {"charttype","line";"color","#34a853"}) shows a green line beside each rep totals.
=SPARKLINE(results_row, {"charttype","winloss";"poscolor","green";"negcolor","red"}) marks W and L games.
=SPARKLINE(B2:F2, {"charttype","column";"ymin",0}) compares five weekdays in one cell.
Build this without starting from a blank cell
Use a Better Sheets tool for SPARKLINE, then watch a walkthrough when you want the full pattern.
Watch how SPARKLINE works
Guides that explain SPARKLINE in more depth.
We do spreadsheets. That's what we do. We use Google Sheets for everything. So how on earth are we to get across all of the nuance and power that we hold at our finger tips?
Read post →Master Google Sheets from simple text input to complex operations with our FREE tutorials, templates, and tools! Unleash the full power of spreadsheets now!
Read post →Users can also customize the appearance of their spreadsheets with different fonts, colors, and themes.
Read post →GOOGLEFINANCE connects your sheet to Google market data. Pass a ticker symbol, an attribute like price or volume, and optional date range arguments for historical quotes. Portfolio trackers and FX dashboards use it to avoid manual price copy-paste.
Read guide →FILTER returns only the rows from a range that meet one or more conditions. Conditions are boolean arrays the same height as the data. FILTER spills results automatically, so it replaced many INDEX/SMALL helper-column patterns for live subsets.
Read guide →UNIQUE extracts a deduplicated list from a column or table. Optional arguments control whether duplicates appear by row, by column, or with occurrence counts. It powers dropdown source lists, category tabs, and data cleanup without manual copy-paste.
Read guide →QUERY runs a SQL-like statement against a range of cells and returns a new table of results. You pass a data range, a query string with SELECT, WHERE, ORDER BY, and optional headers. It is the fastest way to filter, sort, group, and pivot sheet data without helper columns.
Read guide →Done reading about SPARKLINE?
Membership unlocks 636+ tutorials, unlimited generators, and every template. Practical lessons. Zero fluff.
Need this once
Jump to a free tool or a single tutorial for this topic.
Learning Sheets for real
Unlock the full library, generators, and templates with membership.