13.2 C
London
Tuesday, July 2, 2024
HomeSoftware TutorialsExcelHow to Create a Scatterplot with Multiple Series in Excel

How to Create a Scatterplot with Multiple Series in Excel

Related stories

Learn About Opening an Automobile Repair Shop in India

Starting a car repair shop is quite a good...

Unlocking the Power: Embracing the Benefits of Tax-Free Investing

  Unlocking the Power: Embracing the Benefits of Tax-Free Investing For...

Income Splitting in Canada for 2023

  Income Splitting in Canada for 2023 The federal government’s expanded...

Can I Deduct Home Office Expenses on my Tax Return 2023?

Can I Deduct Home Office Expenses on my Tax...

Canadian Tax – Personal Tax Deadline 2022

  Canadian Tax – Personal Tax Deadline 2022 Resources and Tools...

Often you may want to create a scatterplot with multiple series in Excel, similar to the plot below:

Scatter plot with multiple series in Excel

Fortunately this is fairly easy to do in Excel with some simple formulas. The following step-by-step example shows exactly how to do so.

Step 1: Enter the Data

First, let’s enter the following (X, Y) values for four different groups: A, B, C, and D.

Step 2: Format the Data

Before we can create a scatterplot to visualize the (X, Y) coordinates for each group, we must first format the data in a specific manner. 

First, we’ll enter the unique values for each group along the top row and then type the following formula into cell E2:

=IF($A2=H$1, $C2, NA())

We’ll then drag this formula to every cell to the right of cell E2. We’ll then drag it to every cell below H2 until we end up with the following result:

Step 3: Create the Scatterplot

Next, highlight every value in column B. Then, hold Ctrl and highlight every cell in the range E1:H17.

Along the top ribbon, click the Insert tab and then click Insert Scatter (X, Y) within the Charts group to produce the following scatterplot:

The (X, Y) coordinates for each group are shown, with each group possessing a unique color.

Feel free to modify the colors, point sizes, and labels to make the plot more aesthetically pleasing:

Additional Resources

The following tutorials explain how to perform other common functions with scatterplots in Excel:

How to Add a Regression Line to a Scatterplot in Excel
How to Add a Horizontal Line to a Scatterplot in Excel

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories