How do I force a linear trend line through the origin (0,0)?

I realise this doesn't seem accurate but it is not possible to have a value higher than zero at the zero point for my data therefore my trend line has to go through the origin. I can't seem to find how to force it through that point so if I can't do it I have to redo everything in excel which I would really like to avoid. Any help would be greatly appreciated!

MacBook Air

Posted on Jan 21, 2015 10:42 AM

Reply
Question marked as Top-ranking reply

Posted on Jan 21, 2015 4:01 PM

You can create the zero-intercept trend line in your table and plot it as a series. In the screenshot below, the blue line with the datapoints is your actual data, the thick blue line is the real trend line, the green line is your zero-intercept trend line. All on a scatter chart.


The slope in cell E2 is calculated as =LINEST(C2:C6,B2:B6,0)

The trend line column is =B2×E$2


User uploaded file

4 replies
Question marked as Top-ranking reply

Jan 21, 2015 4:01 PM in response to sthreader

You can create the zero-intercept trend line in your table and plot it as a series. In the screenshot below, the blue line with the datapoints is your actual data, the thick blue line is the real trend line, the green line is your zero-intercept trend line. All on a scatter chart.


The slope in cell E2 is calculated as =LINEST(C2:C6,B2:B6,0)

The trend line column is =B2×E$2


User uploaded file

Jan 21, 2015 1:01 PM in response to Jerrold Green1

That's why I said it doesn't seem accurate but it is. I am subtracting the values as I am using the graph as a calibration graph to find unknown x values from y values. However this gives me some negative numbers which is not a possible value. I cannot have negative amounts of drug in sample which is why I need the trendline to go through zero but can't figure out how to do it.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do I force a linear trend line through the origin (0,0)?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.