A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to key in a formula



 
 
Thread Tools Display Modes
  #1  
Old September 14th, 2009, 06:30 AM posted to microsoft.public.excel.newusers
Syahira
external usenet poster
 
Posts: 12
Default How to key in a formula

I have this formula, b = n (∑ty) – (∑t) (∑y)/
n (∑t2) - (∑t)2

and for each column I already assign with the function. I just don't know
how to key in in one column in order the calculation will come out
automatically. Please help me!. Thanks in advance.

  #2  
Old September 14th, 2009, 07:47 PM posted to microsoft.public.excel.newusers
Bernard Liengme[_2_]
external usenet poster
 
Posts: 1,027
Default How to key in a formula

Let's assume the t-values are in A1:A100, and the y values in B1:B100
The formula you need is
=COUNT(A1:A100)*(SUMPRODUCT(A1:A100,B1:B100)-SUM(A1:A100)*SUM(B1:B100))/(COUNT(A1:A100)*SUMSQ(A1:A100)-SUM(A1:A100)^2))

BUT!!!! I think you are computing the slope of a line so why not use
=SLOPE(B1:B100,A1:A100)

best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Syahira" wrote in message
...
I have this formula, b = n (?ty) - (?t) (?y)/
n (?t2) - (?t)2

and for each column I already assign with the function. I just don't know
how to key in in one column in order the calculation will come out
automatically. Please help me!. Thanks in advance.


  #3  
Old September 14th, 2009, 07:50 PM posted to microsoft.public.excel.newusers
Gary''s Student
external usenet poster
 
Posts: 7,584
Default How to key in a formula

=100*SUMPRODUCT((T1:T100)*(Y1:Y100))-SUM(T1:T100)*SUM(Y1:Y100)/(100*SUMPRODUCT((T1:T100)*(T1:T100)))-SUM(T1:T100)^2

Just make sure the divisor is only the single term you posted.
--
Gary''s Student - gsnu200903


"Syahira" wrote:

I have this formula, b = n (∑ty) – (∑t) (∑y)/
n (∑t2) - (∑t)2

and for each column I already assign with the function. I just don't know
how to key in in one column in order the calculation will come out
automatically. Please help me!. Thanks in advance.

  #4  
Old September 15th, 2009, 05:10 AM posted to microsoft.public.excel.newusers
Syahira
external usenet poster
 
Posts: 12
Default How to key in a formula

Thanks for the help.

"Gary''s Student" wrote:

=100*SUMPRODUCT((T1:T100)*(Y1:Y100))-SUM(T1:T100)*SUM(Y1:Y100)/(100*SUMPRODUCT((T1:T100)*(T1:T100)))-SUM(T1:T100)^2

Just make sure the divisor is only the single term you posted.
--
Gary''s Student - gsnu200903


"Syahira" wrote:

I have this formula, b = n (∑ty) – (∑t) (∑y)/
n (∑t2) - (∑t)2

and for each column I already assign with the function. I just don't know
how to key in in one column in order the calculation will come out
automatically. Please help me!. Thanks in advance.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:23 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.