+ Reply to Thread
Results 1 to 6 of 6

Consolidating Rows

  1. #1
    Registered User
    Join Date
    03-26-2009
    Location
    Austin,TX
    MS-Off Ver
    Excel 2007
    Posts
    4

    Consolidating Rows

    I am sure this is an easy one, but I am at my wit's end trying to make work. Attached is some sample data, and what I am trying to do is consolidate information from 15 minute periods to 30 minute periods with a formula that can be used of the span of 24 hours. For example:

    06/17/10 0600 2
    06/17/10 0615 9
    06/17/10 0630 16
    06/17/10 0645 20


    Consolidate the data so that it will read:

    06/17/10 0600 11
    06/17/10 0600 36

    Any help is appreciated.

    Thanks
    Attached Files Attached Files

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

    Re: Consolidating Rows

    Something like this:
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    03-26-2009
    Location
    Austin,TX
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Consolidating Rows

    Yes, but is there a way to place it into another spreadsheet wihout using a pivot table? If not this get s me on the right track.

    Thanks

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Consolidating Rows

    Rename the sheet Sheet1 (so I don't have to do so much typing)

    Insert a new sheet, Sheet2.

    In Sheet2

    B1: =Sheet1!B3
    C1: =Sheet1!C3
    D1: =SUM(Sheet1!D3:D4) and copy across

    Copy the formatting from row 3 on Sheet1 to row 1 on Sheet2

    On Sheet2, select rows 1 AND 2, and drag down the fill handle as far as necessary, which copies formulas to alternate rows.

    Sort Sheet2 by Col A then col B.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Registered User
    Join Date
    03-26-2009
    Location
    Austin,TX
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Consolidating Rows

    Thanks for the help. No longer frustrated.

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

    Re: Consolidating Rows

    Look here:

    You can get rid of #N/A by IFERROR function
    Attached Files Attached Files

+ 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