Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 32
Default counting numbers within a range

Trying to count numbers within ranges in a population. i.e total number
between 0 and 10, 11 & 20. Trying countif but doesn't seen to like multiple
criteria. only does greater than 0.
Any clues? I'm sure there is a way.
Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default counting numbers within a range

Try


For 0 to 10
=SUMPRODUCT((A1:A15=0)*(A1:A15<"")*(A1:A15<=10))


For 11 to 20
=SUMPRODUCT((A1:A1510)*(A1:A15<=20))

Mike

"Iain" wrote:

Trying to count numbers within ranges in a population. i.e total number
between 0 and 10, 11 & 20. Trying countif but doesn't seen to like multiple
criteria. only does greater than 0.
Any clues? I'm sure there is a way.
Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default counting numbers within a range

may be ?

=COUNT(IF((A1:A5<"")*(A1:A5<=10),)) ( use ctrl + shift + enter )

=COUNT(IF((A1:A510)*(A1:A5<=20),)) ( use ctrl + shift + enter )



On Oct 23, 3:12*pm, Iain wrote:
Trying to count numbers within ranges in a population. i.e total number
between 0 and 10, 11 & 20. Trying countif but doesn't seen to like multiple
criteria. only does greater than 0.
Any clues? I'm sure there is a way.
Thanks.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
counting numbers in a range [email protected] Excel Worksheet Functions 3 July 31st 07 10:02 PM
two columns range of numbers need to list all numbers in the range arsovat New Users to Excel 2 October 30th 06 08:21 PM
Counting from one range to another range, multiple criteria macamarr Excel Discussion (Misc queries) 3 June 10th 06 11:02 AM
Counting Unique Part Numbers In A Range BigH Excel Worksheet Functions 2 December 9th 05 07:09 PM
Counting if numbers fall within a specified range KG Excel Discussion (Misc queries) 4 September 10th 05 02:30 PM


All times are GMT +1. The time now is 05:12 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"