Sub topic 17
Fixing Common Chart Problems
This chapter assumes you can select cell ranges, enter simple formulas, and open the Google Sheets chart editor. The fastest way to fix a chart is to compare what you see with the source table, then check the chart editor's Setup tab before changing its appearance.
A systematic troubleshooting process
- Click the chart and open Edit chart.
- In Setup, check the Data range. Make sure it includes the intended labels, headers, and values.
- Check X-axis and Series. The X-axis normally contains categories such as months or product names. Series contain numbers to plot.
- Check Use row 1 as headers and Use column A as labels. Turn these on only when those rows or columns contain names rather than data.
- Use Switch rows / columns if Sheets interpreted your table in the wrong direction.
- Return to the source range. Look for text stored as numbers, blank cells, merged cells, and accidental totals.
The chart follows the selected range. It does not understand the meaning of your data beyond the structure it detects.
Common errors and fixes
| Problem | Likely cause | Fix |
|---|---|---|
| The chart shows extra series | The selected range includes totals or unrelated columns | Narrow the data range or remove the unwanted series |
| Months appear as separate series | Rows and columns are reversed | Select **Switch rows / columns** |
| Column names appear as values | Headers were not detected | Enable **Use row 1 as headers** |
| The horizontal axis shows 1, 2, 3 | Category labels were not included | Set the label column as the **X-axis** |
| A numeric column is missing | Values contain text, apostrophes, or errors | Convert the cells to numbers and fix errors |
| A line has gaps | Cells are blank or contain `#N/A` | Fill missing values deliberately or configure how blanks are shown |
| A chart does not change after filtering | The chart range includes the original table | Chart a filtered or formula-generated output range instead |
Headers, orientation, and numeric values
A clean chart source usually has one header row and one label column. For example, column A might contain months, while columns B and C contain Revenue and Expenses. Avoid merged cells in the source range. They can confuse header detection.
If numbers were imported as text, formatting them as currency may not convert them. Test a cell with a formula such as =ISNUMBER(B2). If it returns FALSE, convert the value before charting. A formula such as =VALUE(B2) can convert text that uses a compatible number format.
Exercise
Exercise
A chart treats the months in column A as a data series and displays 1, 2, and 3 on the horizontal axis. What should you check first?
Show answer
Check the data range and set column A as the X-axis. Then enable "Use row 1 as headers" if the first row contains series names. Use "Switch rows / columns" only if the table orientation is reversed.