#1   Report Post  
Posted to microsoft.public.excel.misc
tellis
 
Posts: n/a
Default Help

I'm trying to get a total count of cells in a column that have a value
greater than 0, and if possible by odd numbered cells, not a total amount but
a total count. any ideas?
--
tellis
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Help

=countif(a:a,""&0)

and

=sumproduct(--(A1:A1000),--(MOD(ROW(A1:A100),2)=1))

Adjust the ranges to match--but you can't use whole columns.

=sumproduct() likes to work with numbers. The -- stuff changes trues and falses
to 1's and 0's.

Bob Phillips explains =sumproduct() in much more detail he
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

And J.E. McGimpsey has some notes at:
http://mcgimpsey.com/excel/formulae/doubleneg.html



tellis wrote:

I'm trying to get a total count of cells in a column that have a value
greater than 0, and if possible by odd numbered cells, not a total amount but
a total count. any ideas?
--
tellis


--

Dave Peterson
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



All times are GMT +1. The time now is 04:42 PM.

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"