+ Reply to Thread
Results 1 to 5 of 5

Auto fill

Hybrid View

  1. #1
    Registered User
    Join Date
    11-08-2009
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    4

    Question Auto fill

    Hi

    I have a cell A1= AVERAGE(D1:D100) how can i auto fill the A2 to be A2=AVERAGE(D101:D200) and A3=AVERAGE(D201:300)

    Thanks a lot

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Auto fill

    You can use either:

    A1
    =AVERAGE(INDEX(D:D,1+100*(ROWS(A$1:A1)-1)):INDEX(D:D,100*ROWS(A$1:A1)))
    or

    A1
    =AVERAGE(OFFSET($D$1:$D$100,100*(ROWS(A$1:A1)-1),0))
    the latter though shorter in syntax terms is volatile (see link in sig. for more info. if interested)

  3. #3
    Registered User
    Join Date
    11-08-2009
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Auto fill

    Hi
    Thanks a lot for that

    Is there a way to used the auto fill step value in excel 2010?

    Best regards

    Quote Originally Posted by DonkeyOte View Post
    You can use either:

    A1
    =AVERAGE(INDEX(D:D,1+100*(ROWS(A$1:A1)-1)):INDEX(D:D,100*ROWS(A$1:A1)))
    or

    A1
    =AVERAGE(OFFSET($D$1:$D$100,100*(ROWS(A$1:A1)-1),0))
    the latter though shorter in syntax terms is volatile (see link in sig. for more info. if interested)

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Auto fill

    No - Fill Series relates to Constants.

    (please don't quote entire posts in your reply - clutters your thread and board in general)

  5. #5
    Registered User
    Join Date
    11-08-2009
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Auto fill

    Really appreciate your help. Its a great:D

+ 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