Setting Values for x and y axis

mathwiz91

New Member
Joined
Nov 16, 2005
Messages
2
Well, the problem I am having has exhausted all knowledge of mine. Help! I have 2 columns of data, and I wish to make a chart/graph relating the two columns together. The type I want to make is a single-line graph. The problem is, when I go to create the graph the x-axis constantly reverts to a constant 1, 2, 3, 4, 5, 6, with each row of data represented as two lines in the y-axis. I would like to set the 2nd column as the values for the x-axis and the 1st column for the values of the y-axis in a one line graph. Please help as soon as possible! This assignment is due thursday!
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Fat Cat

Active Member
Joined
Nov 5, 2004
Messages
336
Using your mouse, select the 2 columns of data and then create an XY scatter plot.

This will make a graph with the first column set as the x-axis values and the 2nd column as the Y-axis values. Don't worry about the oreder at this stage, just complete making the graph.

Once you have your graph, click on it once to select it and then use the CHART - SOURCE DATA pull down menu. You can now redfine which range is to be the X-Values and which is to be the Y-Values by clicking on the little icons at the right hand end of each range box.
 

mathwiz91

New Member
Joined
Nov 16, 2005
Messages
2
Thank You

Thank you for your help; soon after posting this I found out that the scatter plot was the right choice instead of the line graph. It made me feel like an idiot but oh well. Thanks for taking the time.
 

Jon Peltier

MrExcel MVP
Joined
May 14, 2003
Messages
5,156
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Don't worry about it. That's really a common problem.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,998
Messages
5,834,805
Members
430,322
Latest member
excelnoobnoob

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top