+ Reply to Thread
Results 1 to 4 of 4

Taking average in 7 cells in a column

  1. #1
    Registered User
    Join Date
    05-28-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    12

    Taking average in 7 cells in a column

    Hi, I have a column of data with 7000 data points, I would like to take average for each of the 7 points, for example (1 to 7), then (8 to 14), then (15 to 21)......in this way up to the end.

    Is there any easiest way to do that? I have added an example in the attachment.

    Thanks in advance.

    Best regards
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Taking average in 7 cells in a column

    Put this in E8 and copy down...
    =IF(MOD(ROW(),7)=1,AVERAGE(C2:C8),"")

    Note: If your data does not start in row 2, adjust the =1 part accordingly
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    05-28-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Taking average in 7 cells in a column

    Many thanks Ford, it helps a lot.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Taking average in 7 cells in a column

    Glad it worked for you and thanks for the feedback

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA- Relative Cell Reference taking one value and pasting to all cells in a column
    By mrblue1123 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-20-2013, 09:49 AM
  2. Replies: 14
    Last Post: 06-14-2013, 09:00 PM
  3. [SOLVED] Taking average instead of SUMPRODUCT
    By john_london in forum Excel General
    Replies: 5
    Last Post: 07-30-2012, 01:04 PM
  4. Replies: 1
    Last Post: 07-27-2012, 05:37 PM
  5. Taking Average of rows given criteria
    By undergraduate in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-02-2010, 11:52 PM

Tags for this Thread

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