+ Reply to Thread
Results 1 to 3 of 3

macro to insert blank line at end of date series

  1. #1
    Registered User
    Join Date
    02-08-2008
    Posts
    2

    macro to insert blank line at end of date series

    Hi,

    I'm looking for a macro that would insert a blank line at the end of each day in list, sum columnB for that day, and insert the sum in the new line under columnC. First, here's a snippet from the data in the spreadsheet:

    ColumnA ColumnB ColumnC
    Date Rain
    01/02/2007 0.03
    01/02/2007 0.04
    01/02/2007 0.05
    01/02/2007 0.04
    01/02/2007 0.05
    01/02/2007 0.07
    01/03/2007 0.06
    01/03/2007 0.07
    01/03/2007 0.07
    01/03/2007 0.05
    01/03/2007 0.06



    What I would like to see is:

    ColumnA ColumnB ColumnC
    Date Rain
    01/02/2007 0.03
    01/02/2007 0.04
    01/02/2007 0.05
    01/02/2007 0.04
    01/02/2007 0.05
    01/02/2007 0.07
    ____________________________.28
    01/03/2007 0.06
    01/03/2007 0.07
    01/03/2007 0.07
    01/03/2007 0.05
    01/03/2007 0.06
    ____________________________.31


    Thank you for your condsideration.

    Gary D.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Just use subtotals under data

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    02-08-2008
    Posts
    2
    Thanks, I think that will work for me.

+ Reply to Thread

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