+ Reply to Thread
Results 1 to 5 of 5

count cells that meet criteria

  1. #1
    Registered User
    Join Date
    10-23-2008
    Location
    USA
    Posts
    78

    count cells that meet criteria

    Hi Guys,

    No idea what I am missing on this formula. I want to count the number of cells in column O only if column H shows QAR 1.

    =COUNTIF('Week of 0330 - Dashboard'!O2:O129, 'Week of 0330 - Dashboard'!H2:H129="QAR 2")

    Any suggestion would be VERY appreciated!
    Last edited by bmunoz64; 04-01-2009 at 08:20 AM.

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

    Re: count cells that meet criteria

    =sumproduct(--(o5:o10<>0);--(h5:h10="qar 1"))
    Last edited by zbor; 04-01-2009 at 07:08 AM.

  3. #3
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: count cells that meet criteria

    If you only want to COUNT, why make things difficult?

    As your condition is ONLY on the H columns, =countif('Week of 0330 - Dashboard'!H2:H129,"QAR 2")

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

    Re: count cells that meet criteria

    Yes, but I assume that he might have situation: if cell O is empty, don't count QAR 1 in row in H column

  5. #5
    Registered User
    Join Date
    10-23-2008
    Location
    USA
    Posts
    78

    Re: count cells that meet criteria

    Thanks all for your help. It did work. This forum is the best thing I have seen in a long time!

    No doubt I will be asking more questions. I have learned more than I could think of in just 3 postings.

    Thanks again

+ 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