+ Reply to Thread
Results 1 to 4 of 4

Need help consolidating rows

  1. #1
    Registered User
    Join Date
    08-08-2013
    Location
    Nashville, TN
    MS-Off Ver
    Excel 2010
    Posts
    2

    Need help consolidating rows

    Hello, I have a CSV file generated from sources that log data every 15 minutes. Unfortunately the source may be off by one second and puts the data on a new row, so I get something that looks like this:

    Capture1.PNG

    When I would like to ignore the small 1 second time difference to look like this:

    Capture2.PNG

    The file contains a large amount of data so manually editing the file is not an option. Can anyone help me with how to programmatically solve this problem? Thanks.

  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
    52,938

    Re: Need help consolidating rows

    Hi and welcome to the forum

    Please do not upload a picture of your file...rather, upload a sample of your workbook, showing what data you are working with, a few samples of your expected outcome is (manually entered is ok) and how you arrived at that. (exclude sensitive info). Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you
    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
    08-08-2013
    Location
    Nashville, TN
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Need help consolidating rows

    Hi, sorry about that and thanks for the welcome. Here is the sample workbook from the original post.

    Book1.xlsx

    I need the first small set of data to become the second small set of data by ignoring the one second time difference or rounding to the nearest minute.

    Thanks!

  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
    52,938

    Re: Need help consolidating rows

    thanks for the file

    Try this, copied down and across. You will obviously need to adjust the ranges to suite...

    =SUMIFS(B$2:B$5,$A$2:$A$5,">="&$A9,$A$2:$A$5,"<"&$A10)

+ 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. Consolidating Rows
    By brcaston in forum Excel General
    Replies: 5
    Last Post: 06-24-2010, 01:31 PM
  2. Help with consolidating many rows into one
    By lax in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2009, 04:54 PM
  3. Consolidating rows
    By Sir08 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-19-2008, 08:46 AM
  4. Consolidating Rows
    By motofabio in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-05-2007, 07:52 AM
  5. Consolidating Rows
    By Jason in forum Excel General
    Replies: 2
    Last Post: 07-25-2006, 09:40 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