defining the x-axis and the variable in line graphs

OliviaGW

New Member
Joined
Aug 14, 2012
Messages
6
This seems like a really stupid problem but I don't know how to fix it!

I have a table that looks like this:

YearMegawatts
201055
2011106
2012174
2013326
2014618
20151121

<tbody>
</tbody>

I want to make a line graph that just shows the growth in megawatts over time, with the years on the X-axis. Whenever I try and make a line graph however, it shows two lines, one with the MW and one for years. It doesn't seem to have recognised that the year column should be an axis and not a variable.

BUT, when I make a scatter plot, it puts the years in the x-axis and the megawatts as data points inside the graph, just like I want. This is great, but I want line graph!

I'm sure there's a simple answer to this, but I don't know what it is. Can you help me?
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Could you possibly explain in words what to do? I have to download some kind of programme onto my computer to view your link. Thanks!!
 
Upvote 0

Forum statistics

Threads
1,215,136
Messages
6,123,243
Members
449,093
Latest member
Vincent Khandagale

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
Back
Top