+ Reply to Thread
Results 1 to 4 of 4

Count number of cells fall within a certain timestamp

  1. #1
    Registered User
    Join Date
    09-25-2013
    Location
    Huntington, WV
    MS-Off Ver
    Excel 2007
    Posts
    9

    Count number of cells fall within a certain timestamp

    I have a tremendously large spreadsheet that displays a timestamp in one column per row of data like this: 04/15/2013 12:35:05 PM. It's all in the same cell - not separate. I want to create a function that will count how many cells fall at or before 11:00:00 AM. Help!

    Thanks so much.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Count number of cells fall within a certain timestamp

    Try

    =SUMPRODUCT(--(MOD(A1:A100,1)<=11/24))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    09-25-2013
    Location
    Huntington, WV
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Count number of cells fall within a certain timestamp

    It worked!! Thank you SOOOOOOOOOOOOOO much!!!

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Count number of cells fall within a certain timestamp

    Here's another one.

    Assumes no empty cells within the data range.

    =SUMPRODUCT(--(HOUR(A1:A100)<=11))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Count Cells that Fall within a Certain Month
    By joeshamokin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-01-2013, 04:21 PM
  2. Count the number of values that fall with in a range
    By nynamyna in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-12-2011, 08:39 AM
  3. Count the number of days that fall within a particular month.
    By Portuga in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-30-2008, 04:26 PM
  4. how would I count dates (not # of days) in cells that fall betwee.
    By Max in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-06-2005, 04:05 AM
  5. Replies: 3
    Last Post: 08-08-2005, 06:05 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