+ Reply to Thread
Results 1 to 4 of 4

counting dates?

  1. #1
    Forum Contributor
    Join Date
    03-24-2009
    Location
    Vietnam
    MS-Off Ver
    Excel 2010
    Posts
    382

    counting dates?

    Hi,

    I have a column full of dates in the dd/mm/yyyy format. Now I am trying to count how many entries with specific dates exist in this column, however, the date i want to count, is defined by another cell's value.

    Example:
    A1 = 2012
    A2 = Jan
    A3 = 01

    I need the formula to count how many entries exist for 01/01/2012 but need to have the DD, MM, YYYY pulled from these cells.

    Any suggestions?

    Thanks,
    A2k

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: counting dates?

    Assuming your dates in B1:B100
    with your month format in A2 is 3-digits
    Please Login or Register  to view this content.
    Quang PT

  3. #3
    Forum Contributor
    Join Date
    03-24-2009
    Location
    Vietnam
    MS-Off Ver
    Excel 2010
    Posts
    382

    Re: counting dates?

    Thanks a lot, but it doesnt seem to work.
    I believe the problem is that in the referencal cell the month is written in MMM format, but the actual raw data is written in dd/mm/yyyy format.
    Another issue is that I am also trying to count if there is any email address in another column for the specific date. it seems to be doing fine for January, but not for any other month (only Jan, Feb and Mar on file).

    I have attached a sample and would be glad if you could have a look.

    Thanks a lot!
    A2ksample PCR2.xlsx

  4. #4
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: counting dates?

    Hello Armitage,

    Firstly, better to use a dynamic range instead of looking until 65536 rows.

    Based on your attachment assume you are on Excel 2007 or later. so use COUNTIFS instead of SUMPRODUCT. See the attached.
    Attached Files Attached Files
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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