+ Reply to Thread
Results 1 to 3 of 3

Running average formula

Hybrid View

CYLax Running average formula 04-18-2007, 11:52 AM
rylo Hi Change the -1 to -2. ... 04-18-2007, 06:14 PM
CYLax Ugh...frustrating when it's... 04-20-2007, 09:36 AM
  1. #1
    Registered User
    Join Date
    02-20-2007
    Location
    Iowa
    Posts
    4

    Running average formula

    I'm trying to use a formula to calculate a 3 month running average of a data set that will expand over time...and I don't want to update the formula every month. I need the formula to calculate the average of the 3 RIGHT most, non-blank columns within the data set.

    My data set uses 24 columns (2 years in total, 1 column for each month) with a numeric value (including zero).

    I've got a formula that I think is close, but it's not getting me there:

    AVERAGE(OFFSET(INDEX(H10:AD10,,COUNT(H10:AD10)),,-1,1,3))

    The last 5 columns contains the values 2106, 1665, 0, 895, 3427...for a which 3 month average would be 1440.67, but the formula is returning 2161.

    I'm stuck...any suggestions?

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Change the -1 to -2.

    HTH

    rylo

  3. #3
    Registered User
    Join Date
    02-20-2007
    Location
    Iowa
    Posts
    4
    Ugh...frustrating when it's that easy. Thanks for your help.

+ Reply to Thread

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