I keep getting: #NAME?

Pezgordo

Board Regular
Joined
Jan 28, 2011
Messages
61
I am trying to copy a coefficient formula from a book into an Excel spreadsheet. The coefficient is: y= a + bx

Below I placed the x column into column A in my Excel spreadsheet and column y into column B in my Excel spreadsheet, rows 1-10

x y
2 7
1 10
0 -3
0 6
-1 5
4 15
3 12
-2 -7
-1 -2
-1 3

In C1 I typed the follwoing formula (per the book):

=linst(b1:b10,a1:a10,true,tru)

It is supposed to return 3.04, but I keep getting #NAME?

Any ideas what I am doing wrong?
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Is it the other typo

=LINEST(B1:B10,A1:A10,TRUE,TRUE)
 
Upvote 0
Thanks guys, you both were right, they both were typos.

=LINEST(B1:B10,A1:A10,TRUE,TRUE)

This is correct.

Thank you again.
 
Upvote 0

Forum statistics

Threads
1,224,608
Messages
6,179,872
Members
452,949
Latest member
Dupuhini

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