Slope and intercept function

Status
Not open for further replies.

bancanus

New Member
Joined
Apr 26, 2018
Messages
2
I could not get the slope and intercept that I expected:

What I get:
[TABLE="width: 311"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]=INTERCEPT(A2:A113,B2:B113)[/TD]
[TD="align: right"]497.262[/TD]
[/TR]
[TR]
[TD]=SLOPE(A2:A113,B2:B113)[/TD]
[TD="align: right"]-0.01124[/TD]
[/TR]
</tbody>[/TABLE]

What I expect:
intercept ~ 12.55
slope ~ -0.0102

Am I missing something?

[TABLE="width: 160"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]X[/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD="align: right"]16-Jan-2018[/TD]
[TD="align: right"]13.705[/TD]
[/TR]
[TR]
[TD="align: right"]17-Jan-2018[/TD]
[TD="align: right"]12.929[/TD]
[/TR]
[TR]
[TD="align: right"]18-Jan-2018[/TD]
[TD="align: right"]12.281[/TD]
[/TR]
[TR]
[TD="align: right"]19-Jan-2018[/TD]
[TD="align: right"]13.058[/TD]
[/TR]
[TR]
[TD="align: right"]20-Jan-2018[/TD]
[TD="align: right"]12.152[/TD]
[/TR]
[TR]
[TD="align: right"]21-Jan-2018[/TD]
[TD="align: right"]12.152[/TD]
[/TR]
[TR]
[TD="align: right"]22-Jan-2018[/TD]
[TD="align: right"]13.446[/TD]
[/TR]
[TR]
[TD="align: right"]23-Jan-2018[/TD]
[TD="align: right"]13.446[/TD]
[/TR]
[TR]
[TD="align: right"]24-Jan-2018[/TD]
[TD="align: right"]12.087[/TD]
[/TR]
[TR]
[TD="align: right"]25-Jan-2018[/TD]
[TD="align: right"]12.022[/TD]
[/TR]
[TR]
[TD="align: right"]26-Jan-2018[/TD]
[TD="align: right"]12.815[/TD]
[/TR]
[TR]
[TD="align: right"]27-Jan-2018[/TD]
[TD="align: right"]13.317[/TD]
[/TR]
[TR]
[TD="align: right"]28-Jan-2018[/TD]
[TD="align: right"]13.187[/TD]
[/TR]
[TR]
[TD="align: right"]29-Jan-2018[/TD]
[TD="align: right"]12.022[/TD]
[/TR]
[TR]
[TD="align: right"]30-Jan-2018[/TD]
[TD="align: right"]12.411[/TD]
[/TR]
[TR]
[TD="align: right"]31-Jan-2018[/TD]
[TD="align: right"]11.893[/TD]
[/TR]
[TR]
[TD="align: right"]1-Feb-2018[/TD]
[TD="align: right"]11.634[/TD]
[/TR]
[TR]
[TD="align: right"]2-Feb-2018[/TD]
[TD="align: right"]11.893[/TD]
[/TR]
[TR]
[TD="align: right"]2-Feb-2018[/TD]
[TD="align: right"]11.893[/TD]
[/TR]
[TR]
[TD="align: right"]2-Feb-2018[/TD]
[TD="align: right"]13.446[/TD]
[/TR]
[TR]
[TD="align: right"]2-Feb-2018[/TD]
[TD="align: right"]13.187[/TD]
[/TR]
[TR]
[TD="align: right"]2-Feb-2018[/TD]
[TD="align: right"]11.893[/TD]
[/TR]
[TR]
[TD="align: right"]2-Feb-2018[/TD]
[TD="align: right"]11.893[/TD]
[/TR]
[TR]
[TD="align: right"]2-Feb-2018[/TD]
[TD="align: right"]11.763[/TD]
[/TR]
[TR]
[TD="align: right"]3-Feb-2018[/TD]
[TD="align: right"]13.187[/TD]
[/TR]
[TR]
[TD="align: right"]4-Feb-2018[/TD]
[TD="align: right"]12.411[/TD]
[/TR]
[TR]
[TD="align: right"]5-Feb-2018[/TD]
[TD="align: right"]12.281[/TD]
[/TR]
[TR]
[TD="align: right"]6-Feb-2018[/TD]
[TD="align: right"]12.67[/TD]
[/TR]
[TR]
[TD="align: right"]7-Feb-2018[/TD]
[TD="align: right"]11.893[/TD]
[/TR]
[TR]
[TD="align: right"]8-Feb-2018[/TD]
[TD="align: right"]13.187[/TD]
[/TR]
[TR]
[TD="align: right"]9-Feb-2018[/TD]
[TD="align: right"]11.634[/TD]
[/TR]
[TR]
[TD="align: right"]10-Feb-2018[/TD]
[TD="align: right"]11.634[/TD]
[/TR]
[TR]
[TD="align: right"]11-Feb-2018[/TD]
[TD="align: right"]13.317[/TD]
[/TR]
[TR]
[TD="align: right"]12-Feb-2018[/TD]
[TD="align: right"]12.929[/TD]
[/TR]
[TR]
[TD="align: right"]13-Feb-2018[/TD]
[TD="align: right"]12.67[/TD]
[/TR]
[TR]
[TD="align: right"]14-Feb-2018[/TD]
[TD="align: right"]11.634[/TD]
[/TR]
[TR]
[TD="align: right"]15-Feb-2018[/TD]
[TD="align: right"]11.634[/TD]
[/TR]
[TR]
[TD="align: right"]16-Feb-2018[/TD]
[TD="align: right"]12.411[/TD]
[/TR]
[TR]
[TD="align: right"]17-Feb-2018[/TD]
[TD="align: right"]12.022[/TD]
[/TR]
[TR]
[TD="align: right"]18-Feb-2018[/TD]
[TD="align: right"]11.634[/TD]
[/TR]
[TR]
[TD="align: right"]19-Feb-2018[/TD]
[TD="align: right"]11.634[/TD]
[/TR]
[TR]
[TD="align: right"]20-Feb-2018[/TD]
[TD="align: right"]11.634[/TD]
[/TR]
[TR]
[TD="align: right"]21-Feb-2018[/TD]
[TD="align: right"]12.152[/TD]
[/TR]
[TR]
[TD="align: right"]22-Feb-2018[/TD]
[TD="align: right"]11.569[/TD]
[/TR]
[TR]
[TD="align: right"]23-Feb-2018[/TD]
[TD="align: right"]11.375[/TD]
[/TR]
[TR]
[TD="align: right"]24-Feb-2018[/TD]
[TD="align: right"]11.634[/TD]
[/TR]
[TR]
[TD="align: right"]24-Feb-2018[/TD]
[TD="align: right"]11.893[/TD]
[/TR]
[TR]
[TD="align: right"]25-Feb-2018[/TD]
[TD="align: right"]11.634[/TD]
[/TR]
[TR]
[TD="align: right"]25-Feb-2018[/TD]
[TD="align: right"]11.893[/TD]
[/TR]
[TR]
[TD="align: right"]26-Feb-2018[/TD]
[TD="align: right"]11.634[/TD]
[/TR]
[TR]
[TD="align: right"]27-Feb-2018[/TD]
[TD="align: right"]11.44[/TD]
[/TR]
[TR]
[TD="align: right"]28-Feb-2018[/TD]
[TD="align: right"]11.893[/TD]
[/TR]
[TR]
[TD="align: right"]1-Mar-2018[/TD]
[TD="align: right"]11.505[/TD]
[/TR]
[TR]
[TD="align: right"]2-Mar-2018[/TD]
[TD="align: right"]12.022[/TD]
[/TR]
[TR]
[TD="align: right"]3-Mar-2018[/TD]
[TD="align: right"]11.505[/TD]
[/TR]
[TR]
[TD="align: right"]4-Mar-2018[/TD]
[TD="align: right"]11.634[/TD]
[/TR]
[TR]
[TD="align: right"]5-Mar-2018[/TD]
[TD="align: right"]12.281[/TD]
[/TR]
[TR]
[TD="align: right"]6-Mar-2018[/TD]
[TD="align: right"]11.634[/TD]
[/TR]
[TR]
[TD="align: right"]7-Mar-2018[/TD]
[TD="align: right"]11.505[/TD]
[/TR]
[TR]
[TD="align: right"]8-Mar-2018[/TD]
[TD="align: right"]11.375[/TD]
[/TR]
[TR]
[TD="align: right"]9-Mar-2018[/TD]
[TD="align: right"]12.152[/TD]
[/TR]
[TR]
[TD="align: right"]10-Mar-2018[/TD]
[TD="align: right"]12.67[/TD]
[/TR]
[TR]
[TD="align: right"]11-Mar-2018[/TD]
[TD="align: right"]11.375[/TD]
[/TR]
[TR]
[TD="align: right"]12-Mar-2018[/TD]
[TD="align: right"]11.505[/TD]
[/TR]
[TR]
[TD="align: right"]13-Mar-2018[/TD]
[TD="align: right"]11.375[/TD]
[/TR]
[TR]
[TD="align: right"]14-Mar-2018[/TD]
[TD="align: right"]11.116[/TD]
[/TR]
[TR]
[TD="align: right"]15-Mar-2018[/TD]
[TD="align: right"]11.375[/TD]
[/TR]
[TR]
[TD="align: right"]16-Mar-2018[/TD]
[TD="align: right"]12.67[/TD]
[/TR]
[TR]
[TD="align: right"]17-Mar-2018[/TD]
[TD="align: right"]11.116[/TD]
[/TR]
[TR]
[TD="align: right"]18-Mar-2018[/TD]
[TD="align: right"]12.799[/TD]
[/TR]
[TR]
[TD="align: right"]19-Mar-2018[/TD]
[TD="align: right"]11.505[/TD]
[/TR]
[TR]
[TD="align: right"]20-Mar-2018[/TD]
[TD="align: right"]11.505[/TD]
[/TR]
[TR]
[TD="align: right"]21-Mar-2018[/TD]
[TD="align: right"]11.505[/TD]
[/TR]
[TR]
[TD="align: right"]22-Mar-2018[/TD]
[TD="align: right"]12.929[/TD]
[/TR]
[TR]
[TD="align: right"]23-Mar-2018[/TD]
[TD="align: right"]12.67[/TD]
[/TR]
[TR]
[TD="align: right"]24-Mar-2018[/TD]
[TD="align: right"]12.022[/TD]
[/TR]
[TR]
[TD="align: right"]25-Mar-2018[/TD]
[TD="align: right"]11.634[/TD]
[/TR]
[TR]
[TD="align: right"]26-Mar-2018[/TD]
[TD="align: right"]11.763[/TD]
[/TR]
[TR]
[TD="align: right"]27-Mar-2018[/TD]
[TD="align: right"]11.634[/TD]
[/TR]
[TR]
[TD="align: right"]28-Mar-2018[/TD]
[TD="align: right"]12.152[/TD]
[/TR]
[TR]
[TD="align: right"]29-Mar-2018[/TD]
[TD="align: right"]12.67[/TD]
[/TR]
[TR]
[TD="align: right"]30-Mar-2018[/TD]
[TD="align: right"]11.116[/TD]
[/TR]
[TR]
[TD="align: right"]31-Mar-2018[/TD]
[TD="align: right"]12.152[/TD]
[/TR]
[TR]
[TD="align: right"]1-Apr-2018[/TD]
[TD="align: right"]11.262[/TD]
[/TR]
[TR]
[TD="align: right"]2-Apr-2018[/TD]
[TD="align: right"]11.31[/TD]
[/TR]
[TR]
[TD="align: right"]3-Apr-2018[/TD]
[TD="align: right"]11.893[/TD]
[/TR]
[TR]
[TD="align: right"]4-Apr-2018[/TD]
[TD="align: right"]11.375[/TD]
[/TR]
[TR]
[TD="align: right"]5-Apr-2018[/TD]
[TD="align: right"]11.116[/TD]
[/TR]
[TR]
[TD="align: right"]6-Apr-2018[/TD]
[TD="align: right"]11.375[/TD]
[/TR]
[TR]
[TD="align: right"]7-Apr-2018[/TD]
[TD="align: right"]11.634[/TD]
[/TR]
[TR]
[TD="align: right"]8-Apr-2018[/TD]
[TD="align: right"]12.799[/TD]
[/TR]
[TR]
[TD="align: right"]9-Apr-2018[/TD]
[TD="align: right"]11.375[/TD]
[/TR]
[TR]
[TD="align: right"]10-Apr-2018[/TD]
[TD="align: right"]11.246[/TD]
[/TR]
[TR]
[TD="align: right"]10-Apr-2018[/TD]
[TD="align: right"]11.246[/TD]
[/TR]
[TR]
[TD="align: right"]10-Apr-2018[/TD]
[TD="align: right"]12.767[/TD]
[/TR]
[TR]
[TD="align: right"]11-Apr-2018[/TD]
[TD="align: right"]12.799[/TD]
[/TR]
[TR]
[TD="align: right"]11-Apr-2018[/TD]
[TD="align: right"]11.375[/TD]
[/TR]
[TR]
[TD="align: right"]12-Apr-2018[/TD]
[TD="align: right"]11.634[/TD]
[/TR]
[TR]
[TD="align: right"]12-Apr-2018[/TD]
[TD="align: right"]12.67[/TD]
[/TR]
[TR]
[TD="align: right"]13-Apr-2018[/TD]
[TD="align: right"]11.375[/TD]
[/TR]
[TR]
[TD="align: right"]14-Apr-2018[/TD]
[TD="align: right"]11.246[/TD]
[/TR]
[TR]
[TD="align: right"]15-Apr-2018[/TD]
[TD="align: right"]11.116[/TD]
[/TR]
[TR]
[TD="align: right"]16-Apr-2018[/TD]
[TD="align: right"]11.165[/TD]
[/TR]
[TR]
[TD="align: right"]17-Apr-2018[/TD]
[TD="align: right"]11.246[/TD]
[/TR]
[TR]
[TD="align: right"]18-Apr-2018[/TD]
[TD="align: right"]11.634[/TD]
[/TR]
[TR]
[TD="align: right"]19-Apr-2018[/TD]
[TD="align: right"]11.505[/TD]
[/TR]
[TR]
[TD="align: right"]20-Apr-2018[/TD]
[TD="align: right"]12.67[/TD]
[/TR]
[TR]
[TD="align: right"]21-Apr-2018[/TD]
[TD="align: right"]12.411[/TD]
[/TR]
[TR]
[TD="align: right"]22-Apr-2018[/TD]
[TD="align: right"]11.116[/TD]
[/TR]
[TR]
[TD="align: right"]23-Apr-2018[/TD]
[TD="align: right"]11.375[/TD]
[/TR]
[TR]
[TD="align: right"]24-Apr-2018[/TD]
[TD="align: right"]11.116[/TD]
[/TR]
[TR]
[TD="align: right"]25-Apr-2018[/TD]
[TD="align: right"]11.116[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Duplicate https://www.mrexcel.com/forum/excel-questions/1053275-intercept-slope-function.html

Please do not post the same question multiple times. All clarifications, follow-ups, and bumps should be posted back to the original thread.
Per forum rules, posts of a duplicate nature will be locked or deleted (rule 12 here: Forum Rules).

Note that sometimes posts from new users require Moderator approval before you can see them on the public forums. When this happens, you should see a message to that effect when you try to post it.
Please be patient and do not attempt to post the question again.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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