+ Reply to Thread
Results 1 to 6 of 6

Excel 2003 - Counting cells with date and time criteria

  1. #1
    Registered User
    Join Date
    12-07-2012
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Excel 2003 - Counting cells with date and time criteria

    Hello everyone!
    I'm hoping someone can help me with a problem I'm having. I'm not very experienced when it comes to excel, just a warning.

    I'm trying to format a call-log summary for my office that would sum the number of calls taken on a certain day between certain times. The data being summed is in a second worksheet and has a column for date the call was taken as well as one for the time the call began.

    I'm using Excel 2003 and I've been trying to use countif, and have tried permutations of count(and as well as countif(and, but nothing I do seems to work.

    As an example, here's the formula that I thought would be the most logical:

    =countif('All Calls'!$A:$I, AND('All Calls'!A:A='All Calls'!A7, 'All Calls'!B:B>TIME(09, 00, 00), 'All Calls'!B:B<TIME(10, 00, 00)))

    But when I try and use that formula it tells me that I'm referring to empty cells. If someone could help me out by either telling me what I did wrong in the formula, or explaining the correct formula I should be using, I would really appreciate it. I've attached a copy of what I'm looking at data wise, for reference. Call Log Summary Template.pdf

    Thanks in advance!

  2. #2
    Forum Contributor
    Join Date
    09-27-2012
    Location
    London, England
    MS-Off Ver
    2003, 2010
    Posts
    344

    Re: Excel 2003 - Counting cells with date and time criteria

    Hi Colter,

    Welcome to the forum. Instead of uploading the pdf file if you can upload the excel file and state the desired output it would result in efficient resolution of the query.

    Thanks.
    If solved kindly remember to mark Thread as solved.
    Click the small star icon at the bottom left of my post if this was useful.

  3. #3
    Registered User
    Join Date
    12-07-2012
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Excel 2003 - Counting cells with date and time criteria

    Thanks for the help! I've attached the file, the cells in yellow are those I'm looking to fill.

    Call Log Summary Template.xls

  4. #4
    Forum Contributor
    Join Date
    09-27-2012
    Location
    London, England
    MS-Off Ver
    2003, 2010
    Posts
    344

    Re: Excel 2003 - Counting cells with date and time criteria

    Please also specify what you are trying to count here...

  5. #5
    Registered User
    Join Date
    12-07-2012
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Excel 2003 - Counting cells with date and time criteria

    Hi KBKumar,
    I would like a count of the number of calls that occurred on each day and then between each set of times. I.E. I would like to know how many calls we received on December 2nd, between 9AM and 10PM.
    I know the data available is limited, I'm just trying to figure the formulas out before it goes into general use.

    Thanks!

  6. #6
    Forum Contributor
    Join Date
    09-27-2012
    Location
    London, England
    MS-Off Ver
    2003, 2010
    Posts
    344

    Re: Excel 2003 - Counting cells with date and time criteria

    Use this in cell I7 of All Calls tab:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    in cell J7 use:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and format it to hh:mm:ss

    and in cell K7 use:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and format it to hh:mm:ss

    And in J8 i have used date so that you can change it as per your needs.


    Hope this helps...

+ 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