=STDEV(N(B2:B100/B1:B99))
which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
Excel will automatically enclose the formula in braces (curly brackets), do
not try to do this manually.
When editing the formula, it must again be array-entered.
I am assuming here that you don't copy the formula to B200, that would be
B101/B100

Signature
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
>I have a column of stock prices in column B with associated dates in column
>A.
[quoted text clipped - 13 lines]
>
> Steve
Harlan Grove - 29 Jul 2007 11:13 GMT
"Bob Phillips" <bob.ngs@somewhere.com> wrote...
>=STDEV(N(B2:B100/B1:B99))
...
What does the N(..) call do?
Steve - 29 Jul 2007 13:13 GMT
Bob,
Thanks. Works exactly as requested.
What does N mean?
Steve
> =STDEV(N(B2:B100/B1:B99))
>
[quoted text clipped - 24 lines]
>>
>> Steve
Steve - 29 Jul 2007 13:17 GMT
In fact. this does work without the 'N' call. Like so:
=STDEV(B2:B100/B1:B99)
Steve
> Bob,
>
[quoted text clipped - 32 lines]
>>>
>>> Steve