Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I define a range using values in cells? | Excel Worksheet Functions | |||
Copy/Paste how to avoid the copy of formula cells w/o calc values | Excel Discussion (Misc queries) | |||
Match function...random search? | Excel Worksheet Functions | |||
Character Count Range of Cells | Excel Discussion (Misc queries) | |||
Character Count Range of Cells | Excel Discussion (Misc queries) |