Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Anthony T

macrumors 65816
Original poster
Jul 10, 2008
1,021
132
I need to make a line graph (with 2 lines) showing the relationship between height and weight for males and females. I need to label it and everything, but it's really not too difficult. How can I do this in Excel 2008?
 
You need to make two tables Like this:

hw1.gif



And then select the areas you want to graph.

Hope this helps
 
Once the data is formatted as shown above, highlight the columns/rows, then select INSERT -> CHART -> LINE.
 
But how do I make the tables? Just in the regular chart/slots thing that is shown as soon as you start the program?
 
Ok, one more question:

How do I label the graph and make a key that shows the difference between the 2 lines? For example, is it possible for there to be 2 different-looking lines on the graph so that one could be for males and the other for females?

Thanks for all of your help, by the way. And yes, I mean everyone who is helping me out here. :)
 
Yes, just enter two sets of values in the sheet, highlight everything, then select a line chart when you create your chart. Check the example below:

A B C D
Males 2 5 7
Females 3 6 8
 
Yes, just enter two sets of values in the sheet, highlight everything, then select a line chart when you create your chart. Check the example below:

A B C D
Males 2 5 7
Females 3 6 8

I understand what you're saying, but I have to have height AND weight for both genders. On the chart, the height was along the x-axis and the weight along the y-axis. You would then find where the heigh and weight meet and plot the point. Is that the same format you just posted above?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.