![]() |
![]() |
|
|||||||
| 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 |
|
New Member
Join Date: May 2002
Posts: 1
|
i have a problem where i can't figure out how to count between numbers...example..i want to count how many times a column of numbers falls between say a range of 140 to 160 using the countif formula..need help...thanks
|
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
Hi marcellorama:
Welcome to the board. One of the ways is to usethe following array formula ... with CTRL+SHIFT+ENTER =SUM(IF(A2:A9>=140,IF(A2:A9<=160,1,0))) ________________ Yogi Anand Edit: Deleted inactive website from hardcoded signature [ This Message was edited by: Yogi Anand on 2003-01-19 12:53 ] |
|
|
|
|
|
#3 | |
|
Board Regular
Join Date: Feb 2002
Location: Southfield,MI USA
Posts: 1,030
|
Hey,
Quote:
=COUNTIF(Range,"<160")-COUNTIF(Range,">140") or =SUMPRODUCT((Range>140)*(Range<160)) Hope that helps, Adam |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|