Results 1 to 5 of 5

Array Formula - calculating results on a rolling basis

Threaded View

  1. #1
    Forum Contributor
    Join Date
    02-08-2005
    MS-Off Ver
    Microsoft 365
    Posts
    839

    Array Formula - calculating results on a rolling basis

    Hi,

    I have in A1:A1000 a series of numerical values. In column B, from B3 onwards, there is a formula in each cell that calculates the compounded value of the 3 previous values in column A using the following formula:

    e.g. {=(product(1+A1:A3/100)-1)*100} in B3

    In B4 the formula would be {=(product(1+A2:A4/100)-1)*100} etc

    Finally I calculate the average of the values in column B.

    Instead of using the “helper” column B as described above, is it possible to create a single array formula that calculates from the data in column A each of the compounded values, as in column B, and returns the average of the results?

    Thanks!
    Last edited by andrewc; 06-03-2013 at 08:18 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1