Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / September 2007

Tip: Looking for answers? Try searching our database.

Calculating data between two given parameters

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Craig - 14 Sep 2007 11:16 GMT
If i have a range of A1:A300 and the range of numbers within those cells
could be anything from 1 to 50 how do i count cells that contain numbers
greater than 20 but less than 31?

Thanks
Bob Phillips - 14 Sep 2007 11:23 GMT
=COUNTIF(A1:A300,">20")-COUNTIF(A1:A300,">30")

Signature

HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

> If i have a range of A1:A300 and the range of numbers within those cells
> could be anything from 1 to 50 how do i count cells that contain numbers
> greater than 20 but less than 31?
>
> Thanks
David Biddulph - 14 Sep 2007 11:51 GMT
Unless the numbers are contrained to being integers, it may be preferable to
use  =COUNTIF(A1:A300,">20")-COUNTIF(A1:A300,">=31")
Signature

David Biddulph

> =COUNTIF(A1:A300,">20")-COUNTIF(A1:A300,">30")

>> If i have a range of A1:A300 and the range of numbers within those cells
>> could be anything from 1 to 50 how do i count cells that contain numbers
>> greater than 20 but less than 31?
>>
>> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.