#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Count ??

I am trying to count random cells (non contiguous) in the same column and
show (in one cell) the total number that are 1, =0, <1

my formula thus far =COUNT(C41,C61,C81,C101,C121,C141,C161,C181)
this shows how many numbers (8)

How do I distinguish for my criteria above?

Your thoughts are appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,104
Default Count ??

Not very sophisticated but it works
=(ABS(C41)<=1)+(ABS(C61)<=1)+(ABS(C81)<=1)+(ABS(C1 01)<=1).....
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"dakotablu" wrote in message
...
I am trying to count random cells (non contiguous) in the same column and
show (in one cell) the total number that are 1, =0, <1

my formula thus far =COUNT(C41,C61,C81,C101,C121,C141,C161,C181)
this shows how many numbers (8)

How do I distinguish for my criteria above?

Your thoughts are appreciated.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Count ??

Thanks Bernard

So, is there no way I can count through the selected cells to the amount of
values that are 0, =0, <0



"Bernard Liengme" wrote:

Not very sophisticated but it works
=(ABS(C41)<=1)+(ABS(C61)<=1)+(ABS(C81)<=1)+(ABS(C1 01)<=1).....
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"dakotablu" wrote in message
...
I am trying to count random cells (non contiguous) in the same column and
show (in one cell) the total number that are 1, =0, <1

my formula thus far =COUNT(C41,C61,C81,C101,C121,C141,C161,C181)
this shows how many numbers (8)

How do I distinguish for my criteria above?

Your thoughts are appreciated.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27
Default Count ??

You can Sum logical test

less than one
=SUM( (C41<1), (C61<1), ... )

equal to zero
=SUM( (C41=0), (C61=0), ... )

greater than one
=SUM( (C411), (C611), ... )

If wanted, the results can be cancatenated into one cell with text.

="Count <1 " & SUM( (C41<1), (C61<1), ... ) & ", Count =0 " & SUM( (C41=0),
(C61=0), ... ) & ", Count 1 " & SUM( (C411), (C611), ... )


"dakotablu" wrote:

I am trying to count random cells (non contiguous) in the same column and
show (in one cell) the total number that are 1, =0, <1

my formula thus far =COUNT(C41,C61,C81,C101,C121,C141,C161,C181)
this shows how many numbers (8)

How do I distinguish for my criteria above?

Your thoughts are appreciated.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Count ??

I am trying to count random cells (non contiguous)
=COUNT(C41,C61,C81,C101,C121,C141,C161,C181)


Your cells follow a pattern, every 20 rows, so you can use a formula like
this:

=SUMPRODUCT(--(MOD(ROW(C41:C181)-ROW(C41),20)=0),--(C41:C1810))

For =0, an empty cell evaluates as 0 so if you have empty cells and don't
want them counted:

=SUMPRODUCT(--(MOD(ROW(C41:C181)-ROW(C41),20)=0),--(ISNUMBER(C41:C181)),--(C41:C181=0))

--
Biff
Microsoft Excel MVP


"dakotablu" wrote in message
...
Thanks Bernard

So, is there no way I can count through the selected cells to the amount
of
values that are 0, =0, <0



"Bernard Liengme" wrote:

Not very sophisticated but it works
=(ABS(C41)<=1)+(ABS(C61)<=1)+(ABS(C81)<=1)+(ABS(C1 01)<=1).....
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"dakotablu" wrote in message
...
I am trying to count random cells (non contiguous) in the same column
and
show (in one cell) the total number that are 1, =0, <1

my formula thus far =COUNT(C41,C61,C81,C101,C121,C141,C161,C181)
this shows how many numbers (8)

How do I distinguish for my criteria above?

Your thoughts are appreciated.






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
Multiple Criteria, Count If, Sum Product to get count across range Jonathan Excel Worksheet Functions 5 January 9th 08 11:32 PM
Count Employee Work Time - Don't Double-count Overlapping Apts. J Excel Worksheet Functions 0 April 27th 07 05:52 AM
Excel 2000, count, sort a list & count totals? sunslight Excel Worksheet Functions 1 April 9th 07 05:46 PM
Count Intervals of 2 Numeric values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 12 September 24th 05 10:58 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM


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