excel - COUNTIF with multiple criteria and list -
i need count number of cells in 'criteria 1' satisfied, 'criteria 2' satisfied , 'criteria 3' falls within set of values contained in column e.
i using following formula:
=sum(countifs(a2:a11,"true",b2:b11,"true",c2:c11,{"2","4","6","9","10"}))
but in real table, list of data within 'criteria 3' longer , more complicated , prefer reference cells in column e rather specific data, i.e. like:
=sum(countifs(a2:a11,"true",b2:b11,"true",c2:c11,{"e2:e6"}))
please note data contained in example different data in real table. real table considerably longer , more complex table.
any suggestions?
decided put comment answer can show picture works:
you close. range array no need {""}
wrapper
just use:
=sum(countifs(a2:a11,"true",b2:b11,"true",c2:c11,e2:e6))
this array formula , must confirmed ctrl-shift-enter.
Comments
Post a Comment