View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John C[_2_] John C[_2_] is offline
external usenet poster
 
Posts: 1,358
Default Countif numbers fall between two values

=SUMPRODUCT(--(A1:A100.5),--(A1:A100<.85))
=SUMPRODUCT(--(A1:A100.85),--(A1:A100<1))

Hope this helps.
--
John C


"Chris" wrote:

Hi,

Looking for a formula that will allow me to count how many numbers in a
range fall between larger than 50% and smaller than 85% as well as larger
than 85% and less than 100%.

Currrently I am using a countif(range,<.5) and countif(range.5) but if I
want to expand my criteria to count how many are 85 and 100, the values for
100 are in with the values from 85 and subtracting them gives me a negative

number.

Any ideas?