View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Lars-Åke Aspelin[_2_] Lars-Åke Aspelin[_2_] is offline
external usenet poster
 
Posts: 913
Default Counting Numbers

On Wed, 3 Dec 2008 13:37:45 -0800, Buffalo
wrote:

I have a list of numbers I want to know how many fall into a certain range.
Is there a way to count them?

EX:

A 12
B 15
C 16
D 2
E 100

now I would like to know how many fall between 10 and 20, is there a
function? something like =countif(A1:E1, 1020) just an example! thanks


Try this formula:

=SUMPRODUCT((A1:E110)*(A1:E1<20))

Hope this helps / Lars-Åke