How to Graph in Excel: Step-by-Step Guide for Charts
In this article
Graphing in Excel creates visual representations of your data to reveal trends, patterns, and outliers quickly. You need Microsoft Excel installed (desktop version for full charting options), and your data should be organized in columns or rows with clear headers. Mobile or web versions offer basic charting but lack advanced customization.
What You'll Need
- Microsoft Excel (desktop version: Excel 2016, 2019, 2021, or Microsoft 365)
- A Windows PC or Mac (charting works similarly on both)
- Data organized in a contiguous table with one row of headers and no blank rows/columns within the dataset
- Approximately 2–5 minutes of time
Step-by-Step
- Prepare your data: Enter your data in adjacent columns or rows. For example, put labels (like "Month") in column A, values (like "Sales") in column B, and optional second series (like "Expenses") in column C. Ensure the first row contains descriptive headers and there are no empty cells mixed in the data range.
- Select the data range: Click and drag to highlight all data including headers (e.g., A1:C13). If your data is non-contiguous, hold Ctrl while selecting multiple ranges, but avoid this for beginners—it often causes chart errors.
- Insert a chart: Go to the Insert tab on the Excel ribbon. In the Charts group, click the type you want: Column, Line, Pie, Bar, Area, Scatter, etc. For most beginners, click "Recommended Charts" to let Excel suggest the best fit, or choose a simple Clustered Column chart directly.
- Choose a chart subtype: If using Recommended Charts, preview options in the dialog box and select one that clearly shows your data relationship. Click OK. If inserting directly, Excel builds the chart immediately on a new sheet or embedded in your current sheet (default).
- Adjust the chart location: If the chart is embedded (on the same sheet), click and drag it to a clean spot. To move it to its own sheet, right-click the chart > Move Chart > New Sheet, and give the sheet a name like "SalesChart".
- Customize chart elements: Click the chart to reveal the Chart Design and Format tabs. Use the + button (Chart Elements) to toggle on/off items like Title, Axis Titles, Data Labels, Legend, and Gridlines. For the main chart title, click the placeholder text "Chart Title" and type a clear description (e.g., "Q1 Sales vs. Expenses").
- Format axes and series: Right-click a value axis (vertical) > Format Axis to adjust scale, number format (e.g., Currency or Percentage), and axis bounds. Right-click a data series (e.g., a column group) > Format Data Series to change fill color, gap width, or add data labels (select "Value" or "Category Name").
- Verify accuracy: Compare the chart’s values to your original table. Hover over a bar or point to see its exact value in a tooltip. If numbers mismatch, recheck your data range selection—commonly, users include/exclude headers or blank rows by mistake.
Common Mistakes
- Skipping headers: Charts without headers often label series as "Series1", "Series2", making them confusing.
- Including non-numeric data: Adding text rows within the data range (e.g., totals, notes) can break the chart or create gaps.
- Wrong chart type: Using a Pie chart for more than 3–4 categories obscures comparisons; use Column or Bar instead.
- Over-formatting: Changing every color, font, or 3D effect can make charts hard to read. Stick to clean, high-contrast colors and standard fonts like Calibri or Arial.
- Ignoring axis scaling: If the Y-axis starts far above zero (e.g., 90 instead of 0), small changes appear exaggerated. Always check axis minimums.
Tips
- Use keyboard shortcuts: Press Alt, then N, then C, then V to insert a Clustered Column chart quickly.
- Update data dynamically: If your source data changes, the chart updates automatically—no need to recreate it. Just edit the cells.
- Save as template: After designing a chart you reuse often, right-click > Save as Template. Then apply it via Insert > Charts > My Templates.
- Use Sparklines for small trends: On the same row as data, insert Mini Charts (Home tab > Sparklines) to show monthly changes inline without full chart space.
- Export cleanly: Right-click the chart > Save as Picture to export as PNG or JPG for reports or presentations.
- Check for hidden data: If a series is missing, go to Chart Design > Select Data, then review the Legend Entries (Series) list to ensure all ranges are included.
Troubleshooting
If your chart isn’t updating, first verify that the source data cell references are correct. Open Chart Design > Select Data and check the Series values (e.g., =Sheet1!$B$2:$B$13). If they show errors like #REF!, reselect the correct range.
If the chart appears blank: Ensure your data contains numbers (not text-formatted numbers). Select the column, go to Home > Number group, and set Format to Number or General. Also, check for hidden rows/columns—right-click the sheet tab > Unhide if needed.
For missing axis labels: In the Format Axis pane (right-click axis > Format Axis), scroll to Axis Options and confirm the Axis Type matches your data (e.g., Text axis for month names, not Date axis).
If Excel crashes during chart creation: Close other programs to free memory, then restart Excel. Try inserting a simpler chart first (e.g., Line), then rebuild complexity. Avoid very large ranges (over 100,000 cells)—Excel may struggle.
When data labels overlap: Reduce font size via Format Data Labels > Font > Size. Or uncheck some labels and add only key ones using the + button.
Frequently Asked Questions
Can I graph data from multiple sheets?
Yes, but it’s indirect. Copy the data into one contiguous range on a single sheet first, or use formulas to pull values into one sheet before charting. Direct multi-sheet chart selection is not supported in Excel’s interface.
How do I add a trendline to show a pattern?
Right-click a data series > Add Trendline. Choose Linear for straight-line trends, Exponential for accelerating growth, or Moving Average for smoothing noise. Check "Display R-squared value" to see how well the line fits.
Why is my line chart showing jagged lines instead of smooth curves?
Excel default line charts use straight segments. For a smooth curve, right-click the line > Format Data Series > Line > Smoothed Line. Note: This is purely visual—it doesn’t change the underlying data or trendline calculations.
Can I create a combo chart (e.g., column + line) in one chart?
Yes. After inserting your base chart, right-click a series > Change Series Chart Type. Select Combo, then choose Column for one series and Line for another. Assign the second series to the secondary axis if values differ greatly (check "Secondary Axis").
What’s the best chart for comparing percentages across categories?
A 100% Stacked Column chart (Insert > Column > 100% Stacked Column) shows each category’s total as 100%, with segments representing proportions. Avoid Pie charts for more than 3 categories—they’re harder to interpret accurately.
How do I fix a chart that shows #NUM! or #DIV/0! errors?
These errors originate in your data source. Find and correct the underlying issue (e.g., divide by zero in a formula, invalid date). Excel charts inherit errors from cells—if a cell shows #NUM!, the chart won’t plot it cleanly. Use IFERROR in formulas to return blank cells instead: =IFERROR(A1/B1, "").