Count multiple instances within multiple row

qwzky

Board Regular
Joined
Jul 22, 2021
Messages
53
Office Version
  1. 2021
  2. 2016
Platform
  1. Windows
Hi! I am having some trouble with counting a certain value ("<5") within multiple rows as one, no matter how many times that value repeats itself:

SC-uri automate REDONE4 (test, ă văd dacă merge să lucrez in sheets separate).xlsm
BCDEFGHI
3StudentsGrade 1Grade 2Grade 3Grade 4Grade 5GRADE 6COUNT
4
5Mark447755count as 1, even if there are two "4"s (aka <=5)
6John666766don't count
7Anneabs56544don't count, because there is at least 1 "abs"
8James1010101095don't count
9the final result should be 2 (2 students failed)
CIORNĂ


The formula I tried is
Excel Formula:
=COUNTIF(C5:H8;"<5")
, but it returns 4 students failed. Please, help me make with this.
 
I believe you :) Maybe, if I don't find that one formula for all my requirements, I will do that. Check here the different thread I made, with clearer description.
 
Upvote 0

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Maybe, if I don't find that one formula for all my requirements, I will do that.
I would do it anyway, although it is possible, a single formula for what you want to do is a ludicrous idea.
 
Upvote 0

Forum statistics

Threads
1,214,823
Messages
6,121,780
Members
449,049
Latest member
greyangel23

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top