+ Reply to Thread
Results 1 to 6 of 6

Counting Days in Date/Time Format

  1. #1
    Registered User
    Join Date
    08-22-2008
    Location
    Michigan
    Posts
    71

    Counting Days in Date/Time Format

    I am trying to count the number of orders written per day. I used the following formula on another sheet and it worked fine, however on this one, A8 is a date only, and F2:F2000 is a date and a time. I tried reformating the cell for date only, and it displays only the date, however, the time information is still stored, and I can't get it to do the count. Is there a way to count the date regardless of the time?

    =COUNTIF('ACT Legacy'!$F$2:$F$2000,Stats!A8)
    Last edited by NBVC; 10-05-2008 at 09:33 PM.

  2. #2
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    Try this :

    =ROUNDDOWN(A1;1)-ROUNDDOWN(A2;1)
    Just keep it simple !


    http://www.excelguide.eu
    In English as well as in Dutch

  3. #3
    Registered User
    Join Date
    08-22-2008
    Location
    Michigan
    Posts
    71
    I can't round down the soure data, as I do need to access the time info on occasion. But I tried to implement the round down and can't get it do a count on my summary page. What am I doing wrong?

    =COUNTIF(ROUNDDOWN('ACT Legacy'!F2,0)-ROUNDDOWN('ACT Legacy'!F2000,0),A9)

  4. #4
    Registered User
    Join Date
    08-22-2008
    Location
    Michigan
    Posts
    71
    I tried the following variation, to try to count all orders on a given day. A13 & A14 are in date format only, while column E has date and time info. But it coumes up 0.

    =COUNTIFS('ACT Uverse'!$E$2:$E$20000,'ACT Uverse'!$E$2:$E$20000>A13,'ACT Uverse'!$E$2:$E$20000,'ACT Uverse'!$E$2:$E$20000<A14)

    Any suggestions?

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Please Login or Register  to view this content.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  6. #6
    Registered User
    Join Date
    08-22-2008
    Location
    Michigan
    Posts
    71
    Thanks! That's just what I was looking for.

+ 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. Counting days and hours
    By roddie in forum Excel General
    Replies: 15
    Last Post: 09-11-2008, 05:15 AM
  2. Replies: 9
    Last Post: 09-03-2007, 08:26 PM
  3. counting days from a list of dates
    By 4romseyavenue in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-08-2007, 07:07 AM
  4. Replies: 16
    Last Post: 03-27-2007, 02:14 AM
  5. Counting days worked and Averaging Totals
    By lilbpaw in forum Excel General
    Replies: 16
    Last Post: 11-21-2006, 04:38 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