+ Reply to Thread
Results 1 to 4 of 4

Require fromula to count instances of times and dates

  1. #1
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Require fromula to count instances of times and dates

    Hi, I need a formula that counts individual instances of times and dates within a list and displays a count number next to them.

    Example

    Date Time Instance

    08/08/14 10:00 1
    08/08/14 10:00 2
    08/08/14 10:00 3
    08/08/14 10:00 4
    08/08/14 11:00 1
    08/08/14 11:00 2
    08/08/14 12:00 1
    08/08/14 12:00 2
    08/08/14 12:00 3
    08/08/14 13:00 1
    08/08/14 13:00 2

    Thanks in advance.

    JD

  2. #2
    Valued Forum Contributor
    Join Date
    10-06-2008
    Location
    Norway
    MS-Off Ver
    2010
    Posts
    365

    Re: Require fromula to count instances of times and dates

    Hi, your question is a bit ambiguous, but based on your example (with list in A2:A12), in B2:
    =IF(A2=A1,B1+1,1)

  3. #3
    Valued Forum Contributor Hawkeye16's Avatar
    Join Date
    02-27-2013
    Location
    Holland
    MS-Off Ver
    ├•┤ Pew Pew
    Posts
    441

    Re: Require fromula to count instances of times and dates

    That one does require your list to be ordered, perhaps

    =countifs($A$1:A1,A1,$B$1:B1,B1)

    Put that in cell C1 and copy down. Not tested.
    Despite the high cost of living, it remains very popular.

    Don't forget to mark threads SOLVED when you get an answer and rep all the geniouses that helped you today!

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Require fromula to count instances of times and dates

    is that 3 separate columns?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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. Fromula to count number of records fro each month per salesperson
    By A-Ibraheem in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-26-2013, 04:57 AM
  2. Replies: 2
    Last Post: 05-28-2010, 04:57 PM
  3. sumproduct to count number of times between dates
    By steeley7 in forum Excel General
    Replies: 5
    Last Post: 04-08-2010, 05:18 PM
  4. Count times between 2 times and 2 dates
    By Jeremy Ellison in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-18-2005, 09:35 PM
  5. Count No. of times Dates are repeated
    By Mandeep Dhami in forum Excel General
    Replies: 6
    Last Post: 12-07-2005, 11:00 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