Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 208
Default Calculating data between two given parameters

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Calculating data between two given parameters

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

--
HTH

Bob

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

"Craig" wrote in message
...
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



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Calculating data between two given parameters

Unless the numbers are contrained to being integers, it may be preferable to
use =COUNTIF(A1:A300,"20")-COUNTIF(A1:A300,"=31")
--
David Biddulph

"Bob Phillips" wrote in message
...
=COUNTIF(A1:A300,"20")-COUNTIF(A1:A300,"30")


"Craig" wrote in message
...
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



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
External data using parameters through to excel kate Excel Discussion (Misc queries) 0 April 4th 07 09:16 PM
Calculating p-value from Fisher's Exact Test for XYZ parameters paulinoluciano Excel Worksheet Functions 0 April 18th 06 12:38 PM
can custom autofilter pull parameters from other data? DaveCPA Excel Discussion (Misc queries) 0 September 28th 05 04:28 PM
How to summarize data based on specific parameters Water guy Excel Discussion (Misc queries) 1 February 7th 05 10:26 PM
parameters option on the external data toolbar is not available Brink Excel Discussion (Misc queries) 0 January 4th 05 05:57 PM


All times are GMT +1. The time now is 07:43 AM.

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"