Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 74
Default countif with 2 criteria

I have a countif cell over the range c3:c52, I only want it to count the
numbers if it is <=99.34 and =100.65. It excepts the formula but isn't
recognizing the numbers, I have put 100.8 into cell c3 and it isn't counting.
Any help would be great.

=COUNTIF(C3:C52,AND(C3:C52<="99.34",C3:C52="100.6 5"))

Tim Peter
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default countif with 2 criteria

Try this

=COUNTIF(C3:C52,"<=99.34")+COUNTIF(C3:C52,"=100.6 5")

Mike

"tpeter" wrote:

I have a countif cell over the range c3:c52, I only want it to count the
numbers if it is <=99.34 and =100.65. It excepts the formula but isn't
recognizing the numbers, I have put 100.8 into cell c3 and it isn't counting.
Any help would be great.

=COUNTIF(C3:C52,AND(C3:C52<="99.34",C3:C52="100.6 5"))

Tim Peter

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 74
Default countif with 2 criteria

Thanks Mike,

I had just tried that it did work, I appreciate your help.

"Mike H" wrote:

Try this

=COUNTIF(C3:C52,"<=99.34")+COUNTIF(C3:C52,"=100.6 5")

Mike

"tpeter" wrote:

I have a countif cell over the range c3:c52, I only want it to count the
numbers if it is <=99.34 and =100.65. It excepts the formula but isn't
recognizing the numbers, I have put 100.8 into cell c3 and it isn't counting.
Any help would be great.

=COUNTIF(C3:C52,AND(C3:C52<="99.34",C3:C52="100.6 5"))

Tim Peter

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default countif with 2 criteria

Try this:

=COUNTIF(C3:C52,"<=99.34")+COUNTIF(C3:C52,"=100.6 5")

Or, using cell references to hold the boundary values:

A1 = 99.34
A2 = 100.65

=COUNTIF(C3:C52,"<="&A1)+COUNTIF(C3:C52,"="&A2)

--
Biff
Microsoft Excel MVP


"tpeter" wrote in message
...
I have a countif cell over the range c3:c52, I only want it to count the
numbers if it is <=99.34 and =100.65. It excepts the formula but isn't
recognizing the numbers, I have put 100.8 into cell c3 and it isn't
counting.
Any help would be great.

=COUNTIF(C3:C52,AND(C3:C52<="99.34",C3:C52="100.6 5"))

Tim Peter



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default countif with 2 criteria

Glad I could help

"tpeter" wrote:

Thanks Mike,

I had just tried that it did work, I appreciate your help.

"Mike H" wrote:

Try this

=COUNTIF(C3:C52,"<=99.34")+COUNTIF(C3:C52,"=100.6 5")

Mike

"tpeter" wrote:

I have a countif cell over the range c3:c52, I only want it to count the
numbers if it is <=99.34 and =100.65. It excepts the formula but isn't
recognizing the numbers, I have put 100.8 into cell c3 and it isn't counting.
Any help would be great.

=COUNTIF(C3:C52,AND(C3:C52<="99.34",C3:C52="100.6 5"))

Tim Peter

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
Countif W/ 2 Criteria carl Excel Worksheet Functions 2 May 3rd 05 10:33 PM
Countif using format criteria not number criteria? Rumbla76 Excel Worksheet Functions 1 April 20th 05 05:38 AM
Countif using format criteria....not number criteria? Troy Excel Worksheet Functions 1 April 20th 05 04:50 AM
countif criteria johnT Excel Worksheet Functions 5 March 28th 05 02:55 AM
Countif w/ Criteria carl Excel Worksheet Functions 1 February 8th 05 11:13 PM


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