Results 1 to 11 of 11

Macro to sort data into totals & %'s

Threaded View

  1. #1
    Registered User
    Join Date
    07-24-2007
    Location
    London, England
    MS-Off Ver
    Office 365 ProPlus
    Posts
    80

    Macro to sort data into totals & %'s

    I need some help with the enclosed file. The Data tab contains information on lorry journeys between locations, together with their departure and arrival times. This data is added to on a daily basis and therefore the total number of rows could increase to any amount. At the end of each week the Macro 'FormatFilterSortAndPasteToSheet' is run, which filters and sorts the data, so that all the movements associated with each 'letter' (column C) are listed together under each of the corresponding lettered tabs. What I now want to do for each 'lettered tab' is the following:

    1/ Delete any entry in the HC column that starts with a '0' (this can be done before the
    above Macro is run, if that helps).
    2/ For each 'HC',the total number of times that 'HC' ran. ie 4E33 = 3.
    3/ Of the total for each 'HC' how many arrived within 0-10 mins of booked arrival (column L)
    ie 4E33 = 3.
    4/ The above two figures as a %. ie 4E33 3 ran, 3 on time = 100%.

    This information can appear in columns to the right of the existing data under the lettered tabs or on separate worksheet(s), whichever is easier. Any help is appreciated. Thanks Kevin.
    Attached Files Attached Files
    Last edited by rushdenx1; 06-06-2010 at 12:07 PM.

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