+ Reply to Thread
Results 1 to 4 of 4

Count based on multiple criteria

  1. #1
    Registered User
    Join Date
    01-01-2005
    MS-Off Ver
    2007
    Posts
    368

    Count based on multiple criteria

    Hi,

    I have 2 columns with dates. Some of the cells may be empty in any of these columns.

    I need to count the number of dates in "col2" that have no date in the same row in "Col1":

    In this example, I should get 2 as a result.

    col1; col2
    01-5-2011; 29-04-2011
    "empty" ; 28-04-2011
    "empty" ; "empty"
    "empty" ; 01-05-2011

    Regards,
    Élio Fernandes
    Last edited by efernandes67; 05-15-2011 at 02:57 PM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Count based on multiple criteria

    try.

    =COUNT(B:B)-COUNT(A:A)

    (if there is no date - empty situation)

  3. #3
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Count based on multiple criteria

    Or

    =COUNTIFS(B:B,"<>"&"",A:A,"")

  4. #4
    Registered User
    Join Date
    01-01-2005
    MS-Off Ver
    2007
    Posts
    368

    Re: Count based on multiple criteria

    Thanks, it is working.

    Elio Fernandes

+ 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