What's wrong with this formula?

A

asb3stos

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?)
 
M

Mallycat

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
 
C

CLR

Maybe.........

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

Vaya con Dios,
Chuck, CABGx3
 
D

David Biddulph

asb3stos said:
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.
 
A

asb3stos

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top