How Do I Make an X and Y Axis Graph in Excel: Step-by-Step Guide

Bobby Jul 13, 2026

Creating a graph with X and Y axes in Excel is a fundamental task that can help you visualize and comprehend your data more effectively. Let's delve into the step-by-step process of making an X and Y axis graph in Excel. By the end of this guide, you'll be able to create engaging and informative charts effortlessly.

How to Change the X and Y axis in Excel 2007 when Creating Supply and Demand Graphs
How to Change the X and Y axis in Excel 2007 when Creating Supply and Demand Graphs

Before we begin, ensure you have opened your Excel worksheet and have data ready for plotting. The data should be arranged in columns with labels in the first row to identify the content of each column.

Move X-Axis to the Bottom of a Graph in Excel
Move X-Axis to the Bottom of a Graph in Excel

Setting Up Your Data

Having your data well-organized is crucial for creating accurate graphs. In most cases, you'll need two data columns: one for the X-axis (independent variable) and one for the Y-axis (dependent variable). For instance, if you're plotting temperature changes over time, time would be your X-axis, and temperature would be your Y-axis.

the most useful excel chart info sheet
the most useful excel chart info sheet

Let's assume we have two columns of data: 'Month' (X-axis) and 'Sales' (Y-axis). Our data starts from cell A1 and B1, respectively.

Inserting a New Chart

Switch X and Y Axis in Excel
Switch X and Y Axis in Excel

Now that your data is ready, it's time to insert a new chart. Follow these steps to insert a Recommended Chart, which Excel suggests based on the data selected.

Recommended Chart

Excel can suggest an appropriate chart type based on selected data. To see these recommendations, select any cell in your data range, then go to the 'Insert' tab in the Excel ribbon. In the 'Charts' section, click on 'Recommended Charts'. Excel will display a list of suggested chart types. Choose one that suits your needs and click 'OK'.

MS Excel 2007: Create a chart with two Y-axes and one shared X-axis
MS Excel 2007: Create a chart with two Y-axes and one shared X-axis

By default, Excel will use the data range you selected, but you can adjust this manually if needed. After selecting a chart type, you can customize it further in the following steps.

Customizing Your Chart

After inserting the chart, you can modify its layout, style, and data. To access these customization options, click on the chart to display the 'Design' and 'Format' tabs under the 'Chart Tools' section in the Excel ribbon. Here, you can change the chart type, add or remove elements, and apply various formatting options.

Quick tutorial: How to make an Excel chart with two y-axes (2021 Tutorials)
Quick tutorial: How to make an Excel chart with two y-axes (2021 Tutorials)

For example, to change the chart title, select the title placeholder (it might say 'Replace with title' or 'Chart Title'), click the 'Layout' tab under 'Chart Tools', and then click 'Add Chart Element' > 'Chart Title'. Delete the existing text and add your desired title.

Once you've customized your chart, it's ready for presentation or analysis. You can now arrange multiple charts on a single page, compare datasets, or even create interactive dashboards. To create a natural conclusion, consider expanding your Excel skills by exploring other chart types, adding trends, and creating interactive visualizations.

Excel graph
Excel graph
3 Axis Graph Excel Method: Add a Third Y-Axis - EngineerExcel
3 Axis Graph Excel Method: Add a Third Y-Axis - EngineerExcel
How To Create Charts and Graphs in Excel
How To Create Charts and Graphs in Excel
Move X-Axis to the Bottom of a Graph in Excel
Move X-Axis to the Bottom of a Graph in Excel
How to Add a Secondary Axis in Excel - 3 Methods - ExcelDemy
How to Add a Secondary Axis in Excel - 3 Methods - ExcelDemy
Excel: How to create a dual axis chart with overlapping bars and a line
Excel: How to create a dual axis chart with overlapping bars and a line
How to Add a Secondary Axis in Excel Charts (Easy Guide)
How to Add a Secondary Axis in Excel Charts (Easy Guide)
HOW TO CREATE DYNAMIC GRAPH IN EXCEL
HOW TO CREATE DYNAMIC GRAPH IN EXCEL
a chart with numbers and prices for products in each section, including $ 1, 500 to $ 3, 000
a chart with numbers and prices for products in each section, including $ 1, 500 to $ 3, 000