So start a new thread instead of appending to one that is more than a
year old.
And keep your subject (title) short. Long ones are truncated by some
newsreaders and news servers.
1. How do you can we calculate the standard deviation of an array
with excel?
Try typing "standard deviation" into Excel Help. IMHO, local content
is preferred over online content.
You should discover two functions: STDEV and STDEVP. (I believe
these have different names in XL2010.) The first is used for random
samples from a larger population. The latter is used when the data is
complete, not samplings.
However, those functions do not deal with "grouped data", which was
the subject of the Jul'2008 thread.
The equation given in the previous post,
=SUMPRODUCT((A1:A3-$A$8)^2,B1:B3)/(SUM(B1:B3)-1),
is a weighted average
And not even that. For a weighted average, remove -1 from the
denominator.
The discrete formulas for STDEV and STDEVP for grouped data are
similar, to wit respectively:
=SQRT(SUMPRODUCT((A1:A3*B1:B3-A8)^2)/(SUM(B1:B3)-1))
=SQRT(SUMPRODUCT((A1:A3*B1:B3-A8)^2)/SUM(B1:B3))
You can write (A1:A3)*(B1:B3) if it makes the formula clearer.
2. What happens when the variance and standard deviation are
less than 1 or exactly equal to 1? Normally the variance is larger
than the standard deviation (variance=StdDev^2). It seems a little
strange.
What's strange about it? Perhaps the only issue your incorrect
assertion that "normally variance is larger than std dev". As you
demonstrated, that is not true for a large range of variances between
0 and 1 inclusive.
PS: For broader participation, you might want to post future
inquiries using the MS Answers Forums at
http://social.answers.microsoft.com/Forums/en-US/category/officeexcel.
It's not that I like that forum. It's just that MS has ceased to
support the Usenet newsgroups. Hence, participation here is limited
to the sites that share a common newsgroup mirror, which is no longer
centralized at MS.