+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Copy formula but increase row by more than 1

  1. #1
    Registered User
    Join Date
    04-17-2010
    Location
    Manchester, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Copy formula but increase row by more than 1

    Hi,

    I have a column with 1000 cells of data and need to average the numbers 4 at at time which manually will take ages. Below is my problem:

    =average(a1:a5) when copied down always changes to average(a2:a6) and average(a3:a7) etc.

    Is there any way to copy it so that the row number increases by 4 each time instead of 1, e.g. =average(a1:a5) when copied would become =average(a6:a10) and average(a11:a15) etc.

    Any help much appreciated,
    Mark
    Last edited by msch1988; 04-17-2010 at 10:59 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Copy formula but increase row by more than 1

    Try

    =AVERAGE(INDEX($A$1:$A$1000,1+((ROW(A1)-1)*4)):INDEX($A$1:$A$1000,4+((ROW(A1)-1)*4)))

    where A1:A1000 is your range.

    Note: A1:A5 is 5 cells.. not 4.. if you want 5, change all 4's in above formula to 5's
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    04-17-2010
    Location
    Manchester, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Copy formula but increase row by more than 1

    Hi thats great and yes sorry I did mean 4, I got the formula bit wrong.

    Thanks!

+ 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