+ Reply to Thread
Results 1 to 2 of 2

How to count based on more than one condition ?

Hybrid View

  1. #1
    Registered User
    Join Date
    01-13-2005
    Posts
    10

    How to count based on more than one condition ?

    Hi,
    I am stuck with a simple looking formula to implement in my worksheet...

    There are columns A and B for e.g., each having data in some rows, say row 1 to 100.

    I want to count the number of rows that have:

    A = " X " AND B = " Y "

    The above two conditions should be satisfied for a row to be counted

    Thanks in advance for the help

    Puneet

  2. #2
    Forum Contributor
    Join Date
    09-05-2004
    Location
    Melbourne
    Posts
    193
    Use the following formula

    =SUMPRODUCT(--(A1:A100="X"),--(B1:B100="Y"))

    Cheers!

+ 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