Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
AJ AJ is offline
external usenet poster
 
Posts: 99
Default Look up value range in column and then count

I have a column of numbers ranging from 0 to -100
I need to count the number of cells with in the ranges
0 to -6
-7 to -14
-15 to -28
-85 to -100

Can you tell me the best way to get these figures, I would imagine I have to
put this formula into 4 different cells.
Thanks AJ
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 345
Default Look up value range in column and then count

Using Excel 2007
Supposing your values are in column A rows 1 to 17 try this:
Four seperate cells:
=COUNTIFS($A$1:$A$17,"<=0",$A$1:$A$17,"=-6")
=COUNTIFS($A$1:$A$17,"<=-7",$A$1:$A$17,"=-14")
=COUNTIFS($A$1:$A$17,"<=-15",$A$1:$A$17,"=-28")
=COUNTIFS($A$1:$A$17,"<=-85",$A$1:$A$17,"=-100")
and one cell:
=COUNTIFS($A$1:$A$17,"<=0",$A$1:$A$17,"=-6")&" between 0 and -6,
"&COUNTIFS($A$1:$A$17,"<=7",$A$1:$A$17,"=-14")&" between -7 and -14,
"&COUNTIFS($A$1:$A$17,"<=-15",$A$1:$A$17,"=-28")&" between -15 and -28 and
"&COUNTIFS($A$1:$A$17,"<=-85",$A$1:$A$17,"=-100")&" between -85 and -100"


"AJ" wrote:

I have a column of numbers ranging from 0 to -100
I need to count the number of cells with in the ranges
0 to -6
-7 to -14
-15 to -28
-85 to -100

Can you tell me the best way to get these figures, I would imagine I have to
put this formula into 4 different cells.
Thanks AJ

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
Count Unique Values in 1 Column based on Date Range in another Column Brian Excel Worksheet Functions 14 May 17th 09 02:58 PM
How do I count a range of dates in a column? GBC Excel Worksheet Functions 6 February 24th 09 07:10 PM
Count cells in column that contain number in a range az willie Excel Worksheet Functions 9 December 12th 08 07:35 PM
Formula to count every other column (dynamic range) Darlene New Users to Excel 7 November 18th 08 09:27 PM
How to count dates within a certain range in a column with mutiple date range entries Krisjhn Excel Worksheet Functions 2 September 1st 05 01:59 PM


All times are GMT +1. The time now is 09:45 PM.

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"