Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default countif formula needed

I need to count the numbers in a range that fall equal to or more than one
number and equal to or less than one number
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default countif formula needed

Try it like this:

=COUNTIF(A1:A10,"=start_number")-COUNTIF(A1:A10,"stop_number")

Start number = 10
Stop number = 20

=COUNTIF(A1:A10,"=10")-COUNTIF(A1:A10,"20")

Or, if you use cells to hold the start/stop numbers:

B1 = 10
B2 = 20

=COUNTIF(A1:A10,"="&B1)-COUNTIF(A1:A10,""&B2)

--
Biff
Microsoft Excel MVP


"dmdodds" wrote in message
...
I need to count the numbers in a range that fall equal to or more than one
number and equal to or less than one number



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default countif formula needed

=COUNTIF(A2:A37,".7900")-COUNTIF(A2:A37,"<.7950")
This is what I tried and it is coming up with values that are not supposed
to be included, there should only be one entry that fits the formula with
these numbers.

"T. Valko" wrote:

Try it like this:

=COUNTIF(A1:A10,"=start_number")-COUNTIF(A1:A10,"stop_number")

Start number = 10
Stop number = 20

=COUNTIF(A1:A10,"=10")-COUNTIF(A1:A10,"20")

Or, if you use cells to hold the start/stop numbers:

B1 = 10
B2 = 20

=COUNTIF(A1:A10,"="&B1)-COUNTIF(A1:A10,""&B2)

--
Biff
Microsoft Excel MVP


"dmdodds" wrote in message
...
I need to count the numbers in a range that fall equal to or more than one
number and equal to or less than one number




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default countif formula needed

Look again at the formula you were given, and correct yours accordingly.
Check the difference between , =, and <
--
David Biddulph

"dmdodds" wrote in message
...
=COUNTIF(A2:A37,".7900")-COUNTIF(A2:A37,"<.7950")
This is what I tried and it is coming up with values that are not supposed
to be included, there should only be one entry that fits the formula with
these numbers.

"T. Valko" wrote:

Try it like this:

=COUNTIF(A1:A10,"=start_number")-COUNTIF(A1:A10,"stop_number")

Start number = 10
Stop number = 20

=COUNTIF(A1:A10,"=10")-COUNTIF(A1:A10,"20")

Or, if you use cells to hold the start/stop numbers:

B1 = 10
B2 = 20

=COUNTIF(A1:A10,"="&B1)-COUNTIF(A1:A10,""&B2)

--
Biff
Microsoft Excel MVP


"dmdodds" wrote in message
...
I need to count the numbers in a range that fall equal to or more than
one
number and equal to or less than one number






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
Formula needed - is this possible? Gary''s Student Excel Discussion (Misc queries) 0 March 28th 07 01:06 AM
fomula help needed on countif [email protected] Excel Discussion (Misc queries) 3 October 12th 06 01:12 PM
CountIf Function Help Needed Mark Excel Worksheet Functions 4 January 30th 06 03:37 AM
Formula needed Excel Worksheet Functions 2 November 25th 05 05:07 PM
Countif help needed tamato43 Excel Discussion (Misc queries) 2 March 19th 05 11:56 PM


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