Count the number of values having zero and below zero according the drop list text

fmoiduf

New Member
Joined
Nov 27, 2018
Messages
6
Sir,

I have table containing Observation and Score.

i made a drop down list according the text of observation column. I like to count number of scores comes zero and below zero according the text (observation)
ObservationScore
Health_Safety-Electrical<strike></strike>
2
Health_Safety-Confined Space<strike></strike>
-2
Health_Safety-Access & Egress<strike></strike>
0
Health_Safety-Electrical<strike></strike>
1
Health_Safety-Access & Egress<strike></strike>
2
Health_Safety-Confined Space<strike></strike>
1
Health_Safety-Access & Egress<strike></strike>
-1

<tbody>
</tbody>

I made a drop list ( observation column text ) in excel sheet, so once I changing the text in drop down list . Score need to count according to observation which is below zero.


Thanks in advance
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Hi,

Try

=COUNTIFS(A2:A8,D2,B2:B8,"<="&0)

A2:A8 is the range of "Observations"
D2 is the drop down list text
B2:B8 is the range of "Score"

Gaz
 
Upvote 0
Something like
=COUNTIFS(A2:A8,E2,B2:B8,"<=0")
Change E2 to the cell that has the dropdown
 
Upvote 0

Forum statistics

Threads
1,215,438
Messages
6,124,873
Members
449,192
Latest member
MoonDancer

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