View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Steve[_8_] Steve[_8_] is offline
external usenet poster
 
Posts: 19
Default Can I Make This Computation Shorter?

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