Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
asb3stos
 
Posts: n/a
Default What's wrong with this formula?


Hi everyone, i'm making a formula for Spearsmans Rank Correlation and
I've made a realtively simple formula for a part of it but it's not
working and I can't spot what's wrong with it.

=1-(6*G98)/(ROWS(B83:B102))*(POWER((ROWS(B83:B102),2))-1)

Can anyone help me, i'm dying here! Cheers!
(the references are all correct, maybe it's the brackets?)


--
asb3stos
------------------------------------------------------------------------
asb3stos's Profile: http://www.excelforum.com/member.php...o&userid=35545
View this thread: http://www.excelforum.com/showthread...hreadid=553073

  #2   Report Post  
Posted to microsoft.public.excel.misc
Mallycat
 
Posts: n/a
Default What's wrong with this formula?


What are you trying to do with ROWS()? This will count the number of
rows in a range. Are you meaning to use SUM()? or something else?

Matt


--
Mallycat
------------------------------------------------------------------------
Mallycat's Profile: http://www.excelforum.com/member.php...o&userid=35514
View this thread: http://www.excelforum.com/showthread...hreadid=553073

  #3   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default What's wrong with this formula?

Maybe.........

=1-(6*G98)/(ROWS(B83:B102))*(POWER(ROWS(B83:B102),2))-1

Vaya con Dios,
Chuck, CABGx3


"asb3stos" wrote in
message ...

Hi everyone, i'm making a formula for Spearsmans Rank Correlation and
I've made a realtively simple formula for a part of it but it's not
working and I can't spot what's wrong with it.

=1-(6*G98)/(ROWS(B83:B102))*(POWER((ROWS(B83:B102),2))-1)

Can anyone help me, i'm dying here! Cheers!
(the references are all correct, maybe it's the brackets?)


--
asb3stos
------------------------------------------------------------------------
asb3stos's Profile:

http://www.excelforum.com/member.php...o&userid=35545
View this thread: http://www.excelforum.com/showthread...hreadid=553073



  #4   Report Post  
Posted to microsoft.public.excel.misc
David Biddulph
 
Posts: n/a
Default What's wrong with this formula?

"asb3stos" wrote in
message ...

Hi everyone, i'm making a formula for Spearsmans Rank Correlation and
I've made a realtively simple formula for a part of it but it's not
working and I can't spot what's wrong with it.

=1-(6*G98)/(ROWS(B83:B102))*(POWER((ROWS(B83:B102),2))-1)

Can anyone help me, i'm dying here! Cheers!
(the references are all correct, maybe it's the brackets?)


You want (n^3-n) under the divide, so you need to put brackets around the
whole of that divisor (n*(n^2-1))
=1-(6*G98)/(ROWS(B83:B102)*(POWER(ROWS(B83:B102),2)-1))

In your formula I think you're multiplying by n^2-1 where you intended to
divide.
--
David Biddulph


  #5   Report Post  
Posted to microsoft.public.excel.misc
asb3stos
 
Posts: n/a
Default What's wrong with this formula?


Thanks for your help guys, i've got it working now thanks to you, i'll
post the full formula here in a few minutes.


--
asb3stos
------------------------------------------------------------------------
asb3stos's Profile: http://www.excelforum.com/member.php...o&userid=35545
View this thread: http://www.excelforum.com/showthread...hreadid=553073



  #6   Report Post  
Posted to microsoft.public.excel.misc
asb3stos
 
Posts: n/a
Default What's wrong with this formula?


Check this calcualtor i've made for Spearman's Rank Correlation, it's a
bit shabby sure, but it's a simple as i can get it. This just gives the
correlation between two sets of data.
http://www.filelodge.com/files/room3...Calculator.xls


--
asb3stos
------------------------------------------------------------------------
asb3stos's Profile: http://www.excelforum.com/member.php...o&userid=35545
View this thread: http://www.excelforum.com/showthread...hreadid=553073

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
excel formula calculations are wrong Shamroq Excel Worksheet Functions 4 February 8th 06 11:49 AM
Formula retrieves wrong data Newmoon Excel Discussion (Misc queries) 2 August 11th 05 04:02 PM
Recalculating Formula - Getting the wrong answers skherzog Excel Discussion (Misc queries) 2 June 29th 05 12:31 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Paste is is copying in formula, but display is wrong. Matt Excel Discussion (Misc queries) 2 December 7th 04 08:37 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"