+ Reply to Thread
Results 1 to 3 of 3

How do I count dates that have time stamps?

  1. #1
    Registered User
    Join Date
    03-30-2016
    Location
    USA
    MS-Off Ver
    2016
    Posts
    49

    How do I count dates that have time stamps?

    I have a column of dates that have time stamps.
    Example: 12/27/2023 1:33:54 PM

    What I'd like to do is use a countif statement to get the count of specific calendar dates in that column. Each time I try, though, I get back "0" presumably because the time stamp is stopping the countif from working.

    How do I get around this?

    ----

    Example, I want a formula that reviews the data set below for 12/12/2023 and get back a result of "2" because there are two instances of 12/12/2023. Or "1" if I search for 12/26/2023. How do I do that?

    12/26/2023 7:32:19 AM
    12/12/2023 10:48:04 AM
    12/26/2023 2:13:24 PM
    12/12/2023 10:35:06 AM

    As always, thank you for reading and any insight you care to share.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,853

    Re: How do I count dates that have time stamps?

    You'll need to use INT with SUMPRODUCT or some other combination.

    Please attach a sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    1,980

    Re: How do I count dates that have time stamps?

    if the date/times are in column A, and the search date is in D1

    Formula: copy to clipboard
    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. Replies: 6
    Last Post: 07-07-2022, 08:22 AM
  2. [SOLVED] SUM, AVERAGE and MEDIAN | Time Difference Between Time Stamps
    By Saradomin in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-24-2022, 08:24 AM
  3. [SOLVED] IF Formula To Determine Utilization Count Based On Date & Time Stamps
    By Gtrtim112 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-08-2020, 09:36 AM
  4. [SOLVED] Converting Plain Text Time Stamps to an Excel Time Value
    By WhamBamm in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-28-2019, 02:44 PM
  5. Create a Time Range off Time Stamps, and Count Intersecting values
    By athyeh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2014, 05:07 PM
  6. [SOLVED] Hour count between date and time stamps, with 2 seperate conidtions
    By barryhammer in forum Excel General
    Replies: 2
    Last Post: 07-13-2012, 09:54 AM
  7. Time Difference in hours between two date time stamps
    By Cipher in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-17-2010, 10:24 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