+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : Average every nth group of rows into new column

  1. #1
    Registered User
    Join Date
    06-22-2011
    Location
    Indiana
    MS-Off Ver
    Excel 2007
    Posts
    1

    Average every nth group of rows into new column

    Hello all:

    I currently have data that is displayed in seconds, yet displaying any graphs with these points that go up to 4 hours is impossible. Therefore, I'm trying to get an average of every 60 points that are in one column and display them in another column (and worksheet) as the average and thus reduces my points / 60.

    Ex.

    Time (s) Data
    1 xx
    2 xx
    3.. xx
    60 yy
    61 yy
    62... yy
    120... zz

    and turn this into

    Time(min) Data
    1 sum(xx)/60
    2 sum (yy)/60
    3 sum (zz)/60

    in another column (and worksheet).

    Any help? I've looked at Average every nth row but that only give the average of row entries 5,10, 15...etc.. I'm looking for the average of each 5 to be displayed consecutively.

    Thanks in advance

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,280

    Re: Average every nth group of rows into new column

    Hi g.narvaez.3 and welcome to the forum,

    I created a table with column A of date and times and B of 5 names and C of some values. I did a pivot table of the data and GROUPED it by minute. See if this is what you want.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say 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