+ Reply to Thread
Results 1 to 2 of 2

combine macro that sums per color with a specific date (day)

  1. #1
    Registered User
    Join Date
    11-25-2013
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    7

    combine macro that sums per color with a specific date (day)

    hi Gurus...LOL
    I have a plan that sums my production per colors, works, but it is like this:

    job.......due .................cut......qty
    Job1.....22/09.................18/09.....25......green
    job2.....22/09..................19/09....30......green
    job3....22/09...................19/09....30......red
    job4....22/09...................18/09....30......red
    job5....22/09...................19/09....10......red


    after rum the macro, I got as answer obvious green 55, red 70

    but this is not an accurate result, the job was due for the same day, but was produced in different days (18 & 19)

    that is a way to separate by date? maybe insert a sumif to compare dates? to have something like this:

    Cut.........18/09....19/09
    Green.......25.........30
    Red.........30.........40

    tkx for help me

    Leandro Jorge




    using the following funcion:

    Please Login or Register  to view this content.
    Last edited by alansidman; 09-25-2014 at 06:47 PM. Reason: code tags added

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,884

    Re: combine macro that sums per color with a specific date (day)

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. changing color before and after a specific date
    By alzaeem in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-04-2014, 12:06 PM
  2. Macro to combine specific sheets only.
    By indianhp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-23-2013, 05:09 AM
  3. [SOLVED] Macro to combine specific sheets into master sheet
    By JakubPrchal in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-16-2012, 08:34 AM
  4. Macro to combine data from 4 specific sheets into 1
    By kempezzzz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-06-2012, 11:55 AM
  5. Change text color of specific date range by macro in Excel
    By Morgan LeFay in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-03-2006, 02:55 PM

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