Google Sheets Line Chart: adjust horizontal axis limits to exclude missing cells

Viewed 172
1 Answers

Use Data > Filter to hide blank rows. They will automatically be left out of the chart.

Alternatively, create a new data table that omits the blanks, like this:

=query(A1:B, "where B is not null", 1)

Then set the chart's data range to the new table.

Related