+ Reply to Thread
Results 1 to 6 of 6

Rolling average across columns with criteria

  1. #1
    Registered User
    Join Date
    01-07-2008
    Posts
    7

    Smile Rolling average across columns with criteria

    I am urgently needing assistance have been trying to use previous assistance but does not appear to work for this.

    I have the following data and would like to be able to avearge across the row for each employee. I would like the managers to be able to selet from validation list the average period ie. 3,4,5.

    I have attached a sample of the existing report

    Any assistance is greatly appreciated

    Lee
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    01-07-2008
    Posts
    2

    Round(d13/1.02,0)

    i want to know why this formula has been used in excel

  3. #3
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    If the most recent month with data is in cell z2 (you need to idenfify the most recent month with data, to do the preceding months in the Moving average)

    Then the formula in cell z8 is

    =AVERAGE(OFFSET($A4,0,MATCH($z$2,$j$8:$v$8,0)-$z$4+1,1,$z$4))

    Does that help

    Regards

    Dav

  4. #4
    Registered User
    Join Date
    01-07-2008
    Posts
    7
    Quote Originally Posted by Dav
    If the most recent month with data is in cell z2 (you need to idenfify the most recent month with data, to do the preceding months in the Moving average)

    Then the formula in cell z8 is

    =AVERAGE(OFFSET($A4,0,MATCH($z$2,$j$8:$v$8,0)-$z$4+1,1,$z$4))

    Does that help

    Regards

    Dav

    Hi Dav

    Have tried pasting this and it keep returning n/a# am I missing something

    Thx

    Lee

  5. #5
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    no my transposing from another sheet failed!

    =SUM(OFFSET($I8,0,MATCH($Z$2,$J$6:$V$6,0)-$Z$4+1,1,$Z$4))

    should be what you want as long as the date has been put in z2

    sorry about that

    regards

    Dav

  6. #6
    Registered User
    Join Date
    01-07-2008
    Posts
    7
    Hi Dav

    Thanks a million work like a dream.

    Lee

+ 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