+ Reply to Thread
Results 1 to 3 of 3

Countifs - multiple columns with the same criteria

  1. #1
    Registered User
    Join Date
    08-14-2017
    Location
    Brazil
    MS-Off Ver
    2007
    Posts
    10

    Countifs - multiple columns with the same criteria

    Hi!
    I need to count how many times a criteria shows up in 36 different columns,
    I would like to do it without summing 36 Countifs functions,
    Is that possible?

    Ex:
    |Name |***|car color| hat color | Shirt color | undies color |
    | John | M | Red | Red | Red | White |
    | Marcus | M | Blue | White | Yellow | Pink |
    | Maria | F | Pink | Red | White | Blue |
    | David | M | Blue | Red | Gray | Red |

    Q: How many Red Itens Do the Males have?
    A: 5

    Thanks!

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Countifs - multiple columns with the same criteria

    Try

    =SUMPRODUCT((B2:B5="M")*(C2:F5="Red"))

  3. #3
    Registered User
    Join Date
    08-14-2017
    Location
    Brazil
    MS-Off Ver
    2007
    Posts
    10

    Re: Countifs - multiple columns with the same criteria

    Thanks, it worked wonders!

+ 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] COUNTIFS with Multiple Text Criteria in Same Criteria Range
    By xl2016 in forum Excel General
    Replies: 5
    Last Post: 06-18-2017, 05:00 AM
  2. Countifs with multiple criteria in single criteria range
    By SUHAS KARHADKAR in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 12-01-2016, 10:55 AM
  3. Countifs with multiple criteria in single criteria range
    By MCP313 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-01-2016, 03:51 AM
  4. [SOLVED] Countifs on multiple columns & criteria
    By tabkaz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-13-2016, 02:59 AM
  5. Countifs Help with multiple columns in one criteria
    By itobon in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-30-2015, 02:03 PM
  6. [SOLVED] countifs statement with multiple criteria for multiple criteria ranges
    By mcdermott2 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-07-2015, 11:48 AM
  7. [SOLVED] Countifs with multiple criteria and one criteria has a list of names
    By Beefy1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-30-2014, 05:25 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