View Single Post
  #5   Report Post  
Bob Phillips
 
Posts: n/a
Default

or ...

=SUMPRODUCT((D1:D10="apple")*(E1:E10={5,6,7,8}))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"A. Toczko" wrote in message
...
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!