Trending

curator

New Member
Joined
Mar 10, 2002
Messages
29
Is there a way to do a best fit line when I have 10 data points that are all over the place??

if so how

help

thanks

-curator
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Syntax for this function:
LINEST(known_y's,known_x's)
Although there are two extra arguments, in your case you can disregard them. Has to be entered as an array formula. Because the array formula will return two results (slope and intercept), select a range of two cells, type the array formula and press CTRL+SHIFT+ENTER.
Ex. LINEST({1,3,4,4,7},{2,3,4,5,7}) will return m=1.09 and b=-0.79, hence the best fit line:
y = 1.09 x - 0.79
If you have ten points, the y's and x's arrays will contain ten elements each.
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,868
Members
449,053
Latest member
Mesh

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