+ Reply to Thread
Results 1 to 9 of 9

Count with 2 Criterias

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    02-11-2015
    Location
    Jakarta, Indonesia
    MS-Off Ver
    2019
    Posts
    118

    Count with 2 Criterias

    Hi Sifu,

    need your advise, please see attached file.

    i want to count a column based on 2 criterias

    thank you ..
    Attached Files Attached Files
    a fool learn from experiences,wise from others

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Count with 2 Criterias

    maybe this?
    Formula: copy to clipboard
    =SUM(COUNTIFS($E$5:$E$14,$I$8,$F$5:$F$14,"=OK"),COUNTIFS($E$5:$E$14,$I$9,$F$5:$F$14,"=OK"))

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,325

    Re: Count with 2 Criterias

    In cell J8 put this formula:

    =COUNTIFS($E$5:$E$14,I8,$F$5:$F$14,J7)
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    11-14-2014
    Location
    Estonia
    MS-Off Ver
    2013 Office for Mac
    Posts
    31

    Re: Count with 2 Criterias

    Based on the cell locations in your workbook:

    =COUNTIFS($E$5:$E$14,$I$8,$F$5:$F$14,$J$7)

    Lol, marvin got it first!

  5. #5
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,325

    Re: Count with 2 Criterias

    I get beat a lot more than you think. I do have a problem with Sandy's answer that gives an 8 instead of 6 like we have.

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Count with 2 Criterias

    My fault, I got I8 AND I9 not only I8

    but enough extract =COUNTIFS($E$5:$E$14,$I$8,$F$5:$F$14,"=OK") and it will work also
    Last edited by sandy666; 02-06-2016 at 12:53 AM.

  7. #7
    Forum Contributor
    Join Date
    02-11-2015
    Location
    Jakarta, Indonesia
    MS-Off Ver
    2019
    Posts
    118

    Re: Count with 2 Criterias

    thanks All, appreciate for prompt responses


  8. #8
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,325

    Re: Count with 2 Criterias

    Hi Did13n,

    You don't really need any formulas for solving this problem if you use a Pivot Table. You simply drag and drop a few words and the pivot shows counts for all possible combos. See the attached.
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    02-11-2015
    Location
    Jakarta, Indonesia
    MS-Off Ver
    2019
    Posts
    118

    Re: Count with 2 Criterias

    Hi Marvin

    actually i had done the calculation using Pivot table , but i believe if i can learn the formulas, may give me a benefit in the future

    however thanks for your advise ... *beer*

+ 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. Count number of values with two criterias
    By Jonathan9 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-03-2015, 03:17 PM
  2. Only count when there is 1 of 3 criterias met.
    By DugiDug in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-01-2013, 12:19 PM
  3. count/find with 2 criterias
    By ngocpdn in forum Excel General
    Replies: 2
    Last Post: 02-15-2012, 07:25 PM
  4. Count Using Multiple Criterias
    By Vancouver in forum Excel General
    Replies: 4
    Last Post: 11-07-2010, 04:35 AM
  5. Count Uniques with 2 criterias
    By ROYW1000 in forum Excel General
    Replies: 2
    Last Post: 11-03-2008, 05:48 PM
  6. Count using 2 criterias
    By Macdave_19 in forum Excel General
    Replies: 3
    Last Post: 03-27-2007, 08:57 AM
  7. mulitple count criterias
    By ceemo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-04-2005, 01:44 PM

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