A. Toczko wrote:
Hello. In a spreadsheet, I want to count how many rows meet the following
conditions:
column D=apple and (column E=5 or column E=6 or column E=7 or column E=8).
Thank you!
Definitely faster to OR with the IsNumber|Match idiom:
=SUMPRODUCT(--($D$2:$D$400="Apple"),--ISNUMBER(MATCH($E$2:$E$400,{5,6,7,8},0)))
|