Results 1 to 11 of 11

Macro for Recognising Difference in Dates

Threaded View

stevencarroll19 Macro for Recognising... 11-20-2006, 07:29 AM
stevencarroll19 can anyone help me at all?? ... 11-20-2006, 12:49 PM
stevencarroll19 anyone? or can anyone tell... 11-22-2006, 05:14 AM
Carim Hi Steven ... Had not read... 11-22-2006, 05:19 AM
Carim Since it looked urgent, below... 11-22-2006, 05:42 AM
  1. #1
    Registered User
    Join Date
    10-20-2006
    Posts
    12

    Macro for Recognising Difference in Dates

    Hi

    I have a big report that can contain over 100000 rows, over two sheets in excel.

    Basically, they log the time and date that a website was 'hit'. The report requires a great deal of formatting before any sense can be made of it. The following is the format of the data.

    Date Time
    01-Sep-06 12:46:50
    01-Sep-06 12:46:51
    01-Sep-06 12:46:52
    01-Sep-06 12:46:52
    01-Sep-06 12:46:52
    01-Sep-06 12:46:52
    01-Sep-06 15:01:47
    01-Sep-06 15:01:47
    01-Sep-06 15:01:48
    01-Sep-06 15:01:48
    01-Sep-06 15:02:01
    01-Sep-06 15:02:47
    01-Sep-06 15:02:47
    01-Sep-06 15:02:47

    What i am wanting to do (or hope one of you can help me in doing it ) is create a macro that compares each row as it goes down, deleting any rows where the time difference is <= 00:03:00 from the last row, or inserting an empty row where the difference > 00:03:00.

    So the above data would be formatted to

    01-Sep-06 12:46:50
    01-Sep-06 12:46:52

    01-Sep-06 15:01:47
    01-Sep-06 15:02:47

    In addition, if the time is 23:59:59, I need a blank row inserting. Any help would be very much appreciated.

    Many Thanks

    Steven
    Last edited by stevencarroll19; 11-20-2006 at 07:33 AM.

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