+ Reply to Thread
Results 1 to 5 of 5

Count if 3 different conditions exist

  1. #1
    Registered User
    Join Date
    05-18-2004
    Posts
    27

    Arrow Count if 3 different conditions exist

    I have 3 columns of information. Column A has a date (01-Jan-05), column B has a name, column C has either F, Inf, or Inv. I want a formula that will count any date in column A that is January, and column B is Adam, and column C is F.

  2. #2
    Bob Phillips
    Guest

    Re: Count if 3 different conditions exist

    =SUMPRODUCT(--(MONTH(A2:A200=1),--(B2:B200="Adam"),--(C2:C200="F"))

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "AnnaV" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have 3 columns of information. Column A has a date (01-Jan-05), column
    > B has a name, column C has either F, Inf, or Inv. I want a formula that
    > will count any date in column A that is January, and column B is Adam,
    > and column C is F.
    >
    >
    > --
    > AnnaV
    > ------------------------------------------------------------------------
    > AnnaV's Profile:

    http://www.excelforum.com/member.php...fo&userid=9619
    > View this thread: http://www.excelforum.com/showthread...hreadid=496989
    >




  3. #3
    Ragdyer
    Guest

    Re: Count if 3 different conditions exist

    Put the number of the month you're looking for in D1 (Jan=1, Feb=2,
    etc....),
    Name in D2,
    And ID's in D3,

    Then try this:

    =SUMPRODUCT((MONTH(A1:A100)=D1)*(B1:B100=D2)*(C1:C100=D3))

    --
    HTH,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "AnnaV" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have 3 columns of information. Column A has a date (01-Jan-05), column
    > B has a name, column C has either F, Inf, or Inv. I want a formula that
    > will count any date in column A that is January, and column B is Adam,
    > and column C is F.
    >
    >
    > --
    > AnnaV
    > ------------------------------------------------------------------------
    > AnnaV's Profile:
    > http://www.excelforum.com/member.php...fo&userid=9619
    > View this thread: http://www.excelforum.com/showthread...hreadid=496989
    >



  4. #4
    Elkar
    Guest

    RE: Count if 3 different conditions exist

    Try this:

    =SUMPRODUCT(--(MONTH(A1:A100)=1),--(B1:B100="Adam"),--(C1:C100="F"))

    And of course, change the cell ranges to match your needs.

    HTH,
    Elkar

    "AnnaV" wrote:

    >
    > I have 3 columns of information. Column A has a date (01-Jan-05), column
    > B has a name, column C has either F, Inf, or Inv. I want a formula that
    > will count any date in column A that is January, and column B is Adam,
    > and column C is F.
    >
    >
    > --
    > AnnaV
    > ------------------------------------------------------------------------
    > AnnaV's Profile: http://www.excelforum.com/member.php...fo&userid=9619
    > View this thread: http://www.excelforum.com/showthread...hreadid=496989
    >
    >


  5. #5
    Registered User
    Join Date
    05-18-2004
    Posts
    27
    It Works! It Works! It Works!

    Thank You!

+ 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