How to Make a Chart From Excel Data
In this article
Making a chart in Excel takes about a minute: select your data, go to the Insert tab, and click a chart type in the Charts group. Excel plots it instantly, and you can then adjust the title, labels and colors. The only real requirement is that your data is laid out cleanly in columns or rows, because the chart reads whatever cells you select. Everything below is based on Excel for Windows and Mac; Microsoft 365, Excel 2019 and 2021 all share the same ribbon layout. Menu labels can differ slightly by version or region, and the mobile apps use a simplified version of the same tools.
What You'll Need
- A spreadsheet with your data in it, or a workbook where you're about to type it
- Data arranged in a simple table: one header row, one row or column per category, and numbers in the cells
- Excel for Windows, Mac, the web, or the iOS/Android app (the phone apps can insert basic charts, but editing is easier on a computer)
- A clear idea of what you want to show: a trend over time, a comparison between items, or a share of a total
Step-by-Step
- Lay out the data first. Put labels in one column and numbers in the columns to the right. For example, put month names in column A ("Jan", "Feb", "Mar" and so on) and revenue figures in column B. Only one header row across the top, and no blank rows or merged cells inside the range. A tidy block of cells is the single biggest factor in whether a chart looks right the first time.
- Select the range you want to plot. Click the first cell and drag to the last, or click a cell inside the block and press Ctrl+A (Windows) or Command+A (Mac) to grab the whole contiguous area. Include the header row, because Excel uses it to name the series and fill in the legend. If you want the chart to update automatically as you add rows, select the full range including several blank rows below your data.
- Go to the Insert tab. In the Charts group you'll see icons for Recommended Charts, Column, Line, Pie, Bar and more. Clicking any of the small icons inserts that chart type straight away.
- Pick the chart that matches your question. Use a column or bar chart to compare values between categories, a line chart for change over time (months, years, quarters in order along the horizontal axis), a pie or doughnut chart for parts of a single total with no more than about five slices, and a scatter (XY) chart to show a relationship between two numeric variables. If you'd rather be guided, click Recommended Charts and Excel shows a preview of options that suit your selection.
- Check the axes and series. Excel usually guesses correctly whether your categories are the first column or the first row, but if the chart looks wrong, open Chart Design > Switch Row/Column to flip it. If a series is missing, click the chart and look at the colored outline Excel draws around the source cells, then drag the corner handle to include the missing column.
- Add or edit the chart title. Click the title text on the chart and type a specific description such as "Monthly revenue, first half of the year" rather than leaving "Chart Title" or a generic column heading. Press Esc when done.
- Label the axes and clean up the legend. Click the + button at the top-right of the chart (or use Chart Design > Add Chart Element) to switch on Axis Titles, Data Labels and the Legend. An axis title such as "Revenue (USD)" prevents readers guessing what the numbers mean. Turn the legend off when there's only one series, since the title already tells you what it is.
- Format the scale if the numbers look off. Right-click the vertical axis and choose Format Axis. Set the minimum bound to 0 for bar and column charts, since a truncated axis exaggerates differences. For large values, change the display to show thousands or millions so the labels don't crowd.
- Adjust the style. On the Chart Design tab you'll find Chart Styles and Change Colors. Pick a palette with enough contrast between series, and keep to a single accent color for a single-series chart. Avoid 3D variants, which distort the values readers are trying to compare.
- Position the chart. Drag the chart border to move it onto empty space on the sheet or beside your table. To keep it visible while you scroll through a long sheet, right-click the chart and choose Move Chart, then send it to its own worksheet.
- Save and check it prints or pastes correctly. Press Ctrl+S. If you'll present it, click the chart once and use Copy, then paste into Word or PowerPoint so it stays editable, or paste as a picture if the layout must not shift.
Common Mistakes
- Including totals in the plotted range. A "Total" row gets treated as another data point and flattens the real bars. Select only the detail rows.
- Blank cells and stray text scattered inside the range. Excel may treat text as zero or break the series. Remove gaps or leave them genuinely empty rather than typing "n/a".
- Choosing a pie chart for many categories. Past about five slices, the shapes are too similar to compare. Use a sorted bar chart instead.
- Using a line chart for categories that aren't in order. Lines imply continuity between points, so product names or regions are better as columns or bars.
- Leaving the default title and legend. Readers can't tell what the numbers represent, which defeats the point of charting.
- Starting the vertical axis above zero on a column chart. Small differences then look dramatic and misleading.
Tips
- Format your source range as a table (Insert > Table) before charting: new rows added to the table extend the chart's data range automatically.
- Keep raw data on one sheet and charts on another so edits don't shift shapes around.
- Sort your source data before plotting if you want a chart ordered by value rather than by original row order.
- Right-click a single bar or slice and choose Format Data Point to highlight one item in a different color without changing the rest of the series.
- Round long decimals in the source cells rather than relying on axis formatting, so pasted values stay consistent.
- Use consistent units throughout a series; mixing currency values with percentages in one axis produces nonsense.
Troubleshooting
The chart is empty or shows a single flat line. Check the outlined source range around the chart. If it's the wrong block, drag the handles to the correct cells or right-click the chart and choose Select Data to edit the range directly.
My categories are numbered 1, 2, 3 instead of showing names. Excel treated the label column as a data series. Open Select Data and set the correct range under Horizontal (Category) Axis Labels, or use Switch Row/Column.
The bars are all the same height. The cells probably contain text that looks like numbers, for example numbers formatted as text, or values with hidden spaces. Select the column, press Ctrl+1, set the number format to General, and re-enter any stubborn cells.
The chart is blank on another computer or after a copy. The source data may have been moved or the paste was a linked chart pointing to a missing file. Paste as a picture, or copy the data and chart together.
The chart won't update when I add rows. If you didn't convert the data to a table, add the new rows manually through Select Data, or convert the range to a table so it expands automatically.
Text labels are cramped and overlapping. Rotate the horizontal axis labels in Format Axis, reduce the number of categories, or widen the chart by dragging its side handle.
Frequently Asked Questions
Do I need to select the headers when making a chart?
Yes, including the header row lets Excel name each series and build the legend automatically. Without it, you'll get generic "Series 1" labels you have to rename by hand.
How do I edit a chart after I've made it?
Click the chart once and the Chart Design and Format tabs appear on the ribbon. From there you can change type, colors, data source and layout. Double-click any element for more detailed options.
Can I make a chart from two separate data ranges?
Yes. Select the first range, then hold Ctrl (Windows) or Command (Mac) and drag over the second range, then insert the chart. Alternatively, add it through Select Data > Add.
Why does my pie chart show one giant slice?
Likely because a total row is included in the range, so the total dwarfs the individual values. Remove the total from the source range and rebuild the chart.
Will the chart update if I change a number in the source cell?
Yes. A chart is linked to its source cells, so editing a value redraws it immediately. If it doesn't, the chart may be an inserted picture rather than a linked Excel chart.
Can I make a chart in the Excel mobile app?
The iOS and Android apps can insert common chart types from selected data, but detailed formatting is limited compared with the desktop version. For precise axis control and data labels, use Excel on a computer or in a browser.