Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default how do i count cells with values in a certain range ?

I want to count the number of times in a given range in an Excel worksheet
that data occur between two values - e.g. how many cells are between 1001
and 1500 ?
It seems that COUNTIF only allows single values and COUNTA requires whole
numbers.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 427
Default how do i count cells with values in a certain range ?

This formula will do it:
=SUMPRODUCT(--(A1:A13=1001),--(A1:A13<=1500))
If you use it, make sure to adjust the ranges to fit your data and that
the "greater than or equal to" and "less than or equal to" operators
fit your requirements.

  #4   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default how do i count cells with values in a certain range ?

=COUNTIF(A:A,"<=1500")-COUNTIF(A:A,"<1001")

Vaya con Dios,
Chuck, CABGx3




"Capt. Trevor Bailey" wrote:

I want to count the number of times in a given range in an Excel worksheet
that data occur between two values - e.g. how many cells are between 1001
and 1500 ?
It seems that COUNTIF only allows single values and COUNTA requires whole
numbers.

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
How do I define a range using values in cells? Matthieu de Wit Excel Worksheet Functions 2 April 26th 06 10:43 PM
Copy/Paste how to avoid the copy of formula cells w/o calc values Dennis Excel Discussion (Misc queries) 10 March 2nd 06 11:47 PM
Match function...random search? Les Excel Worksheet Functions 10 July 28th 05 12:54 PM
Character Count Range of Cells michimac Excel Discussion (Misc queries) 1 May 30th 05 12:26 AM
Character Count Range of Cells Naz Excel Discussion (Misc queries) 0 May 29th 05 11:28 PM


All times are GMT +1. The time now is 07:22 AM.

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

About Us

"It's about Microsoft Excel"