How to Make an XY Graph in Excel

Cody Schneider8 min read

If you're trying to see how two different sets of numbers relate to each other - like your ad spending and sales numbers - an XY graph is exactly what you need. Also known as a scatter plot, this simple chart is one of the most powerful tools in Excel for uncovering trends and correlations in your data. This guide will walk you through exactly how to prepare your data, create an XY graph, and customize it to tell a clear and compelling story.

What is an XY Graph, Really?

Before we jump into the steps, let’s quickly get on the same page about what an XY graph actually is and why you’d use one. Unlike a bar chart that compares categories or a line chart that shows a trend over time, an XY graph (or scatter plot) is specifically designed to show the relationship between two different numeric variables.

You have a set of data points, and each point gets two values:

  • An X-axis value (the independent variable, or the thing you control/measure)
  • A Y-axis value (the dependent variable, or the thing that might change as a result of X)

By plotting these points, you can visually see if there's a connection. Does Y increase when X increases? Does it decrease? Or is there no connection at all? It’s perfect for answering questions that involve correlation.

When to Use an XY Graph: Common Business Examples

You can use XY graphs to spot relationships in almost any area of your business. Here are a few relatable examples:

  • Marketing: Plotting Ad Spend (X-axis) against Website Conversions (Y-axis) to see if your campaigns are paying off.
  • Sales: Mapping Number of Sales Calls Made (X-axis) versus Deals Closed (Y-axis) to gauge sales team effectiveness.
  • E-commerce: Analyzing Website Traffic (X-axis) and Daily Revenue (Y-axis) to understand the impact of visitor volume on sales.
  • Operations: Comparing Average Customer Support Ticket Time (X-axis) with Customer Satisfaction Score (Y-axis) to see if response speed affects happiness.

In all these cases, you’re not just looking at a single metric in isolation, you’re looking for the story happening between two metrics.

Step 1: Get Your Data Ready for Excel

The most important step happens before you even click the "Insert Chart" button. How you structure your data will determine whether Excel can create the XY graph correctly. It’s simple, but you have to get it right.

You need exactly two columns of numerical data side-by-side. That's it.

  1. Column 1 (X-Axis): This column should contain your independent variable. In our marketing example, this would be your "Daily Ad Spend."
  2. Column 2 (Y-Axis): This column should contain your dependent variable - the metric you suspect might change because of the first one. For us, this will be "Daily Sales."

Make sure to put clear headers at the top of each column. Excel will use these headers to automatically label your chart later, saving you time.

Here’s what our sample data looks like, nice and clean:

Column A: Daily Ad Spend ($)

Column B: Daily Sales (#)

Your X-axis data (Ad Spend) should always be in the left column, and your Y-axis data (Sales) should be in the column immediately to its right. Keeping them in this order helps Excel understand which data goes on which axis by default.

Step 2: Create the XY Scatter Plot Graph in Excel

Once your data is neatly organized into two columns, creating the actual chart takes just a few clicks. Follow these steps, and you’ll have a basic XY graph in less than a minute.

1. Select Your Data

Click and drag your cursor to highlight all the cells containing your data, including the column headers. In our example, you would highlight cells A1 through B8.

2. Go to the Insert Tab

At the top of the Excel ribbon, click on the "Insert" tab. This is where all the chart and visualization tools live.

3. Find the Scatter Chart Option

In the "Charts" section, look for an icon that looks like a plot with dots on it. This is the "Insert Scatter (X, Y) or Bubble Chart" icon. Click on it.

4. Choose the Right Scatter Type

A dropdown menu will appear with several chart options. You’re looking for the very first one under the "Scatter" category. Hovering over it will give you a preview. Click on it to insert the chart into your worksheet.

And just like that, Excel will place a shiny new XY graph right onto your worksheet. It automatically plots your "Daily Ad Spend" along the bottom (X-axis) and your "Daily Sales" along the side (Y-axis), creating a dot for each corresponding pair of values.

Step 3: Customize Your XY Graph for Impact

Excel’s default chart is functional, but it’s not very polished. A plain chart can be confusing or misleading. To make your XY graph useful for a report or presentation, you need to add context and clarity. This is where customizing titles, labels, and even the appearance will help you tell a clearer story.

When you click on your new chart, two extra tabs will appear in the ribbon: "Chart Design" and "Format". Almost everything you need is in the "Chart Design" tab. You can also click the small "plus" (+) sign that appears on the right side of the chart for quick access to chart elements.

Give Your Chart a Descriptive Title

The default title, probably "Daily Sales," is okay, but we can do better. A good title tells viewers exactly what they’re looking at. For example, change it to something more descriptive like "Relationship Between Ad Spend and Daily Sales."

To change it, just click on the chart title text box at the top of the graph and start typing.

Label Your Axes (This is Super Important!)

An XY graph is meaningless without labeled axes. Does the horizontal axis represent dollars, clicks, or hours? Does the vertical axis show sales units, satisfaction ratings, or something else entirely? Without labels, nobody knows. This is the single most common mistake people make.

To add axis titles:

  1. Click on your chart to select it.
  2. Click the plus sign (+) on the right side of the chart.
  3. Check the box next to "Axis Titles".

Placeholder text boxes will appear on your chart for both the horizontal (X) and vertical (Y) axes. Click into each one and label them clearly:

  • X-Axis Title: Daily Ad Spend ($)
  • Y-Axis Title: Number of Daily Sales

Instantly, your chart becomes a hundred times more understandable.

Tweak the Visual Design (Colors and Markers)

You can also quickly change the look and feel of your chart to match your brand or presentation style.

  • Change Colors: With the chart selected, click the "Chart Design" tab and use the “Change Colors” button to apply new color themes.
  • Change Marker Style: You can format the actual dots (or markers) to be larger, a different color, or even a different shape. To do this, right-click on one of the data points in the chart and select "Format Data Series." A panel will open up on the right where you can customize the fill and border of the markers.

Go Further: Adding a Trendline to Your XY Graph

Now for the most powerful feature of a scatter plot: the trendline. A trendline is a straight or curved line that visually shows the direction and strength of the correlation between your two variables. A trendline will help you confirm what you already suspect from your chart. Adding one is easy.

  1. Right-click on any of the dots in your scatter plot.
  2. From the context menu, select "Add Trendline".

Excel will immediately add a dotted straight line that shows the general direction of your data points. In our example, the trendline would show a positive correlation, meaning as Ad Spend increases, Daily Sales tend to increase as well. That's a valuable insight you wouldn't easily quantify without this visualization.

Show the Correlation Strength (R-Squared Value)

To take it one step further, you can have Excel show you how well the trendline fits your data. On the same "Format Trendline" panel that opens when you add a trendline, scroll down to the bottom and check the box for "Display R-squared value on chart". R-squared is a simple statistical measure of how well your data points fit the trendline. The value ranges from 0 to 1, and the closer to 1, the stronger the correlation.

Seeing a high R-squared value, like 0.8 or 0.9, indicates your scatter plot has a strong correlation between variables.

Final Thoughts

Creating an XY graph in Excel is a straightforward way to visualize relationships between sets of numbers. Your graph is only as good as your data organization, so ensure your data is properly structured. This simple chart can be adapted to provide valuable insights, whether you're analyzing sales figures or any other metric.

Once you've mastered creating and customizing XY graphs in Excel, you'll unlock a variety of possibilities for analyzing data in marketing, sales, or operations. And remember, tools like Graphed can automate many of these processes, allowing you to focus on the insights rather than the mechanics.

Related Articles

How to Connect Facebook to Google Data Studio: The Complete Guide for 2026

Connecting Facebook Ads to Google Data Studio (now called Looker Studio) has become essential for digital marketers who want to create comprehensive, visually appealing reports that go beyond the basic analytics provided by Facebook's native Ads Manager. If you're struggling with fragmented reporting across multiple platforms or spending too much time manually exporting data, this guide will show you exactly how to streamline your Facebook advertising analytics.

Appsflyer vs Mixpanel​: Complete 2026 Comparison Guide

The difference between AppsFlyer and Mixpanel isn't just about features—it's about understanding two fundamentally different approaches to data that can make or break your growth strategy. One tracks how users find you, the other reveals what they do once they arrive. Most companies need insights from both worlds, but knowing where to start can save you months of implementation headaches and thousands in wasted budget.