To create a chart from two columns in Excel, highlight the data in both columns, go to the Insert tab, and select the desired chart type (such as a Column or Line chart) from the Charts group. This process transforms raw numerical and categorical data into a visual representation, making it easier to identify trends, comparisons, and outliers that are often hidden in a standard spreadsheet grid.
What You'll Need
- A computer with Microsoft Excel installed (Windows or macOS).
- A dataset organized into two adjacent columns.
- Clear headers for both columns to ensure the chart labels are accurate.
Step-by-Step
- Prepare Your Data: Ensure your data is organized correctly. For a standard chart, the first column (the left-most) should contain your labels or categories (e.g., Months, Product Names, or Dates). The second column (the right-most) should contain the numerical values associated with those labels. Ensure there are no completely empty rows or columns between your two data sets, as this can confuse Excel's auto-selection tool.
- Select the Data Range: Click on the top-left cell of your data (usually the header of the first column). Hold the left mouse button and drag your cursor down to the bottom-right cell of the second column. Alternatively, click the first cell and press Ctrl + Shift + Right Arrow, then Ctrl + Shift + Down Arrow on Windows, or Cmd + Shift + Right/Down on Mac. Your selection should now be a highlighted rectangle covering both columns.
- Navigate to the Insert Tab: Look at the top ribbon menu. Click on the Insert tab. Note that labels and menu positions may differ slightly depending on your version of Excel (e.g., Excel 365 vs. Excel 2019) or your operating system.
- Choose Your Chart Type: In the Charts group, you will see several icons. You can click "Recommended Charts" to let Excel suggest the best visual for your specific data, or you can choose a specific category:
- Column or Bar Chart: Best for comparing different categories (e.g., Sales per Region).
- Line Chart: Best for showing trends over time (e.g., Monthly Revenue).
- Pie Chart: Best for showing parts of a whole (e.g., Market Share percentage).
- Scatter Plot: Best for showing the relationship between two sets of numbers.
- Insert the Chart: Once you click the specific chart subtype (for example, "Clustered Column"), the chart will automatically appear as an object floating over your worksheet.
- Refine the Chart Elements: Click on the chart to reveal the "Chart Design" and "Format" tabs in the ribbon. Use the "Add Chart Element" button on the far left of the Chart Design tab to add or remove axis titles, data labels, or a legend. This ensures your audience knows exactly what the X and Y axes represent.
- Adjust the Data Range (If Necessary): If the chart does not look right, right-click the chart area and select "Select Data..." This opens a dialog box where you can manually change the range for the Horizontal (Category) Axis Labels and the Legend Entries (Series).
Common Mistakes
One of the most frequent errors is selecting empty cells around the data. If you include several blank rows at the bottom of your selection, Excel will render those as empty spaces on your chart's axis, creating a large gap of white space that makes your actual data look squashed. Always select only the cells that contain data or headers.
Another common mistake is attempting to create a chart from non-numeric data in the second column. If your second column contains text or numbers stored as text (indicated by a small green triangle in the corner of the cell), Excel cannot plot these values on a numerical axis. You must convert these to numbers using the "Number" format in the Home tab before inserting the chart.
Users also often forget to include the headers in their selection. While you can create a chart without headers, doing so means Excel will name your data series "Series 1" by default. Including the headers allows Excel to automatically name the legend and axis titles, saving you the manual effort of renaming them later.
Lastly, choosing the wrong chart type can lead to misleading data. For example, using a Pie Chart for data that does not add up to 100% is mathematically incorrect and confusing. Similarly, using a Line Chart for categorical data that has no chronological order (like "Apples, Oranges, Bananas") implies a trend where none exists.
Tips
To make your chart dynamic, convert your two columns into an official Excel Table before creating the chart. Select your data and press Ctrl + T. When you create a chart from a Table, any new rows you add to the bottom of the table will automatically be added to the chart without you having to manually update the data range.
For a cleaner look, remove the gridlines from the background of the chart. Click on a gridline and press the Delete key. This reduces visual clutter and makes the data points stand out more prominently.
If you are presenting this data in a professional report, use the "Chart Styles" gallery in the Chart Design tab. These presets provide coordinated color palettes and font styles that look more polished than the default settings.
To highlight a specific data point, click the data series once to select all points, then click the specific point again to select only that one. You can then right-click and change the fill color of just that one bar or point to draw attention to a record-breaking month or a significant drop in performance.
Troubleshooting
If the X and Y axes are swapped: This usually happens when Excel misinterprets which column is the label and which is the value. To fix this, click the chart, go to the "Chart Design" tab, and click the "Switch Row/Column" button. If that doesn't work, right-click the chart, choose "Select Data," and manually re-assign the Horizontal Axis Labels.
If the chart appears blank: Check your data for hidden rows or filters. If the data is filtered out, it may not appear in the chart. Additionally, ensure that your numerical column is actually formatted as "Number" or "General" and not as "Text." To check this, select the column and look at the Number format dropdown in the Home tab.
If the labels are overlapping or unreadable: This occurs when you have too many categories in your first column. To fix this, right-click the axis labels, select "Format Axis," and under the "Size & Properties" or "Alignment" section, change the text direction to vertical or rotate the angle to 45 degrees.
If the chart is not updating when data changes: Ensure that your data is not being pulled from a linked source that is broken. If you are using a Table, the update should be automatic. If you are using a static range, ensure you haven't accidentally deleted the cells that the chart is referencing.
Frequently Asked Questions
Can I create a chart from two columns that are not next to each other?
Yes. Select the first column, hold down the Ctrl key (Windows) or Cmd key (Mac), and then select the second column. Once both non-adjacent columns are highlighted, proceed to the Insert tab as usual.
How do I change the colors of the bars or lines?
Click on the data series (the bars or the line) to select it. Right-click and choose "Fill" (for bars) or "Outline" (for lines) to select a new color from the palette.
Can I add a third column of data to an existing two-column chart?
Yes. Right-click the chart and choose "Select Data." Click "Add" under the Legend Entries (Series) section, then select the range of cells for your third column of values.
Why is my date column showing up as numbers instead of dates?
This happens if the cells are formatted as "General." Select the axis labels, right-click, choose "Format Axis," and under the "Number" category, change the format to "Date."
How do I move the chart to a separate sheet?
Right-click the chart and select "Move Chart..." Then, select the "New sheet" option and give the sheet a name. This allows the chart to take up the full screen.