Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
les8
 
Posts: n/a
Default Countif if the value falls between 2 other values

Need to count values that fall between two limits: for example
462
997
569
122
Need to count values between 300 and 600.
I can do if my desired value is over or under a target, but not within a
range.
Any help would be greatly appreciated.
Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Peo Sjoblom
 
Posts: n/a
Default Countif if the value falls between 2 other values

=COUNTIF(A:A,"=300")-COUNTIF(A:A,"600")


--

Regards,

Peo Sjoblom


"les8" wrote in message
...
Need to count values that fall between two limits: for example
462
997
569
122
Need to count values between 300 and 600.
I can do if my desired value is over or under a target, but not within a
range.
Any help would be greatly appreciated.
Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.newusers
Alan
 
Posts: n/a
Default Countif if the value falls between 2 other values

Try
=SUMPRODUCT(--(A1:A1000=300),--(A1:A1000<=600))
Regards,
Alan.
"les8" wrote in message
...
Need to count values that fall between two limits: for example
462
997
569
122
Need to count values between 300 and 600.
I can do if my desired value is over or under a target, but not within a
range.
Any help would be greatly appreciated.
Thanks.



  #4   Report Post  
Posted to microsoft.public.excel.newusers
les8
 
Posts: n/a
Default Countif if the value falls between 2 other values

Thanks to both of you. It worked!

"les8" wrote:

Need to count values that fall between two limits: for example
462
997
569
122
Need to count values between 300 and 600.
I can do if my desired value is over or under a target, but not within a
range.
Any help would be greatly appreciated.
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
View of x-axis values AhmtDY Charts and Charting in Excel 2 October 18th 05 06:18 PM
How can I break values apart that are in the same cell? Phil Excel Worksheet Functions 3 October 4th 05 03:41 PM
Countif function ponygirl via OfficeKB.com Excel Worksheet Functions 5 September 30th 05 11:48 PM
Using countif to see if any values are added Jaydubs Excel Discussion (Misc queries) 2 March 4th 05 10:43 AM
Countif between two values Ronbo Excel Worksheet Functions 2 December 21st 04 07:52 PM


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