+ Reply to Thread
Results 1 to 9 of 9

How to VBA for a Table missing Time increments

  1. #1
    Registered User
    Join Date
    12-12-2018
    Location
    RI
    MS-Off Ver
    2016
    Posts
    5

    Exclamation How to VBA for a Table missing Time increments

    I have call data in a table format. I input this data into the table on a daily basis. The data is formatted for every 30 minutes for 24 hours (12:00, 12:30, 1:00, etc). Many days are missing various times (12:00,1:00,1:30 (missing 12:30)). I want to write a VBA to go through my entire table (27k rows) to add a time slot on each day for every missing 30 min time slot. At each time slot I add, I want to add 0's across the row (data is missing because no calls happened during that time frame).

    Thank you to any who assists!
    Last edited by Ccc5sports; 12-13-2018 at 09:42 AM.

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Do I need a VBA or can there be another way?

    Please attach an Excel file for example
    - Battle without fear gives no glory - Just try

  3. #3
    Registered User
    Join Date
    12-12-2018
    Location
    RI
    MS-Off Ver
    2016
    Posts
    5

    Re: Do I need a VBA or can there be another way?

    Here is an example.

    Thank you for helping!
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    12-12-2018
    Location
    RI
    MS-Off Ver
    2016
    Posts
    5

    Re: Do I need a VBA or can there be another way?

    bumping this chain

  5. #5
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Do I need a VBA or can there be another way?

    Yes I am working on.
    Have you noticed that the time info is in text format ...!

  6. #6
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Do I need a VBA or can there be another way?

    Is it what you need ?
    Please Login or Register  to view this content.

  7. #7
    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,929

    Re: Do I need a VBA or can there be another way?

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem - not what you think the answer might be. (think google search terms?). Once you have done this please send me a PM and I will remove this request. (Also, include a link to your thread - copy from the address bar)

    Many members search our previous posts, and thread titles play a big part of the search. I doubt anybody would do a search based on your title?

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (note: this change is not optional )
    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

  8. #8
    Registered User
    Join Date
    12-12-2018
    Location
    RI
    MS-Off Ver
    2016
    Posts
    5

    Re: Do I need a VBA or can there be another way?

    It definitely helped. I can manipulate this to make it work for my sheet. Great starting off point so I truly appreciate it. It is done in a way I wouldn't have thought to do it. You are very kind!

  9. #9
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: How to VBA for a Table missing Time increments

    Good news.
    Thx for the feed back

+ 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. Repeat call count for call center
    By arifmasum in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-08-2013, 10:03 PM
  2. [SOLVED] Call Data from another sheet
    By SMILE in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-09-2012, 03:07 AM
  3. How to set call count according to call date and time
    By naveen4pundir in forum Access Tables & Databases
    Replies: 0
    Last Post: 04-27-2012, 02:13 AM
  4. How to call a sub which uses data from another sub
    By imaraq in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-28-2009, 12:20 AM
  5. using CALL to call methods mandatory?
    By jerryliang2k in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-05-2008, 06:16 PM
  6. Save Call Data
    By cjsec9 in forum Excel General
    Replies: 0
    Last Post: 11-12-2008, 12:36 PM
  7. How do you call data from different tabs?
    By tnielsen91 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-06-2007, 09:36 AM
  8. Replies: 2
    Last Post: 06-25-2006, 12:10 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