+ Reply to Thread
Results 1 to 3 of 3

Count if one condition and one of two other conditions are met

  1. #1
    Registered User
    Join Date
    06-19-2014
    Location
    Denver, CO
    MS-Off Ver
    2013
    Posts
    2

    Count if one condition and one of two other conditions are met

    Hi there,

    I have been working on a formula that will count the number of students who have applied for admissions and have either a 95 or higher or an 18 or higher of two test scores. Some have both the 95+ and the 18+, but I only want the student counted once. Below is the formula I have tried to use (including as an array), but keep getting duplicate counts, etc. Those who have applied for admissions have a number that begins with an "S". Essentially, I want them to have an "S" number in column B and either a 95+ in column D or an 18+ in column F in order to be counted. I would also like to divide the counted number of students by another cell (B9 - the total number of students) to return a percentage (not reflected in the formula below).

    Any help would be greatly appreciated. This is driving me nuts!

    =SUM(IF((B6:B7="S*")*(D6:D7>=95)+(F6:F7>=18),1,0))

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Count if one condition and one of two other conditions are met

    Please upload a workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context.

    Show a before and after situation with manually calculated results, explaining which information is data and which is results, and if it's not blindingly obvious how you have arrived at your results some explanatory notes as well.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    06-19-2014
    Location
    Denver, CO
    MS-Off Ver
    2013
    Posts
    2

    Re: Count if one condition and one of two other conditions are met

    I've attached an example spreadsheet that will hopefully explain a little better. I want the count/percentage in cell B12. Thanks so much!
    Attached Files Attached Files

+ 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] How to count a condition based on having another condition?
    By Robster in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-12-2014, 04:17 PM
  2. [SOLVED] Complex if condition with 3 conditions
    By janagan in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-10-2014, 01:12 AM
  3. Satisfying 2 Conditions..one condition relying on the other.
    By graham_____ in forum Excel General
    Replies: 1
    Last Post: 10-30-2013, 09:03 PM
  4. [SOLVED] COUNTIF with 2 Conditions met UNTIL 2 Condition met
    By DnDXan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-29-2012, 02:20 PM
  5. If either condition is true (3 Or conditions)
    By Helpinghand in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-04-2008, 12:19 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