This page gives you five Gemini prompts for sparklines you can paste into a sheet or a doc and get a clean inline trend in seconds. Each prompt names the data and the shape you want, so you spend no time fixing the format after the fact.
Where most attempts fall flat
- The sparkline gets pasted as a picture and breaks the moment someone edits the numbers underneath it.
- The trend line uses default scaling, so a flat stretch looks as dramatic as a real swing.
- The data range is hard-coded, so adding a new week means rebuilding the whole chart from scratch.
Prompts that fix it
1. Write a sparkline formula
Write a Google Sheets sparkline formula for [cell range] of daily [metric]. Use line type, and set the y-axis min to [min value] and max to [max value] so small changes stay visible. Return the formula only.
What it does: Produces a copy-ready formula with fixed axis bounds.
How to use: replace [cell range], [metric], [min value], and [max value]; keep the rest as is.
2. Set the axis range
Given [column of numbers], write a sparkline that highlights the highest and lowest points using a different color. Return the formula and one line on what the colors mean.
What it does: Marks the peaks and troughs so the trend reads at a glance.
How to use: replace [column of numbers]; keep the rest as is.
3. Compare two series
I have two columns: [metric A range] and [metric B range]. Write a side-by-side sparkline pair and a one-line note on which line ends higher.
What it does: Lets you compare two series without building a full chart.
How to use: replace [metric A range] and [metric B range]; keep the rest as is.
4. Stack sparklines in a table
For the table with values in [table range], add a sparkline column that renders a line per row. Return the formula I can drag down to fill every row.
What it does: Drops one trend per row for fast scanning across items.
How to use: replace [table range]; keep the rest as is.
5. Label the end point
Write a sparkline for [cell range] and append the latest value as text right after it, so the number travels with the trend when copied elsewhere.
What it does: Keeps the final figure attached to the visual when you move it.
How to use: replace [cell range]; keep the rest as is.
Weak ask vs better ask
| Weak ask | Better ask |
|---|---|
| Make a sparkline for my sales. | Write a Google Sheets sparkline formula for [cell range] of daily sales, axis min [min] and max [max], formula only. |
| Show the trend. | For [column of numbers], write a sparkline that colors the high and low points, plus one line on what the colors mean. |
The fix is the same every time: name the range, set the axis, and say what the colors or labels mean. That is what keeps a sparkline honest instead of decorative.
Keep going
- Browse the Excel & Spreadsheets prompt library
- Gemini prompts for Goal Seek
- Claude prompts for board updates
Take what works here and paste it straight into your tool of choice.