+ Reply to Thread
Results 1 to 3 of 3

Count cells in range that match corresponding cell, and meet an additional criteria.

  1. #1
    Registered User
    Join Date
    05-15-2016
    Location
    Newcastle, England
    MS-Off Ver
    2013
    Posts
    2

    Count cells in range that match corresponding cell, and meet an additional criteria.

    Hi,
    I have a spreadsheet with pupil's answers to a number of multiple-choice questions (answered as: "A", "B", "C", or "D"). I need to count the number of correct answers (answers are stored in corresponding range) from questions which have a certain topic code. e.g. for pupil 1, how many correct answers did they get for questions with a topic code "CO1"? I have attached the spreadsheet (real names deleted).

    Thanks if anyone can help.
    Attached Files Attached Files

  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,209

    Re: Count cells in range that match corresponding cell, and meet an additional criteria.

    With CO1, CO2 and CO3 in U2:W2


    In U5

    =SUMPRODUCT(($C5:$T5=$C$3:$T$3)*($C$2:$T$2=U$2))

    Copy across and down

  3. #3
    Registered User
    Join Date
    05-15-2016
    Location
    Newcastle, England
    MS-Off Ver
    2013
    Posts
    2

    Re: Count cells in range that match corresponding cell, and meet an additional criteria.

    (not sure if I managed to send the last reply!)
    Thanks for the quick solution - just what I needed : )

+ 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 If cells meet a criteria
    By cmb80 in forum Excel General
    Replies: 3
    Last Post: 08-14-2015, 05:12 AM
  2. Count cells in a range that match a specific criteria in a different cell range
    By RhapsodyBay in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-13-2015, 02:10 PM
  3. Count a single range using additional criteria from another range
    By FatFoot in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-27-2013, 08:40 PM
  4. [SOLVED] How to count cells that meet two criteria. Please Help!
    By Doolie01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-18-2013, 02:07 PM
  5. count cells that meet criteria
    By bmunoz64 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 04-01-2009, 08:19 AM
  6. Count cells only if three in a row meet criteria
    By htollefson in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-29-2007, 07:47 AM
  7. [SOLVED] How do I count nonblank cells that meet criteria in another cell?
    By jimswinder in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 07-20-2006, 11:45 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