Countif and

H

Hassan

Hi All,

How I count then no. of occurances in following condition

Status Speed

Harsh Braking 5
Driving 15
Harsh Braking 12
Harsh Braking 35
Harsh Braking 40
Driving 12
Harsh Braking 4
Harsh Braking 0
Driving 15

How I can count the No. of harsh Braking if speed is more then or equal to 10.

Thanks
 
L

Lars-Åke Aspelin

Hi All,

How I count then no. of occurances in following condition

Status Speed

Harsh Braking 5
Driving 15
Harsh Braking 12
Harsh Braking 35
Harsh Braking 40
Driving 12
Harsh Braking 4
Harsh Braking 0
Driving 15

How I can count the No. of harsh Braking if speed is more then or equal to 10.

Thanks


Try this formula:

=SUMPRODUCT(- -($A$2:$A$10="Harsh Braking"), - -($B$2:$B$10>=10))

Hope this helps / Lars-Åke
 
H

Hassan

Thanks Lars
Its working fine.

Thanks again

Lars-Ã…ke Aspelin said:
Try this formula:

=SUMPRODUCT(- -($A$2:$A$10="Harsh Braking"), - -($B$2:$B$10>=10))

Hope this helps / Lars-Ã…ke
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Counting data 13
Counting data 1
Countifs or a pivot 1
COUNTIF Multiple conditions 3
WCG Stats Thursday 05 October 2023 3
Average problem 1
WCG Stats Monday 09 October 2023 4
WCG Stats Tuesday 03 October 2023 3

Top