Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jsky
 
Posts: n/a
Default Describe high/low range with CountIf (ex. count if >90 and <100

how can I use the COUNTIF formula to count only those numbers that fit
between a range like greater than 90 but less than 100.
  #2   Report Post  
Chip Pearson
 
Posts: n/a
Default

Use two COUNTIF functions. E.g.,

=COUNTIF(A1:A10,"<100")-COUNTIF(A1:A10,"<90")



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"jsky" wrote in message
...
how can I use the COUNTIF formula to count only those numbers
that fit
between a range like greater than 90 but less than 100.



  #3   Report Post  
jsky
 
Posts: n/a
Default

Thanks Chip.
really use minus sign between them? Does that serve as an "AND"?


"Chip Pearson" wrote:

Use two COUNTIF functions. E.g.,

=COUNTIF(A1:A10,"<100")-COUNTIF(A1:A10,"<90")



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"jsky" wrote in message
...
how can I use the COUNTIF formula to count only those numbers
that fit
between a range like greater than 90 but less than 100.




  #4   Report Post  
jsky
 
Posts: n/a
Default

Chip, I figured it out. Thank you again.

"jsky" wrote:

Thanks Chip.
really use minus sign between them? Does that serve as an "AND"?


"Chip Pearson" wrote:

Use two COUNTIF functions. E.g.,

=COUNTIF(A1:A10,"<100")-COUNTIF(A1:A10,"<90")



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"jsky" wrote in message
...
how can I use the COUNTIF formula to count only those numbers
that fit
between a range like greater than 90 but less than 100.




  #5   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Sun, 18 Sep 2005 12:49:01 -0700, "jsky"
wrote:

how can I use the COUNTIF formula to count only those numbers that fit
between a range like greater than 90 but less than 100.


=COUNTIF(rng,"90") - COUNTIF(rng,"=100")


--ron


  #6   Report Post  
Ashish Mathur
 
Posts: n/a
Default

Hi,

You may also use array formulas (Ctrl+Shift+Enter) to solve the problem

=sum(if((range90)*(range<100),1,0))

Regards,

Ashish Mathur

"jsky" wrote:

how can I use the COUNTIF formula to count only those numbers that fit
between a range like greater than 90 but less than 100.

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 occurances in range of cells Ed Gregory Excel Worksheet Functions 1 September 7th 05 04:12 PM
countif argument for 3 occurences of which 1 refers to a range Andy Excel Discussion (Misc queries) 2 September 7th 05 03:19 PM
Formula to count the cells in a range that have a fill color. Slainteva Excel Discussion (Misc queries) 2 January 19th 05 08:25 PM
Formula to count the cells in a range that have a fill color. Molly F Excel Discussion (Misc queries) 2 January 19th 05 06:15 PM
variable range countif JK Excel Worksheet Functions 3 November 3rd 04 07:50 AM


All times are GMT +1. The time now is 07:29 PM.

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"