Two line graph

Duncs

New Member
Joined
Aug 22, 2011
Messages
10
I have two values, Internal & External. Both of these are scores and I want to plot them on a graph so that Internal is the Y-Axis value, with the line going right. I also want to plot External on the X-Axis, with the line going up. The idea is to find the intersection point of the two lines.

Anyone any ideas?

Duncs
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
This can also be done using an XY Scatter Line Chart.

Set up your data like this:

............colA.......ColB...ColC...ColD
<TABLE style="WIDTH: 48pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=64><COLGROUP><COL style="WIDTH: 48pt" width=64><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; WIDTH: 48pt; HEIGHT: 15pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" height=20 width=64>Row1.....External.....X's.......1.....1</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" height=20>Row2.....External.....Y's.......0.....1.25</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" height=20>Row3.....Internal.....X's........0.....1.25</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" height=20>Row4.....Internal.....Y's........1.....1

</TD></TR></TBODY></TABLE>
Click on a blank cell not adjacent to the data above to create a blank chart. If you highlight the whole range, Excel does not interpret the data correctly for the XY Scatter Line

Insert a XY Scatter Line Chart

Add 2 Series to the chart

1 for external
..........x's =Sheet1!$C$1:$D$1
..........y's =Sheet1!$C$2:$D$2

2 for internal
..........x's =Sheet1!$C$3:$D$3
..........y's =Sheet1!$C$4:$D$4

You now have 2 lines starting at zero and intersecting at Point (1,1) and extending to 1.25.

Steve=True
www.exceldashboardtemplates.com
 
Upvote 0
Steve,

Struggled with where to put the score values in, but got there in the end. Really useful graph. Many thanks for your help.

Duncs
 
Upvote 0
I'm using Excel 2007, and had difficulty in following the instructions on the site. The suggestion by Steve was easier to follow, and gives scope for alteration. Perhaps the details on the link you provided would do the same, but as I say, I found them difficult to follow.

Many thanks for your help though.

Duncs
 
Upvote 0

Forum statistics

Threads
1,224,532
Messages
6,179,388
Members
452,908
Latest member
MTDelphis

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