+ Reply to Thread
Results 1 to 5 of 5

Repeating a seven row sum

  1. #1
    Registered User
    Join Date
    08-06-2009
    Location
    Liverpool, UK
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    3

    Question Repeating a seven row sum

    Hello!

    I have an issue with Excel for Mac and have had to admit defeat - despite it surely having a really simple solution..!

    I have an Excel document with multiple sheets - two of which are for daily figures and weekly figures. The sheet for daily figures is filled in manually, with each row corresponding to a day. I need the weekly sheet to add up the daily figures automatically (in blocks of 7 days/rows).

    The current formula I'm using looks like this in the first three rows:

    =SUM(Daily!C1:C7)
    =SUM(Daily!C8:C14)
    =SUM(Daily!C15:C21)

    But When I select all of these and try to autofill the +7 trend down the column it goes to:

    =SUM(Daily!C4:C10)

    Instead of:

    =SUM(Daily!C22:C38)

    Can anyone help?

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

    Re: Repeating a seven row sum

    Try:

    =SUM(INDEX(Daily!$C$1:$C$100,1+((ROW(A1)-1)*7)):INDEX(Daily!$C$1:$C$100,7+((ROW(A1)-1)*7)))

    copied down

    where C1:C100 is the entire range to sum from.
    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
    08-06-2009
    Location
    Liverpool, UK
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    3

    Re: Repeating a seven row sum

    Thanks for that - I'll give it a blast and let you know how I get on.

    Much appreciated :-)

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Repeating a seven row sum

    Please make thread solved (go to first post -> edit -> go advanced -> chooose solved from drop down menu)

  5. #5
    Registered User
    Join Date
    08-06-2009
    Location
    Liverpool, UK
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    3

    Re: Repeating a seven row sum

    Thanks for your help on this. Still no joy but we'll get it sorted one way or other.

    All the best.

+ 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