Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Input Data in Excel to Make a Chart

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To make a chart in Excel, put your data in a simple table with one header row and one value per cell, then select the range and use Insert > Chart. Excel reads the first row as series names and the first column as category labels, so clean layout matters more than any formatting. The steps below work in Excel for Microsoft 365, Excel 2021 and Excel 2019 on Windows and Mac; menu labels can differ slightly by version, device or region.

What You'll Need

  • A desktop or web version of Excel (Excel for Microsoft 365, Excel 2021/2019, or Excel for the web). The mobile app can view charts but is awkward for building them.
  • Your data already typed or pasted into a worksheet, or a source file you can open.
  • A clear idea of what the chart should show: a trend over time, a comparison between categories, or a share of a whole.

Step-by-Step

  1. Open a blank worksheet and click cell A1. Starting in the top-left corner keeps the table easy to select later.
  2. Type a short header for each column. For example, put "Month" in A1 and "Sales" in B1. Keep headers to one row; do not merge cells or leave blank rows inside the header.
  3. Enter your category labels in the first column (A2, A3, and so on). These become the labels along the chart's horizontal axis, so use consistent text such as Jan, Feb, Mar rather than mixed formats.
  4. Enter numbers in the adjacent columns. Type plain values like 1200 or 12.5. Do not add units, currency symbols or text inside the same cell as the number unless you apply a number format; text mixed with numbers stops Excel treating the column as values.
  5. Leave no blank rows or columns inside the table. A single empty row can make Excel plot a gap or split the data into separate series. If you need spacing, add it after the chart is built.
  6. Select the whole table including the header row. Click the first cell (A1), hold Shift, and click the last cell with data, or drag from corner to corner. The selected range should be a solid block.
  7. Go to the Insert tab and choose a chart type in the Charts group: Column for comparing categories, Line for trends over time, Pie for a single series showing parts of a whole. Click the small arrow next to a chart type to see subtypes.
  8. Check the result. The chart appears on the sheet. Confirm the legend names match your headers and the axis labels match your first column. If they are swapped, see Troubleshooting below.
  9. Fix labels with Select Data if needed. Right-click the chart and choose Select Data. In the dialog you can edit the horizontal axis labels and add, edit or remove series. This is the reliable place to correct a chart that picked up the wrong rows or columns.
  10. Add a chart title and axis titles. Click the chart, then use the plus (+) button at its top-right corner (Chart Elements) to tick Chart Title and Axis Titles, and type over the placeholder text.
  11. Move or resize the chart by dragging its border. To place it on its own sheet, right-click the chart and choose Move Chart, then pick New sheet.
  12. Save the workbook with Ctrl+S (Cmd+S on Mac). Charts are stored inside the file, so the chart travels with it.

Common Mistakes

  • Including totals in the selected range. A "Total" row or column gets plotted as another series and flattens the real data. Select only the detail rows.
  • Mixing text and numbers in one column. Entries like "1,200 approx" are read as text and plot as zero. Keep the number in the cell and put notes in a separate column.
  • Merged header cells. Merged cells break the one-header-per-column rule and often produce a chart with generic names like Series1.
  • Blank rows inside the data. Excel may treat everything below the blank as a new series or stop reading at the gap.
  • Choosing a pie chart for multiple series. A pie shows one series only; extra columns are ignored. Use a column or line chart when you have more than one data column.
  • Leaving dates as text. If your date column is left-aligned and does not sort properly, Excel is treating it as text and the time axis will be uneven.

Tips

  • Format your data as a table first (select the range, then Insert > Table). Charts built on a table expand automatically when you add rows.
  • Keep one data series per column. If you need to compare regions, put each region in its own column rather than stacking them in one long list.
  • Use a line chart for time series and a column chart for category comparisons; a scatter chart suits two numeric variables.
  • Apply a number format to the value cells (for example currency or one decimal place) before charting, so the axis picks up the same format.
  • If the chart looks crowded, right-click the axis and open Format Axis to adjust the gap width or label interval rather than deleting data.
  • Copy the chart with Ctrl+C and paste it into Word or PowerPoint as a picture if you need a static version, or paste normally to keep it linked to the workbook.

Troubleshooting

  • The chart is empty or flat. Your selected cells are probably text, not numbers. Click a value cell and check whether it is left-aligned; if so, retype it without spaces or symbols, or use Data > Text to Columns to convert.
  • Series and axis labels are swapped. Right-click the chart, choose Select Data, and use Switch Row/Column. This is the correct fix rather than retyping the table.
  • The legend says Series1, Series2. The header row was not included in the selection. Reselect the range starting at the header cell, or edit the series names in Select Data.
  • Extra categories appear. A blank row or a stray value was included. Delete the row or reselect a tighter range.
  • The chart does not update after editing data. Confirm the edited cells are inside the chart's source range; if you added rows below the original range, extend it via Select Data or convert the range to a table.
  • Dates are spaced unevenly. The date column is text. Re-enter the dates in a recognised date format, then rebuild the chart.
  • Chart options are greyed out. The sheet may be protected or the workbook opened in a limited view. Check Review > Unprotect Sheet, or reopen the file in the desktop app.

Frequently Asked Questions

Can I make a chart from data in two separate sheets?

Yes. Build the chart from one range, then use Select Data to add a series that points to the other sheet. Both sheets must be in the same workbook.

Why does my chart show zeros?

The value cells are stored as text or contain hidden characters. Retype a test value as a plain number and see whether the chart updates; if it does, clean the column.

Do I need to sort my data before charting?

No for column and line charts, because Excel plots rows in the order they appear. Sort first only if you want categories in a specific order, such as largest to smallest.

How many columns can a chart use?

Technically many, but readability drops fast. Two to four series is usually the practical limit before the legend and plot become cluttered.

Can I edit the chart data after inserting it?

Yes. Edit the cells in the worksheet and the chart updates automatically, provided the cells are within the chart's source range.

Does this work in Excel for the web?

Yes. The Insert tab and Select Data options are available in Excel for the web, though some advanced formatting is limited compared with the desktop app.