To create a multi line chart in Excel, organize your data in a table with a common time or category axis in the first column and separate columns for each data series, then select the range and go to Insert > Line Chart. This allows you to visualize trends and compare multiple sets of data across the same interval on a single graph.
What You'll Need
- Microsoft Excel (Desktop or Web version).
- A dataset organized in a tabular format (columns and rows).
- Consistent intervals for your X-axis (e.g., days, months, or years).
Step-by-Step
- Organize Your Data: Arrange your data so that the labels for the horizontal axis (X-axis) are in the leftmost column. Place the data for each line in its own column to the right. Ensure each column has a header (e.g., "Month", "Product A", "Product B").
- Select the Data Range: Click and drag your mouse to highlight all the cells containing the data, including the headers. For example, if your data is in cells A1 through C13, select that entire range.
- Insert the Chart: Navigate to the Insert tab on the top ribbon. In the Charts group, click the Insert Line or Area Chart icon (which looks like a jagged line).
- Choose the Chart Type: From the dropdown menu, select Line or Line with Markers. The "Line" option provides clean lines, while "Line with Markers" adds dots to each specific data point, making them easier to identify.
- Verify the Axes: Excel usually automatically assigns the leftmost column to the X-axis and the remaining columns as separate lines. If the chart looks incorrect (e.g., the dates are being plotted as a line), click on the chart, go to the Chart Design tab, and click Switch Row/Column.
- Add a Chart Title: Click on the default "Chart Title" text box at the top of the graph and type a descriptive name for your chart.
- Add a Legend: If the legend (the key identifying each line) is missing, click the Chart Elements button (the green plus sign + next to the chart on Windows) and check the Legend box.
- Label the Axes: To make the chart professional, click the Chart Elements button again and check Axis Titles. Click the newly appeared text boxes on the X and Y axes to rename them (e.g., "Time" and "Revenue").
Common Mistakes
- Inconsistent Intervals: Using uneven time gaps (e.g., jumping from January to March, then April) can distort the slope of the lines and lead to misleading trends.
- Too Many Lines: Adding more than 5 or 6 lines to a single chart often creates "spaghetti data," where the lines overlap so much that the chart becomes unreadable.
- Mixing Scales: Plotting a data series with values in the millions alongside a series with values under 100. This causes the smaller line to look like a flat line at the bottom of the chart.
- Empty Cells: Leaving blank cells in your data range can cause gaps or "drops" in your lines, which may be interpreted as zero values.
Tips
- Use Contrasting Colors: If you have many lines, manually change the line colors to high-contrast shades so they are easily distinguishable. Right-click a line and select Format Data Series to change the color.
- Smooth the Lines: For a more aesthetic look, right-click a line, select Format Data Series, go to the Fill & Line (paint bucket) tab, and check the Smoothed line box at the bottom.
- Secondary Axis: If one data series has a vastly different scale than the others, right-click that specific line, select Format Data Series, and choose Secondary Axis. This adds a second Y-axis to the right side of the chart.
- Highlight Key Data: Use a thicker line or a bold color for the most important data series and use muted grays for the "baseline" or comparison series.
Troubleshooting
If your chart does not look the way you expected, try these steps in order:
- Wrong Data Plotted: If Excel is plotting your dates as a line instead of the axis, go to Chart Design > Select Data. Ensure the "Horizontal (Category) Axis Labels" box on the right contains your date/category range and that those columns are not listed in the "Legend Entries (Series)" box on the left.
- Missing Data Points: If lines are broken, check for hidden rows or empty cells. You can change how Excel handles blanks by going to Chart Design > Select Data > Hidden and Empty Cells and choosing "Connect data points with line."
- Chart is Blank: Ensure you have selected the data before clicking Insert. If the data is formatted as "Text" instead of "Number," Excel may not be able to plot it. Highlight your numbers and change the format to Number or Currency in the Home tab.
- Labels are Overlapping: If your X-axis labels are crowded, right-click the axis, select Format Axis, and under Labels, change the Interval between labels or rotate the text direction.
Frequently Asked Questions
Can I add a new line to an existing multi line chart?
Yes. Right-click the chart, choose Select Data, click Add under the Legend Entries section, and select the name and values for the new series.
How do I change the markers on my lines?
Right-click the specific line, select Format Data Series, go to the Fill & Line (paint bucket) tab, click Marker, and then Marker Options to change the shape and size.
Why is my X-axis showing numbers (1, 2, 3) instead of my dates?
This happens when Excel doesn't recognize the first column as labels. Go to Chart Design > Select Data and edit the Horizontal (Category) Axis Labels to select the correct range of cells.
Can I make one line a different style (e.g., dashed)?
Yes. Right-click the line, select Format Data Series, go to the Fill & Line tab, and change the Dash type from a solid line to dots or dashes.
How do I remove a specific line from the chart?
The easiest way is to delete the data column from your spreadsheet. Alternatively, go to Chart Design > Select Data, select the series you want to remove from the list, and click Remove.