+ Reply to Thread
Results 1 to 3 of 3

Count items in a column based on multiple criterias

  1. #1
    Registered User
    Join Date
    08-21-2014
    Location
    puerto rico
    MS-Off Ver
    2010
    Posts
    2

    Count items in a column based on multiple criterias

    Property Approved installed
    6284 YES YES
    6293 YES YES
    6295 no YES
    6307 no YES
    YES no
    6307 no YES
    6320 no YES
    6346 no YES

    Hi on the first line, i have a property number of an equipment, I need to count the number of equipment installed and approved, not considering the duplicates property numbers or blank spaces.
    I calculated the number of equipments =SUM(IF(FREQUENCY(A2:A9,A2:A9)>0,1))

    i also calculated the number on occurrences where both approved and installed is yes =COUNTIFS(C2:C9,"YES",B2:B9,"YES")


    but i need to combine them somehow to determine how many of the equipments were installed in the approved sites

    help for this newbie will be appreciate.

  2. #2
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Count items in a column based on multiple criterias

    Hi, Welcome to the forum
    Try with the below formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Click just below left if it helps, Boo?ath?

  3. #3
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Count items in a column based on multiple criterias

    @Boopathi,

    =INT(SUMPRODUCT(1/COUNTIF(A2:A9,A2:A9)*(B2:B9="Yes")*(C2:C9="Yes"))) doesn't work when there is a blank cell in between in column A.


    See the updated one below (in cell D2):

    =SUMPRODUCT(SUM(1/COUNTIF(A2:A9,A2:A9))*(B2:B9="Yes")*(C2:C9="Yes"))

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Need to count items in column that match multiple data items
    By bclucas55 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-27-2014, 10:03 AM
  2. [SOLVED] Count the number of items sold in one column based on the quantity in another column
    By mike_m1 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-20-2013, 05:48 AM
  3. Count based on multiple different criterias
    By sika11 in forum Excel General
    Replies: 5
    Last Post: 12-15-2010, 07:34 AM
  4. Replies: 3
    Last Post: 01-21-2010, 06:58 AM
  5. Replies: 2
    Last Post: 10-18-2005, 04:05 AM

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