Excel. Switch x and y axes

Anonymous
2017-10-12T10:40:07+00:00

Hello assembled genii !

I have a very short range of 10 measurements I want to display as a line graph.  When I select the data and 'insert line graph' Excel automatically makes my measurements the Y axis so it displays the graph horizontally.  Even if I change the way the measurements are recorded on the page (i.e. written across the page instead of down the page) it still makes the data the Y axis and displays the graph horizontally. 

I want to make the measurements the X axis so it rotates the line ninety degrees and displays vertically.  Can I do this?  I searched help but unless you know the exact phrase to ask, help is unhelpful. 

It seems such a simple thing to want to do, swap x and y data but I just can't see how to do it??

I work on a server so I don't know the exact version of Excel it is, 2010 I guess but the worksheet is created as a Excel 97-2003 .

Thanks in advance

John

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Andreas Killer 144K Reputation points Volunteer Moderator
    2017-10-12T12:59:58+00:00

    Use a Scatter chart instead of a Line chart.

    A Scatter chart has XY data which can be exchanged, a Line chart has Y data and categories data which is shown on the X axis always.

    Andreas.

    5 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2017-10-12T13:46:28+00:00

    Thank you Andreas,

    That did it.  Can't really see why Microsoft didn't include that as a standard function on every chart.  It would be quite useful I would think.

    Thanks again

    John

    0 comments No comments