Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
SSM SSM is offline
external usenet poster
 
Posts: 3
Default Counting instances of an incident happening

My worksheet is like this:
A1 A2...
120 210 333 400 510 625 789 801 ...10000

How can I get the how many of the cells the cells have a value between 0 and
400 (in the question above 4), how many times the cells have a value between
401 and 800 (3), etc.?

Thanks in advance...

Regards,
SSM



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Counting instances of an incident happening

=COUNTIF(A1:A100,"<=400")

=COUNTIF(A1:A100,"<=800")-COUNTIF(A1:A100,"<=400")

etc.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"SSM" wrote in message
...
My worksheet is like this:
A1 A2...
120 210 333 400 510 625 789 801 ...10000

How can I get the how many of the cells the cells have a value between 0

and
400 (in the question above 4), how many times the cells have a value

between
401 and 800 (3), etc.?

Thanks in advance...

Regards,
SSM





  #3   Report Post  
Posted to microsoft.public.excel.programming
SSM SSM is offline
external usenet poster
 
Posts: 3
Default Counting instances of an incident happening

Works like a charm!!! Thanks a heap!!!
SSM

"Bob Phillips" wrote in message
...
=COUNTIF(A1:A100,"<=400")

=COUNTIF(A1:A100,"<=800")-COUNTIF(A1:A100,"<=400")

etc.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"SSM" wrote in message
...
My worksheet is like this:
A1 A2...
120 210 333 400 510 625 789 801 ...10000

How can I get the how many of the cells the cells have a value between 0

and
400 (in the question above 4), how many times the cells have a value

between
401 and 800 (3), etc.?

Thanks in advance...

Regards,
SSM







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
Counting Consecutive Instances carl Excel Worksheet Functions 3 September 24th 07 07:08 PM
Counting instances in string John in Wembley Excel Discussion (Misc queries) 11 September 18th 07 06:51 PM
Counting Multiple Instances Curtis Excel Worksheet Functions 3 January 31st 07 06:22 PM
Counting instances in a cell [email protected] Excel Discussion (Misc queries) 2 December 11th 04 03:14 PM
Counting Instances of a Value? Neil[_17_] Excel Programming 2 December 5th 03 08:36 PM


All times are GMT +1. The time now is 03:08 AM.

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"