#1   Report Post  
Posted to microsoft.public.excel.misc
T3 T3 is offline
external usenet poster
 
Posts: 3
Default Count numbers

say 1400 & <1500 in a range from 1200 to 1600
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Count numbers

Try this:

=COUNTIF(range,"1400") - COUNTIF(range,"<1500")

Hope this helps.

Pete

On Aug 26, 9:27*am, T3 wrote:
*say 1400 & <1500 in a range from 1200 to 1600


  #3   Report Post  
Posted to microsoft.public.excel.misc
T3 T3 is offline
external usenet poster
 
Posts: 3
Default Count numbers

Cheers Pete
But this counts all numbers above 1400 and then all numbers below 1500 and
the difference could be a negative value, its the number of numbers between
the two values.



"T3" wrote:

say 1400 & <1500 in a range from 1200 to 1600

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 168
Default Count numbers

Hi T3,

I'm sure it was just a typo, Pete meant
=COUNTIF(range,"1400") - COUNTIF(range,"1500")

Depending on your requirements you may also need
=COUNTIF(range,"=1400") - COUNTIF(range,"=1500")
or some other slight variant

HTH
Martin

"T3" wrote in message
...
Cheers Pete
But this counts all numbers above 1400 and then all numbers below 1500 and
the difference could be a negative value, its the number of numbers
between
the two values.



"T3" wrote:

say 1400 & <1500 in a range from 1200 to 1600



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default Count numbers

.... or even


=COUNTIF(range,"1400") - COUNTIF(range,"=1500")


<bg

--
__________________________________
HTH

Bob

"MartinW" wrote in message
...
Hi T3,

I'm sure it was just a typo, Pete meant
=COUNTIF(range,"1400") - COUNTIF(range,"1500")

Depending on your requirements you may also need
=COUNTIF(range,"=1400") - COUNTIF(range,"=1500")
or some other slight variant

HTH
Martin

"T3" wrote in message
...
Cheers Pete
But this counts all numbers above 1400 and then all numbers below 1500
and
the difference could be a negative value, its the number of numbers
between
the two values.



"T3" wrote:

say 1400 & <1500 in a range from 1200 to 1600







  #6   Report Post  
Posted to microsoft.public.excel.misc
T3 T3 is offline
external usenet poster
 
Posts: 3
Default Count numbers

Thanks all,
Worked perfectly.

T3

"T3" wrote:

say 1400 & <1500 in a range from 1200 to 1600

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 168
Default Count numbers

LOL

I'd like to claim typo too, but probably more likely the beer. <g

Cheers
Martin


"Bob Phillips" wrote in message
...
... or even


=COUNTIF(range,"1400") - COUNTIF(range,"=1500")


<bg

--
__________________________________
HTH

Bob

"MartinW" wrote in message
...
Hi T3,

I'm sure it was just a typo, Pete meant
=COUNTIF(range,"1400") - COUNTIF(range,"1500")

Depending on your requirements you may also need
=COUNTIF(range,"=1400") - COUNTIF(range,"=1500")
or some other slight variant

HTH
Martin

"T3" wrote in message
...
Cheers Pete
But this counts all numbers above 1400 and then all numbers below 1500
and
the difference could be a negative value, its the number of numbers
between
the two values.



"T3" wrote:

say 1400 & <1500 in a range from 1200 to 1600







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 numbers and non numbers(conditional values) Ecoman Excel Discussion (Misc queries) 5 May 9th 08 04:56 PM
How do i count numbers and letters to find a total count of all Linda Excel Worksheet Functions 4 November 10th 05 04:51 PM
Number count - postcodes and need to count the numbers of tim... Mark - Aust Excel Discussion (Misc queries) 1 October 24th 05 10:00 AM
Count comma separated numbers, numbers in a range with dash, not t Mahendra Excel Discussion (Misc queries) 0 August 8th 05 05:56 PM
count a group of numbers but do not count duplicates Lisaml Excel Worksheet Functions 2 January 26th 05 11:19 PM


All times are GMT +1. The time now is 02:17 PM.

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"