To create a comparison graph in Excel, put your categories in one column and the values you want to compare in adjacent columns, select the whole range including headers, then go to Insert > Charts and pick a Clustered Column or Clustered Bar chart. That gives you a side-by-side comparison in under a minute. For trends over time, use a Line chart instead. The rest of this guide covers the exact steps, how to set up your data so Excel reads it correctly, and what to do when the chart looks wrong.
What You'll Need
- Excel for Windows, Excel for Mac, or Excel for the web (labels differ slightly by version and region).
- Your data in a clean table: one row per category or time period, one column per series you want to compare.
- Column headers in the first row and row labels in the first column, with no blank rows or merged cells inside the range.
Step-by-Step
- Lay out the data. Put your row labels in column A (for example, months or product names) and each series you want to compare in columns B, C, and so on. Put a header in row 1 for each column. For example: A1 = Month, B1 = Budget, C1 = Actual. Rows 2 downward hold the numbers.
- Select the range including headers. Click the top-left cell of your table and drag to the bottom-right, or press Ctrl+A (Cmd+A on Mac) with a cell inside the table selected. Make sure the headers are included so Excel uses them as series names and axis titles.
- Insert the chart. Go to Insert > Charts. For comparing values across categories, choose Clustered Column (vertical bars) or Clustered Bar (horizontal bars). For comparing trends over time, choose Line or Line with Markers. For comparing parts of a whole across a few categories, choose Clustered Column first, then consider a Stacked Column if the totals matter more than the individual values.
- Check that Excel read the data correctly. Look at the legend: it should show your column headers (Budget, Actual). Look at the horizontal axis: it should show your row labels (Jan, Feb, Mar). If Excel treated your row labels as a series, see Troubleshooting below.
- Switch row and column if needed. If the chart is the wrong way round, select the chart, then go to Chart Design > Switch Row/Column. This swaps which dimension is plotted as series and which as categories.
- Add a chart title and axis titles. Select the chart and click the Chart Elements button (the plus sign at the top-right of the chart), then tick Chart Title, Axis Titles, Legend, and Data Labels as needed. Replace the placeholder text with a title that states what is being compared, such as "Budget vs Actual by Month".
- Format the series. Right-click a bar or line and choose Format Data Series to change fill colour, gap width, or add a border. Use two clearly different colours for a two-series comparison; avoid similar shades that are hard to tell apart.
- Adjust the value axis if the comparison is misleading. Right-click the vertical axis and choose Format Axis. For bar charts, set the Minimum to 0 so bar lengths stay proportional to the values. Changing the minimum to a high number exaggerates small differences.
- Add data labels for exact values. With the chart selected, click Chart Elements and tick Data Labels. This puts the number on or near each bar so readers do not have to estimate from the axis.
- Move and size the chart. Drag the chart by its border to reposition it, and drag a corner handle to resize. Hold Alt (Windows) while dragging to snap the chart to cell boundaries for a tidy layout.
Common Mistakes
- Leaving headers out of the selection. Excel then names the series "Series1" and "Series2" and you have to rename them manually.
- Blank rows or merged cells inside the range. Excel may stop reading at the blank row, so part of your data is missing from the chart.
- Text instead of numbers. Numbers stored as text (often left-aligned in the cell) plot as zero. Convert them with Data > Text to Columns or by retyping them.
- Starting the value axis above zero on a bar chart. This makes small differences look huge. Keep the minimum at zero for bar and column charts unless you have a specific reason and label it clearly.
- Using a pie chart to compare many categories. Pie charts are poor at comparison beyond two or three slices; use a bar chart instead.
- Too many series. More than about four series in one chart becomes hard to read. Split into two charts or use a line chart with a clear legend.
Tips
- Convert your range to a table first (select it, then Insert > Table). Charts based on a table expand automatically when you add rows.
- Use a line chart when the x-axis is time and a column chart when it is categories. Mixing these up is the most common reason a comparison chart feels wrong.
- Keep colours consistent across multiple charts in the same report so the same series is always the same colour.
- For a quick visual comparison without a chart, select your two columns and use Home > Conditional Formatting > Data Bars.
- If you need to show a target line, add a column of target values to your data and plot it as an extra series, then format it as a line.
Troubleshooting
- The chart shows the row labels as a series. Select the chart, go to Chart Design > Switch Row/Column. If that does not fix it, right-click the chart and choose Select Data, then edit the series and set the correct range for the series name and values.
- Bars are all the same height or missing. Your numbers are probably stored as text. Select the column, use Data > Text to Columns and click Finish, or change the cell format to Number.
- The chart does not update when you change the data. Check that the chart's source range still covers the cells you edited. Right-click the chart > Select Data to confirm the range.
- Axis labels are crowded or overlapping. Right-click the axis, choose Format Axis, and reduce the label font size or set the label interval. Rotating labels or switching to a horizontal bar chart also helps.
- You cannot find a chart type. Some chart types are only available in certain Excel versions; Excel for the web has a reduced set. Use a Clustered Column or Line chart, which are available everywhere.
- The chart looks fine on screen but prints badly. Set the chart to print on one page: Page Layout > Print Area, or move the chart to its own sheet by right-clicking it and choosing Move Chart.
Frequently Asked Questions
What is the best chart type for comparing two sets of values?
A clustered column or clustered bar chart. It puts the two series side by side for each category, so differences are easy to see.
How do I compare more than two series?
Add each series as an extra column in your data and include it in the selection. Keep it to about four series; beyond that, consider a line chart or separate charts.
Can I compare data from two different sheets in one chart?
Yes. Create the chart from one range, then right-click the chart and choose Select Data > Add to point a new series at the other sheet's range. Both sheets must be in the same workbook.
Why does my chart show dates on the axis instead of my labels?
Excel recognised the column as dates. Right-click the axis, choose Format Axis, and set the axis type to Text axis, or convert the labels to text before charting.
How do I make a comparison chart in Excel for the web?
The steps are the same: select your range, then Insert > Chart and choose Clustered Column. Chart Elements options are more limited than in the desktop app.
Can I add a second value axis for series with very different scales?
Yes. Right-click the series, choose Format Data Series, and select Secondary Axis. Label both axes clearly so readers know which series uses which scale.