#1   Report Post  
Les Coover
 
Posts: n/a
Default COUNTIF function

Attempting to determine class intervals. I have used
the Data Analysis, Histogram tool but the criteria
is not correct. I want upper class intervals to be
"less than" something rather than lower class intervals
to be "greater than" something.

Tried this, which works, but is there a better way?
Notice that I have a value rather than a cell reference
in the criteria, I could not get it to work when I used
a cell reference.

=COUNTIF($B$3:$B$40,"<120")
=COUNTIF($B$3:$B$40,"<240")-$E$6
=COUNTIF($B$3:$B$40,"<360")-($E$6+$E$7)
=COUNTIF($B$3:$B$40,"<480")-($E$6+$E$7+$E$8)

Suggestions welcomed, thanks,

Les


  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

What's wrong with countif?

To use a cell ref:

=COUNTIF($B$3:$B$40,"<"&A1)

Biff

-----Original Message-----
Attempting to determine class intervals. I have used
the Data Analysis, Histogram tool but the criteria
is not correct. I want upper class intervals to be
"less than" something rather than lower class intervals
to be "greater than" something.

Tried this, which works, but is there a better way?
Notice that I have a value rather than a cell reference
in the criteria, I could not get it to work when I used
a cell reference.

=COUNTIF($B$3:$B$40,"<120")
=COUNTIF($B$3:$B$40,"<240")-$E$6
=COUNTIF($B$3:$B$40,"<360")-($E$6+$E$7)
=COUNTIF($B$3:$B$40,"<480")-($E$6+$E$7+$E$8)

Suggestions welcomed, thanks,

Les


.

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
using countif function to add only a half of a number ryanjh79 Excel Discussion (Misc queries) 9 April 26th 23 03:42 AM
something wrong with my "countif" function ryanjh79 Excel Discussion (Misc queries) 3 December 17th 04 06:59 PM
Advanced COUNTIF Function License Boy Excel Worksheet Functions 3 December 8th 04 02:23 PM
The countif function in Excel 2002. Lounsbud Excel Worksheet Functions 1 November 22nd 04 03:19 PM
hOW TO USE THE AND OPERATOR WITH THE COUNTIF FUNCTION Marty Excel Worksheet Functions 1 November 11th 04 09:45 PM


All times are GMT +1. The time now is 05:24 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"