View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default count number of occurances between 2 values

Try this: =SUMPRODUCT((A1:A41000)*(A1:A4<2000))

Success? Express it here, click the YES button below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:300 Subscribers:70
xdemechanik
---
"Peters" wrote:
I am trying to count how many cells contain a number within a certain range
eg number of cells in a column that are between 1000 and 2000.
I thought i could write it like =countif (A1:A4, 1000 <2000) doesn't work
for me
A
1000
4502
1203
2308