+ Reply to Thread
Results 1 to 12 of 12

Add column values in groups and shorten list of data

  1. #1
    Registered User
    Join Date
    01-27-2015
    Location
    Iowa
    MS-Off Ver
    Office Professionial Plus 2010
    Posts
    6

    Add column values in groups and shorten list of data

    Hi!

    I have rainfall data that was collected in 5-minute intervals. I would like to display this data in 15-minute intervals. How can I add three cells of 5-minute data and display the sums in a continuous list without gaps?

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Add column values in groups and shorten list of data

    Hi. Assuming htta your data start in A1, try this out...
    =SUM(OFFSET($A$1:$A$3,(ROWS($1:1)-1)*3,))

    Drag down as needed.
    Last edited by Glenn Kennedy; 01-27-2015 at 10:26 AM.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    01-27-2015
    Location
    Iowa
    MS-Off Ver
    Office Professionial Plus 2010
    Posts
    6

    Re: Add column values in groups and shorten list of data

    Thanks for the reply, Glenn. It's very close to what I need. I need to add A1:A3, A4:A6, A7:A9, etc...

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Add column values in groups and shorten list of data

    But that's exactly what it does... What makes you think that it doesn't?
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-27-2015
    Location
    Iowa
    MS-Off Ver
    Office Professionial Plus 2010
    Posts
    6

    Re: Add column values in groups and shorten list of data

    Well, I'm getting a value of 0.1 in cells that sum three zeroes. The 0.1 is a valid value, just not in that sum.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Add column values in groups and shorten list of data

    Please post a sample worksheet. Are you SURE that the zeros are ACTUALLY zero, and not just formatted to show 1 decimal place?

  7. #7
    Registered User
    Join Date
    01-27-2015
    Location
    Iowa
    MS-Off Ver
    Office Professionial Plus 2010
    Posts
    6

    Re: Add column values in groups and shorten list of data

    Here's the Excel. I appreciate your assistance.FM-01_FlowData_Final.xlsx

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Add column values in groups and shorten list of data

    Can you point me to a group of 3 cells that are zeros, but which sum to 0.01?

    Don't forget: in your uploaded file, E1 = sum d1:d3, E2 = Sum D4:D6,etc...

  9. #9
    Registered User
    Join Date
    01-27-2015
    Location
    Iowa
    MS-Off Ver
    Office Professionial Plus 2010
    Posts
    6

    Re: Add column values in groups and shorten list of data

    I was mistaken, I was looking at the formula's actions incorrectly. Thanks for your help, It is most appreciated!

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Add column values in groups and shorten list of data

    Maybe you're getting confused 'cos you have the 15 minute sums adjacent to the remaining data. Take a look at this...
    Attached Files Attached Files

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Add column values in groups and shorten list of data

    Woo Hoo! Got there...

  12. #12
    Registered User
    Join Date
    01-27-2015
    Location
    Iowa
    MS-Off Ver
    Office Professionial Plus 2010
    Posts
    6

    Re: Add column values in groups and shorten list of data

    Nice! Thanks again!

+ 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. [SOLVED] Rank values in one column from groups of numbers in another column
    By fruit&veg in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-30-2014, 03:48 PM
  2. [SOLVED] Rank values in one column from groups of numbers in another column
    By fruit&veg in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-30-2014, 01:04 PM
  3. Dividing a list into equal groups determined by two values
    By orangesoda88 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-10-2014, 03:52 PM
  4. sum column values in groups of 12 cells
    By robarv in forum Excel General
    Replies: 3
    Last Post: 02-16-2013, 10:59 PM
  5. [SOLVED] RE: Counting groups of exact numbers in a huge list (column)
    By pgiessler in forum Excel General
    Replies: 1
    Last Post: 08-16-2006, 12:05 PM

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