+ Reply to Thread
Results 1 to 3 of 3

Adding missing date rows to spreadsheet

  1. #1
    Registered User
    Join Date
    09-10-2008
    Location
    Texas
    Posts
    3

    Adding missing date rows to spreadsheet

    I receive a spreadsheet each month from another source that has about 5-6000 rows. They are listings of call statistics, with approx 12 columns of data per each dated row. The problem is that if there were no call statistics for a given date, that row is not represented on the spreadsheet. For example if there was data on August 1-3 then 5-6 then 8-9, the (column A) date field would look like:

    8/01/08 - Category one
    8/02/08 - Category one
    8/03/08 - Category one
    8/05/08 - Category one
    8/06/08 - Category one
    8/08/08 - Category one
    8/09/08 - Category one
    ...and so on down to 8/31/08 where Category 2 will start with it's 31 dates, then Category 3 and so on...

    I'm looking for a way to check the dates and if one is missing (like the 4th or 7th) to insert a row "with" the missing date entered in the column A cell, and also fill in all the other columns of the newly inserted row with zeros.

    The dates would always be for the same month and year on all 5-6000 rows, so only the "day" would need to be searched for and changed.

    The reason I need every row dated is because I am using it as a join field for another table in MS Access, after I import the data from Excel to Access.

    Thanks for your help /Mike
    Last edited by mikea3; 09-10-2008 at 05:49 PM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Mike

    See how this goes.

    Please Login or Register  to view this content.
    rylo

  3. #3
    Registered User
    Join Date
    09-10-2008
    Location
    Texas
    Posts
    3
    Rylo - Thanks for the reply. I got another reply earlier off another forum that was similar to yours and have been wotking with this guy and tweaking it out for some other issues.

    But thanks for the suggestion!

    Have a good one!

    - Mike

+ 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. Adding n rows to a named range
    By JChandler22 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-29-2007, 03:28 PM
  2. Search date from one spreadsheet to another
    By silverskye787 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-18-2007, 03:43 AM
  3. Adding the contents of rows with the same date
    By Gshaw1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-11-2007, 01:31 PM
  4. Replies: 18
    Last Post: 02-07-2007, 12:01 AM
  5. Adding specific rows
    By Sherline Vincen in forum Excel General
    Replies: 1
    Last Post: 02-01-2007, 03:39 AM

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