+ Reply to Thread
Results 1 to 6 of 6

Countif Multiple Column?

  1. #1
    Forum Contributor
    Join Date
    10-14-2011
    Location
    London, England
    MS-Off Ver
    O365
    Posts
    180

    Countif Multiple Column?

    Hi,

    I would normally just use a countif to total how many correct answers there were in a particular question, e.g. countif(B:B,"Correct") and this would work perfectly but what if I wanted to count how many Boys got the question correct so that would mean column A would need to read Boy AND column B have the word "Correct" in.

    Can I achieve this using something like Countif?

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,208

    Re: Countif Multiple Column?

    Look at COUNTIFS

  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,913

    Re: Countif Multiple Column?

    Use Countifs() function:

    =Countifs(A:A,"Boy",B:B,"Correct")

  4. #4
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Countif Multiple Column?

    yes countifs! Its the same logic with mutliple criteria

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Countif Multiple Column?

    =Countifs(A:A,"Boys",B:B,"Correct")
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  6. #6
    Forum Contributor
    Join Date
    10-14-2011
    Location
    London, England
    MS-Off Ver
    O365
    Posts
    180

    Re: Countif Multiple Column?

    - definitely not embarrased!! Thank you! So simple.

+ 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] Countif down a column with multiple ifs
    By Lori E in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-18-2016, 05:03 PM
  2. COUNTIF Multiple cells in column
    By swaza in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-09-2015, 09:15 AM
  3. [SOLVED] Countif multiple criterai within 1 column
    By ctbanker in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2014, 03:46 PM
  4. COUNTIF Multiple Column Criteria
    By OZManager in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-24-2012, 11:12 PM
  5. Trying to COUNTIF when multiple criteria are met on multiple column data set
    By TGCRequiem in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-15-2011, 12:58 AM
  6. Countif with multiple criteria:Column A Column B
    By Blardov in forum Excel General
    Replies: 1
    Last Post: 01-22-2009, 03:05 PM
  7. [SOLVED] Using Countif with multiple criteria in the same column.
    By Harley in forum Excel General
    Replies: 2
    Last Post: 12-12-2005, 10:30 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