In this article:

How to Switch X and Y Axis in Google Sheets (2024 Update)

Switch the X and Y Axis in Google Sheets

Follow the steps below to switch the X and Y axis in Google Sheets for better data representation.

1. Open Chart Document in Google Sheets

Navigate to Google Sheets and open the document containing the chart you need to edit. Ensure that the chart is already created along with its corresponding data set.

how to switch x and y axis in google sheets

2. Click on Chart Needing Axis Modification

In your document, locate and click on the specific chart you want to modify. This action will open the Chart editor sidebar on the right, showing various editing options.

how to switch the x and y axis in google sheets

3. Access 'Setup' Tab in Chart Editor

In the Chart editor sidebar, click on the 'Setup' tab. This section contains a range of options that allow you to customize the basic settings of your chart, including data range and chart type. Choose a chart type from the dropdown menu that supports axis switching, such as Column, Bar, or Line charts. Remember, not all chart types can have their axes switched.

switch x and y axis google sheets

4. Go to 'Customize' Tab for Advanced Settings

Switch to the 'Customize' tab in the Chart editor. Here, you will find more advanced customization options for your chart, including the style, layout, and specific axis settings. Scroll down to locate the 'Horizontal axis' and 'Vertical axis' sections. Here, you can adjust settings such as axis labels, text font, and the range of values displayed.

google sheets switch x and y axis

5. Manually Swap Data Ranges to Switch Axes

Return to the 'Setup' tab and manually adjust the data ranges for the X (horizontal) and Y (vertical) axes to switch them.

switch x and y axis in google sheets

You can also change the chart type to one that naturally swaps the axes, like switching from a Column to a Bar chart.

how to switch x and y axis on google sheets

6. Update Axis Titles and Labels for New Orientation

After swapping the axes, it's important to update the titles and labels of each axis to reflect the new orientation. Under 'Customise,' select 'Chart and axis titles' to edit the title text for the horizontal and vertical axis.

how to switch y and x axis in google sheets

7. Review and Fine-Tune Chart for Clarity

Examine your chart to ensure the axes have been switched correctly. Make any additional adjustments to the chart's layout, colors, or labels to enhance its readability and visual appeal.

how to switch axis in google sheets

We hope that you now have a better understanding of how to switch the X and Y axis in Google Sheets. If you enjoyed this article, you might also like our article on how to zoom out on Google Sheets or our article on how to remove dollar signs in Google Sheets.

Automate everything you track in spreadsheets with Lido
Learn more

Automate manual tasks with Lido

Save hours on repetitive and tedious work. Lido is a new spreadsheet that connects your spreadsheets, forms, PDFs, and email inbox.

Trigger
Action
Select trigger
When a cell value in Google Sheets changes
Check Google Sheets for today's date
When a new row is added to Google Sheets
On new Google Form submission
Send me a daily reminder
On new Typeform submission
When a cell value in database changes
Check database for today's date
When a new row is added in database
When a new HubSpot customer is created
Select action
ADDCALENDAREVENT
Creates a one- or multiple-day calendar event with optional attendees
ADDHUBSPOT
Adds an object to Hubspot
ADDSLACKCHANNEL
Create a Slack channel, and optionally add a topic or members
CALLURL
Makes any HTTP request
CREATEGOOGLEDOC
Replaces [@column_name] values in a Google Doc with the corresponding table row's values
CREATEPDF
Replaces [@column_name] values in a Google Doc with the corresponding table row's values, then export it as a PDF
FETCH
Makes any HTTP request and returns the response
INSERTROWS
Inserts given array below defined values in given worksheet
SENDGMAIL
Sends an email using your Google account
SENDOUTLOOK
Sends an email using your Microsoft Outlook account
SENDSLACK
Sends a Slack message
SENDSMS
Sends an SMS message using your Twilio account
UPDATECELL
Updates cells with given values
UPDATEHUBSPOT
Updates a property of a Hubspot object
Trigger is required
Action is required
Get started