+ Reply to Thread
Results 1 to 5 of 5

Running tally based on multiple criteria

Hybrid View

  1. #1
    Registered User
    Join Date
    03-05-2009
    Location
    Santa Monica
    MS-Off Ver
    Excel 2003
    Posts
    3

    Running tally based on multiple criteria

    Basically I can't figure out how to count using the following criteria if A:A="LOGON" and C:C<"9:00"


    LOGOFF 03/02/2009 8:08
    LOGON 03/03/2009 8:20
    LOGOFF 03/03/2009 2:31
    LOGON 03/04/2009 9:00
    LOGOFF 03/04/2009 19:22
    LOGON 03/05/2009 8:27

    ive tried doing =SUM(IF(A:A="LOGON",1,0)*IF(C:C<"9:00"))
    and =COUNT(IF(A:A="LOGON",IF(C:C<"9:00"))

    any help would be appreciated.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Running tally based on multiple criteria

    Hi,

    try something along these lines:

    =SUMPRODUCT(--(A1:A100="LOGON"),--(C1:C100<TIME(9,0,0)))

    Note that in Excel 2003 you cannot specify a whole column with SUMPRODUCT, so you cannot use A:A but must use a range like A2:A5000 instead.

    cheers

  3. #3
    Registered User
    Join Date
    03-05-2009
    Location
    Santa Monica
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Running tally based on multiple criteria

    wow thank you sir, i spent an hour trying to figure this out.

    /me bows down

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Running tally based on multiple criteria

    wow thank you sir, i spent an hour trying to figure this out.

    /me bows down
    Actually, it would be lady, not sir.

    /gracefully nods in acceptance

  5. #5
    Registered User
    Join Date
    03-05-2009
    Location
    Santa Monica
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Running tally based on multiple criteria

    Thank you miss, excuse my ignorance.

+ 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