+ Reply to Thread
Results 1 to 4 of 4

Autofill with different average ranges

  1. #1
    Registered User
    Join Date
    09-16-2006
    Posts
    14

    Autofill with different average ranges

    I'm trying to calculate the average of every five rows. I have a formula =Average(A1:A5) in cell B1. When I do an autofill in B2, the formula would read =Average(A2:A6). What I actually want it to be is =Average(A6:A10), increments of 5. I don't know what i'm doing wrong. I have also tried selecting all the B rows and doing autofill and that still doesn't work. Please help! Thanks
    Last edited by kguillen; 04-07-2009 at 07:18 AM.

  2. #2
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474

    Re: Autofill with different average ranges

    Try...

    B1, copied down:

    =AVERAGE(INDEX($A$1:$A$100,ROWS(B$1:B1)*5-5+1):INDEX($A$1:$A$100,ROWS(B$1:B1)*5))

    Adjust the range, accordingly.

  3. #3
    Registered User
    Join Date
    09-16-2006
    Posts
    14

    Re: Autofill with different average ranges

    Thank you so much Domenic! you saved me a lot of work.

  4. #4
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474

    Re: Autofill with different average ranges

    You're very welcome!

+ 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