Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to create a chart from data in cells A1 to B5.
Google Sheets
InsertChart(range=[1]) Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing a range that includes empty cells
Selecting wrong columns
✗ Incorrect
The range A1:B5 correctly selects the data for the chart.
2fill in blank
mediumComplete the formula to calculate the total sales in column B.
Google Sheets
=SUM([1]) Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Summing the wrong column
Including header row in sum
✗ Incorrect
The formula sums the sales values in column B from rows 2 to 6, excluding the header.
3fill in blank
hardFix the error in the formula to calculate average sales in column B.
Google Sheets
=AVERAGE([1]) Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Including header row in average
Selecting wrong column
✗ Incorrect
The correct range B2:B6 excludes the header and includes the sales data.
4fill in blank
hardFill both blanks to create a bar chart with title 'Sales Data'.
Google Sheets
Chart.new().setChartType([1]).setOption('title', [2]).build()
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong chart type
Incorrect title string
✗ Incorrect
The chart type should be 'BAR' and the title set to 'Sales Data'.
5fill in blank
hardFill all three blanks to create a pie chart from range A1:B5 with legend on the right.
Google Sheets
Chart.new().setChartType([1]).addRange([2]).setOption('legend', { position: [3] }).build()
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Wrong chart type
Incorrect data range
Legend position not set correctly
✗ Incorrect
The chart type is 'PIE', data range is 'A1:B5', and legend position is 'right'.