Results 1 to 18 of 18

Criteria Based Monthly Counts

Threaded View

  1. #1
    Registered User
    Join Date
    05-29-2013
    Location
    MIE
    MS-Off Ver
    Excel 2007
    Posts
    94

    Criteria Based Monthly Counts

    Request some help to customize the attached script to count the number of live “BUYER’s” during a months period.

    I need the flexibility to select the Month and Year from the calendar controls and using the data set in Tab labeled “Data” determine this….

    How many TOTAL buyers by Category (Column C) were alive during the selected Month?
    How many UNIQUE buyers by Category (Column C) were alive during a specific Month?

    Example if I want to know the number of BUYERs alive in March 2013 then:

    Commencement date in Column D of the Data Tab should not be after March 31, 2013, but it can be anytime earlier than it, AND
    Closure date in Column E of the Data Tab should not be before March 1, 2013, but it can be anytime on or after this date

    Have manually extracted the data and created a tab labeled as March. You’ll notice that all these entries comply with the above logics. The counts are then populated against each category

    Similar calculation need to be run on the month selection made in Calendar Control E

    Columns F and G – Compares whether a BUYER who was alive in the Month and Year selected in Calendar Control C is also ALIVE in the comparison Month and Year selected through Calendar Control G or not, if yes it gives the counts.

    Basically, I need to move the script from data specific calculations to count for the complete Month…..

    Thanks in advance!

    ______________________________________________________________________________________________________________________________________________________________

    What the script does currently?

    On making a selection of a specific date from the Calendar controls from columns C, E and G. It gives me a count of the Total PURCHASERS after complying of the following 2 logics:

    Periodic Counts – Column B

    Total Buyers who had Commencement date on or before a certain date basis date in Column D of Data Tab
    Total Buyers who had Closure date on or after a certain date basis date in Column E of Data Tab

    Periodic Counts – Column C

    Unique Buyers who had Commencement date on or before a certain date basis date in Column D of Data Tab
    Unique Buyers who had Closure date on or after a certain date basis date in Column E of Data Tab

    The above calculation are run for columns D and E as well.

    Columns F and G – This segment compares whether a BUYER who was alive on the date selected in Calendar Control C is also ALIVE on the comparison date selected through Calendar Control G or not, if yes it gives the counts.
    Attached Files Attached Files
    Last edited by simplyxl; 08-13-2013 at 09:56 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] 3 issues hindering CSV File Creation - Modification Help Request
    By Ilikeideas in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-25-2013, 11:42 AM
  2. Replies: 0
    Last Post: 05-15-2013, 07:12 AM
  3. Help with Conditional script modification
    By Rabbitstew in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-10-2013, 03:36 PM
  4. [SOLVED] Slight Modification Request VBA Code - Text File to Excel
    By spiwere in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 03-22-2013, 04:39 AM
  5. [SOLVED] Concurrent Reps by Hour & Net New using VBA - Solution Modification Request
    By jai.anand@aol.in in forum Excel Programming / VBA / Macros
    Replies: 33
    Last Post: 03-11-2013, 09:37 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