![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: May 2002
Posts: 98
|
I tried several iterations and I cannot get it to work. I would like to get a count of how many data items fall within a certain range.
For instance, I need a count of how many items have a value between 5 and 15. Can anyone help? Thanks |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Denver, CO
Posts: 1,744
|
Quote:
http://www.mrexcel.com/board/viewtop...c=7197&forum=2 |
|
|
|
|
|
|
#3 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
In E2 enter: 15 When you say between m and n, you need to be specific -- There are 4 possibities: >= m AND < n > m AND <= n > m AND < n [ often called exclusive between ] >= m AND <= n [ often called inclusive between ] =COUNTIF(A1:A10,">"&E1)-COUNTIF(A1:A10,">="&E2) gives you a count based on exclusive between. [ This Message was edited by: Aladin Akyurek on 2002-05-03 11:29 ] |
|
|
|
|
|
|
#4 |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
did you try http://www.mrexcel.com/board/viewtop...c=7197&forum=2 Ian: I didn't realize that it was a repost. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|