+ Reply to Thread
Results 1 to 2 of 2

Macro to Sum Data in Multiple Columns based off Date in Column A

  1. #1
    Registered User
    Join Date
    08-13-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Macro to Sum Data in Multiple Columns based off Date in Column A

    I'm trying to write a macro that will sum the data contained in columns B through E based on the date in column A (please see attachment). In other words, I'd like to create a new table with one row per date on a new sheet that contains the sum of the data in column B, C, D, E on 8/7/13, 8/8/13, etc. The problem I am running into is that the number of rows containing data will vary from date to date. I'm relatively new to writing macros but this doesn't seem like it should be too terribly difficult. Any help or tips would be greatly appreciated!
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Ontario Canada
    MS-Off Ver
    Excel 2010
    Posts
    124

    Re: Macro to Sum Data in Multiple Columns based off Date in Column A

    Hey,

    Here.
    It is fairly un-elegant.
    Just a bunch of arrays and loops.
    There is probably better ways of doing it.


    Please Login or Register  to view this content.

+ 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. [SOLVED] Sorting data into multiple columns based on a single column
    By J.McQ in forum Excel General
    Replies: 7
    Last Post: 03-16-2013, 11:26 AM
  2. Macro to Segregate the data based on Multiple Criteria's in Multiple Columns -Challenging!
    By Novice_To_Excel in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-08-2012, 07:31 AM
  3. [SOLVED] Need macro to split one column into multiple columns based on _ and spacing
    By snely in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 09-17-2012, 10:05 AM
  4. MACRO to transform single column to multiple columns, based in dynamic values
    By gaqueiroz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-08-2012, 01:54 PM
  5. macro for sorting data from one column to multiple columns
    By hck in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-07-2012, 08:44 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