+ Reply to Thread
Results 1 to 1 of 1

Macro to Convert Time Format and Filter Into Columns By Time

  1. #1
    Registered User
    Join Date
    09-14-2013
    Location
    Columbia, SC
    MS-Off Ver
    Excel 2010
    Posts
    67

    Macro to Convert Time Format and Filter Into Columns By Time

    Hello,

    I'm looking for some assistance in using vba to convert the format of time in a column from standard to military timing.

    Background
    In the attached document 'Activity Detail' the time I'm looking to be converting is in Column P 'Time Submitted'. The current VBA I use is in the attached file 'SOD Reporting'. I copy and paste activity detail into cell A1 of 'SOD I Reporting' then hit unique contacts button to get my results. I received a lot of help with this but now I'm looking to expand it and will need some more assistance.

    Next Steps
    I would like to add the following columns based on the 'Time Submitted' and 'Form Name' columns in the 'Activity Detail document'

    which require analysis of the data.
    Knocks by 1PM
    -Count of 'Form Name' up to 1pm
    Knocks by 3pm
    -Count of 'Form Name' up to 3pm
    Knocks by 5pm
    -Count of 'Form Name' up to 5pm
    Knocks after 5pm
    -Count of 'Form Name' after 5pm
    Knocks by 7pm
    -Count of 'Form Name' after 7pm
    Knocks by after 7pm
    -Count of 'Form Name' after 7pm

    Here is my current code:

    Please Login or Register  to view this content.

    Any assistance would be greatly appreciated.

    Thank You
    Attached Files Attached Files
    Last edited by dizjackson; 04-25-2018 at 10:50 AM.

+ 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. Replies: 7
    Last Post: 06-19-2017, 06:10 PM
  2. [SOLVED] Need to Create Macro to Convert Time Sheet to Calendar Format
    By vbaxcel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-10-2017, 02:58 AM
  3. [SOLVED] Convert Unix Date-time stamp to excel date and/or time columns
    By judikz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-13-2015, 05:46 PM
  4. [SOLVED] How do I convert imported date/time data to date/time format?
    By andykent99 in forum Excel General
    Replies: 4
    Last Post: 01-03-2013, 07:47 AM
  5. [SOLVED] Excel 2007 : how convert time in decimals to time format
    By pksreela in forum Excel General
    Replies: 8
    Last Post: 07-10-2012, 12:17 AM
  6. [SOLVED] convert time imported as text to time format for calculations
    By batfish in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-27-2005, 07:05 PM
  7. Replies: 0
    Last Post: 08-23-2005, 12:22 PM

Tags for this Thread

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