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

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
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,864
Messages
6,121,986
Members
449,060
Latest member
mtsheetz

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