+ Reply to Thread
Results 1 to 5 of 5

count number of instances based on date, but date format is 2/6/2015 14:34:00

  1. #1
    Registered User
    Join Date
    04-28-2011
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    9

    count number of instances based on date, but date format is 2/6/2015 14:34:00

    Hello. I'm using excel for my report generated from CRM. My crm provides me csv. I'd like to count the number of instances per month, not per day. Each line should be counted as 1. See sample data below:

    John 2/6/15 14:34
    Walter 4/28/15 10:41
    John 6/24/15 11:47
    Walter 5/6/15 09:31
    Walter 5/6/15 15:35
    James 5/13/15 14:16
    James 4/22/15 14:48
    James 5/15/15 17:22
    James 6/5/15 13:42

    In sample data above, I'd like to know how many instances did John generate opportunity in Feb, March, April... How many times Walter generated opportunity in Feb, March, April... James also, ...

    FYI only, I'd like to count how many opportunities generated by sales in a given month. Each line represents an opportunity generated by the person in the other column. The time of day is irrelevant.

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: count number of instances based on date, but date format is 2/6/2015 14:34:00

    please provide a sample excel file
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,127

    Re: count number of instances based on date, but date format is 2/6/2015 14:34:00

    Like this, maybe...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,127

    Re: count number of instances based on date, but date format is 2/6/2015 14:34:00

    The formula works equally well if the date/time is in a single cell.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-28-2011
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: count number of instances based on date, but date format is 2/6/2015 14:34:00

    Glenn,

    Exactly the way you did it. Thanks. I'll analyze the formula.

    Thanks

+ 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. Replies: 4
    Last Post: 04-29-2015, 08:36 AM
  2. [SOLVED] Count Unique Instances of Date while filtering based upon date and ID #
    By pmambrosetti in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-15-2014, 02:22 PM
  3. Replies: 1
    Last Post: 02-05-2013, 09:14 AM
  4. [SOLVED] To count the number of rows based on date and check how old the row is from current date.
    By raovv in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-04-2013, 11:45 AM
  5. Replies: 2
    Last Post: 05-28-2010, 04:57 PM

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