Graph an Equation in Excel 2007

I am trying to graph an equation in Excel 2007.

There are a couple of examples using named ranges that I have tried from the internet that don't seem to work. They both were "programmed" in Excel 4 so it may be related to the difference between these two versions.

1 simple equation I am trying to graph is y=(4.18T)-(760/t). I would like to be able to change the starting x value and ending x value as well as the number of data points to graph.

(This is easy to do on a graphing calculator so I would think that Excel could do it)

Thanks,

Mike

Re: Graph an Equation in Excel 2007

Re: Graph an Equation in Excel 2007

Thank you for the welcome. I have been a lurker on this board for a while now.

I tried both the Stephen Bullen example and the Jan Karel Pieterse example. I get an error message when I open the workbook and also when I try to change the formula to the one I want to use. ("A formula in this worksheet contains one or more invalid references.")

I also tried to recreate it from scratch using his word document but I get the same error message. I have not found any references that look incorrect according to the instructions.

Have any of you tried to use either of these in Excel 2007?

Thanks for your willingness to help,

Mike

Re: Graph an Equation in Excel 2007

Maybe this link will help? Dave

http://www.vbaexpress.com/forum/showthread.php?t=22977

ps. this is XL03 code

Re: Graph an Equation in Excel 2007

Well so far I have been unsuccessful at getting an equation to graph. Does anyone have any other suggestions or things they have tried that have worked?

Thanks

Re: Graph an Equation in Excel 2007

Has anyone tried the above suggestions and had either of them work?

Thanks

Re: Graph an Equation in Excel 2007

Mike ... I'm really not sure what's up with XL07... it's got some new charting stuff and perhaps your difficulties are version specific. Meanwhile charting equations in XL03 ain't that hard. If you could maybe indicate what, if any, values "t" and "T" mean in your equation... y=(4.18T)-(760/t) then we would have a starting point. Also I will add that when charting an equation the "Y" value always equals some point on the "X" axis and is therefore ALWAYS a function of "X" even though your "X" value is achieved by an equation that excludes "X". Dave

Re: Graph an Equation in Excel 2007

Designed to plot an equation...

PLOT manager

http://www.tushar-mehta.com/excel/so...ger/index.html

You can also adapt to your own function the the three ways I show to plot a normal distribution in

Drawing a Normal curve

http://www.tushar-mehta.com/excel/ch...tion/index.htm

Quote:

Originally Posted by

**Michael Danielson**
I am trying to graph an equation in Excel 2007.

There are a couple of examples using named ranges that I have tried from the internet that don't seem to work. They both were "programmed" in Excel 4 so it may be related to the difference between these two versions.

1 simple equation I am trying to graph is y=(4.18T)-(760/t). I would like to be able to change the starting x value and ending x value as well as the number of data points to graph.

(This is easy to do on a graphing calculator so I would think that Excel could do it)

Thanks,

Mike

Re: Graph an Equation in Excel 2007

Make sure that you don't have any settings that would disable macros. Many times in Excel 2007, a message bar will appear when you open the file that will allow you to enable macros.

Re: Graph an Equation in Excel 2007