+ Reply to Thread
Results 1 to 8 of 8

Simple Macro that Totals Rows by Business Day

  1. #1
    Registered User
    Join Date
    12-26-2015
    Location
    Las Vegas
    MS-Off Ver
    2013
    Posts
    56

    Simple Macro that Totals Rows by Business Day

    Back to consulting the excel geniuses,

    I need help with a macro to give totals of the attached data by day of the month. So, once the macro is run the total rows for each business day will be displayed in a column on the right.

    A business day for me is from 3am-0130am the next day.

    It would be displayed like this when completed:

    August 1, 2016: 205
    August 2, 2016: 105
    August 3, 2016: 308
    and so on...

    I have nothing currently built for this calculation... help, please?
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Simple Macro that Totals Rows by Business Day

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    12-26-2015
    Location
    Las Vegas
    MS-Off Ver
    2013
    Posts
    56

    Re: Simple Macro that Totals Rows by Business Day

    That's insane!!!!

    THANK YOU THANK YOU THANK YOU!!!

  4. #4
    Registered User
    Join Date
    12-26-2015
    Location
    Las Vegas
    MS-Off Ver
    2013
    Posts
    56

    Re: Simple Macro that Totals Rows by Business Day

    Hello again...

    Would it be possible to provide a snippet that will make this code loop through all sheets in the workbook?

  5. #5
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Simple Macro that Totals Rows by Business Day

    You're welcome and thanks for the feedback.

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    12-26-2015
    Location
    Las Vegas
    MS-Off Ver
    2013
    Posts
    56

    Re: Simple Macro that Totals Rows by Business Day

    I couldn't get it to work... it's only running for one sheet... I attached a very simplified and small version of what I'm using as a data source...

    Any ideas?
    Attached Files Attached Files

  7. #7
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Simple Macro that Totals Rows by Business Day

    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    12-26-2015
    Location
    Las Vegas
    MS-Off Ver
    2013
    Posts
    56

    Re: Simple Macro that Totals Rows by Business Day

    Pure excellence! It's crazy how good you are at this.

    What if I wanted to add the totals by month to this macro? In column "M" it is broke down by day... is it possible to also put a monthly breakdown in column "N" for each sheet?

+ 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. Macro Required to suppress rows with zero totals
    By Suzanne1307 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-25-2016, 03:52 PM
  2. Any one can help me giving a value to a certain char..
    By paulandrelai in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-14-2013, 07:59 AM
  3. Macro to keep running totals across mutiple cells and multiple rows
    By Gixxy in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 08-28-2012, 05:37 PM
  4. Help: Macro Adds Rows, Need to Update Totals with New rows
    By Matt in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-07-2006, 12:15 PM
  5. Help: Macro Adds Rows, Need to Update Totals with New rows
    By Matt in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-04-2006, 05:40 PM
  6. Help: Macro Adds Rows, Need to Update Totals with New rows
    By Matt in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-04-2006, 05:35 PM
  7. [SOLVED] Simple Cash Flow Small business
    By Ed West in forum Excel General
    Replies: 0
    Last Post: 04-10-2005, 12:07 AM

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