+ Reply to Thread
Results 1 to 4 of 4

COUNTIF(s) based on multiple column criteria not workin

  1. #1
    Registered User
    Join Date
    06-04-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    19

    COUNTIF(s) based on multiple column criteria not workin

    I am trying to build a formula that performs the COUNTIF (or COUNTIFS) based on criteria of one column, and then an array of multiple columns.
    "A" "B" "C" "D" "E" "F"
    1 Site QA1 QA2 QA3 QA4 QA5
    2 IN Rude Transfer Dial Transfer
    3 IN Transfer EPIC Rude
    4 SD EPIC Dial
    5 CR EPIC Dial Transfer Wait Rude
    6 SD Transfer EPIC
    7 SD Rude Wait
    8 CR Transfer
    9 MI Dial


    I am then wanting to populate the results in a table based on the data above in a fashion similar to this:

    IN SD CR MI
    Rude 2 1 1 0
    Transfer 3 1 2 0
    EPIC 1 2 1 0
    Dial 1 1 1 1
    Wait 0 1 1 0

    I have tried MANY different formulas. IF functions, COUNTIFS, ORs...nothing seems to return the results I want once I need to include IF (A:A = "IN) and (B:B = 'RUDE' OR C:C = 'RUDE' OR D:D = 'RUDE' OE E:E = 'RUDE' OR F:F = 'RUDE') then count occurrences.

    =IF(OR($B$2:$B$9=$A$14, $C$2:$C$9=$A$14, $D$2:$D$9=$A$14, $E$2:$E$9=$A$14, $F$2:$F$9=$A$14), COUNTIF($A$2:$A$9, "="&B$13))
    =COUNTIFS($A$2:$A$9, "="&$I$7, $B$2:$F$9, "="&$H$8)

    I can get it to work if I just need A AND B, but once I need A and (B or C or D or E or F) it fails or errors out.

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: COUNTIF(s) based on multiple column criteria not workin

    Hello find attached!
    Attached Files Attached Files
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Registered User
    Join Date
    06-04-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: COUNTIF(s) based on multiple column criteria not workin

    Hemesh, thank you VERY much for showing this to me! I especially like that you took the time to give me two options! VERY considerate of you.

  4. #4
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: COUNTIF(s) based on multiple column criteria not workin

    Thanks for the feedback and Rep!

+ 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. COUNTIF Multiple Column Criteria
    By OZManager in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-24-2012, 11:12 PM
  2. countif based on multiple criteria
    By fabrecass in forum Excel General
    Replies: 2
    Last Post: 09-23-2011, 08:57 AM
  3. Countif based on multiple criteria
    By dmt2 in forum Excel General
    Replies: 1
    Last Post: 10-07-2010, 03:38 PM
  4. Using CountIf based on multiple criteria
    By lriddle in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-04-2007, 05:01 PM
  5. An array and countif based on criteria in each column
    By Rochelle B in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-25-2005, 01: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