0
0
Google Sheetsspreadsheet~10 mins

Column and bar charts in Google Sheets - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

Monthly sales data for four months

CellValue
A1Month
B1Sales
A2Jan
B2100
A3Feb
B3150
A4Mar
B4120
A5Apr
B5180
Formula Trace
SPARKLINE(B2:B5, {"charttype", "column"})
Step 1: B2:B5
Step 2: {"charttype", "column"}
Step 3: SPARKLINE([100, 150, 120, 180], {"charttype": "column"})
Cell Reference Map
    A      B
1 |Month |Sales
2 | Jan  | 100 
3 | Feb  | 150 
4 | Mar  | 120 
5 | Apr  | 180 

Formula references B2:B5 for sales data.
The formula uses the sales data in cells B2 to B5 to create the column chart.
Result
    A      B           C
1 |Month |Sales | Sparkline
2 | Jan  | 100  | ▇▇ ▇▇▇ ▇▇▇ ▇▇▇▇
3 | Feb  | 150  | 
4 | Mar  | 120  | 
5 | Apr  | 180  | 

Column chart bars in cell C2 represent sales heights.
The SPARKLINE formula in cell C2 shows a column chart with bars proportional to sales values.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the range B2:B5 represent in the formula?
AMonths names
BSales data for four months
CChart options
DEmpty cells
Key Result
SPARKLINE(range, {"charttype", "column"}) creates a small column chart from the range values.