Premium Google Sheets drill · Syntax drills · Syntax drill
Write a column SPARKLINE
Syntax drill for Google Sheets SPARKLINE. The grid checks the range and chart type and does not draw a chart.
Syntax drill. This function needs Google's network or draws a chart. The grid does not load live data, quotes, or images, and the check grades the formula structure.
Syntax drill. SPARKLINE draws a tiny chart from a range. This grid does not draw it. Check confirms the range and the options.
In D2, chart B2:B7 as a column sparkline. Put the options in an array literal: charttype, then column.
Dataset
Starter sheet. Cells marked formula are where the formula goes.
| Row | A | B | C | D |
|---|---|---|---|---|
| 1 | Week | Orders | ||
| 2 | 1 | 3 | Formula goes in D2. formula | |
| 3 | 2 | 8 | ||
| 4 | 3 | 2 | ||
| 5 | 4 | 9 | ||
| 6 | 5 | 4 | ||
| 7 | 6 | 6 |
Hint
The first argument is B2:B7. The second is {"charttype", "column"}.
Explanation
SPARKLINE uses B2:B7 and a charttype of column. The practice grid grades that formula and leaves the chart itself to Google Sheets.
The interactive sheet and a worked solution are part of Formula Drills Premium. The instructions and starter data on this page are the full problem.