How to Create an Excel Scatter Chart with Multiple Series and Trendlines
Question details
The user wants to build a scatter chart with multiple independent data series and add separate trendlines to each, all without altering the underlying spreadsheet data layout.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Creating complex data visualizations involving multiple separate datasets plotted on a single scatter graph.
- Observed behavior
- When users try to copy and paste multiple data sources into one chart simultaneously, the software often gets confused, incorrectly switches the X and Y axes, or combines data improperly.
Ensure your data is clearly organized with distinct X and Y value ranges for each series. Taking note of the exact cell ranges for each dataset beforehand will make the manual selection process much smoother.
Manually Define Series and Trendlines via Select Data
Manually defining each series prevents the spreadsheet application from guessing the data layout, effectively avoiding switched axes and incorrect data combinations.
Copying and pasting multiple data sets directly into a chart can confuse the application's auto-formatting algorithms, resulting in swapped axes. Using the Select Data Source dialog box gives you complete control over which values belong to the X-axis and Y-axis for every individual series.
Go to the 'Insert' tab on the ribbon, locate the 'Charts' group, click the 'Scatter' icon, and select a blank XY scatter chart. Do not highlight any data before doing this.
Right-click the blank chart area and choose 'Select Data' from the context menu to open the Select Data Source dialog box.
Click the 'Add' button under Legend Entries (Series). In the Edit Series dialog, type a name for the series, then manually highlight the specific X values and Y values for your first dataset. Click OK.
Repeat the 'Add' process for your second and third data series. Ensure you manually select the correct X and Y ranges for each one without changing your source data structure. Click OK to apply the changes to the chart.
Click on a single data series within the chart to select its data points. Right-click the selected points and choose 'Add Trendline'. Repeat this step for each of the other series to give each its own independent trendline.

Create Scatter Charts with Multiple Series Easily in WPS Spreadsheet
WPS Spreadsheet provides a highly intuitive interface for plotting complex data, allowing you to easily manage multiple series and trendlines without axis confusion. It is fully compatible with Microsoft Excel file formats, meaning you can open, edit, and save your existing charts seamlessly.
- 1. Open Data in WPS: Launch WPS Spreadsheet and open your workbook containing the separate X and Y data sets.
- 2. Insert Scatter Chart: Navigate to the Insert tab, click on 'Scatter', and choose your preferred scatter plot style to insert a blank chart.
- 3. Manage Series Data: Right-click the chart, choose 'Select Data', and use the 'Add' button to input X and Y ranges for each separate series.
- 4. Insert Trendlines: Select a specific data series in the chart, click the 'Chart Elements' shortcut (or right-click), and check 'Trendline' to add it instantly.

Frequently Asked Questions
Why does Excel switch my X and Y axes when creating a scatter chart?
This usually happens when you copy and paste multiple datasets into a chart at once, or if your columns are arranged with Y values before X values. Manually adding the series through the 'Select Data' dialog prevents the software from incorrectly guessing the layout.
Can I format each trendline differently on the same chart?
Yes. Once you have added trendlines to your multiple series, you can right-click any individual trendline, select 'Format Trendline', and change its color, dash type, and equation display without affecting the others.
Do I need to reorganize my source data to add a third series?
No. As long as you use the 'Select Data' window to manually specify the X and Y ranges for the new series, your source data can remain exactly where it is in the workbook.
Why is the 'Add Trendline' option greyed out?
The 'Add Trendline' option may be unavailable if you have selected the entire chart instead of a specific data series, or if the chart type was accidentally changed to a 3D or stacked chart which do not support standard trendlines.




