+ Reply to Thread
Results 1 to 2 of 2

Countif Multiple Criteria

  1. #1
    JoatNIC
    Guest

    Countif Multiple Criteria

    I need to count the number of cells in Column A that contain an S, AND the
    cells in Column B that contain an E. So, if there are a total of 6 rows,
    and 4 contain an S and 3 Contain an E the answer should be 3.

    Do I use COUNTIF OR SUMPRODUCT?

    What will the formula/function look like?

  2. #2
    Bob Phillips
    Guest

    Re: Countif Multiple Criteria

    =SUMPRODUCT(--(A2:A100="S"),--(B2:B100="E"))

    so the answer is SP :-)

    --

    HTH

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


    "JoatNIC" <[email protected]> wrote in message
    news:[email protected]...
    > I need to count the number of cells in Column A that contain an S, AND the
    > cells in Column B that contain an E. So, if there are a total of 6 rows,
    > and 4 contain an S and 3 Contain an E the answer should be 3.
    >
    > Do I use COUNTIF OR SUMPRODUCT?
    >
    > What will the formula/function look like?




+ 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