Re: Can I Make This Computation Shorter?
- From: "Steve" <me@xxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 26 Oct 2007 23:14:49 +0100
Rick,
Thanks for the reply, although this doesn't give the same answer as I get
going the long way.
Is this part of the expression (MAX($A$5:$A$6,A7:A20)) correct?
Steve
"Rick Rothstein (MVP - VB)" <rickNOSPAMnews@xxxxxxxxxxxxxxxxx> wrote in
message news:uFjzS2AGIHA.4684@xxxxxxxxxxxxxxxxxxxxxxx
I think this formula will give you the summation directly...
=SUMPRODUCT((A7:A20/(MAX($A$5:$A$6,A7:A20))-1)^2)
Rick
"Steve" <me@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4fmdnXYefud11b_anZ2dnUVZ8vudnZ2d@xxxxxxxxxxxx
I have a column (A) of stock prices. In the next column I copy down the
formula:
=(A7/(MAX($A$5:A7))-1)^2
all the way to
=(A57/(MAX($A$5:A57))-1)^2
I then sum the new column (B) of values before further computations (you
may recognize this as "Drawdown squared" leading to the "Ulcer Index").
My question is: Can I miss out column B and go directly from the list of
stock prices to the summation of the values for drawdown squared? I tried
to make this into some sort of array, without success.
Steve
.
- Follow-Ups:
- Re: Can I Make This Computation Shorter?
- From: Sandy Mann
- Re: Can I Make This Computation Shorter?
- From: T. Valko
- Re: Can I Make This Computation Shorter?
- References:
- Can I Make This Computation Shorter?
- From: Steve
- Re: Can I Make This Computation Shorter?
- From: Rick Rothstein \(MVP - VB\)
- Can I Make This Computation Shorter?
- Prev by Date: Re: Find first positive value in a column
- Next by Date: Re: setting page setup/print area for multiple sheets
- Previous by thread: Re: Can I Make This Computation Shorter?
- Next by thread: Re: Can I Make This Computation Shorter?
- Index(es):
Loading