Results 1 to 2 of 2

Thread: Counting Columns of range having value greater then Zero

  1. #1
    Member
    Join Date
    Nov 2011
    Posts
    41
    Rep Power
    0

    Counting Columns of range having value greater then Zero

    Hi All,


    I Have a range of 12 columns, Now i want to count how many columns have value which is greater then Zero because all cells contain zero as their default Value. Cells will consist only numeric value either Zero or Greater then Zero.



    Regards And Thanks

  2. #2
    Junior Member NBVC's Avatar
    Join Date
    Jun 2012
    Posts
    5
    Rep Power
    0
    Are you asking to count how many >0 an a row per row basis for the 12 columns?

    Like: =COUNTIF(A1:L1,">0")

    or in all 12 columns how many have numbers greater than 0?

    Like: =SUMPRODUCT(--(MMULT(--TRANSPOSE((A1:L25)>0),ROW(A1:L25)^0)>0)) confirmed with CTRL+SHIFT+ENTER not just ENTER, where A1:L25 is the whole range of 12 columns. This counts number of columns containing at least 1 non-zero value.

Similar Threads

  1. Replies: 7
    Last Post: 05-15-2013, 02:56 PM
  2. 4000 and Counting !!!!
    By Admin in forum Greetings and Inception
    Replies: 4
    Last Post: 03-21-2013, 04:57 AM
  3. Split Range into Multiple Columns VBA
    By Admin in forum Excel and VBA Tips and Tricks
    Replies: 3
    Last Post: 03-07-2012, 10:53 PM
  4. Spreading a time range (shift time, etc) in columns.
    By Rajesh Kr Joshi in forum Excel Help
    Replies: 1
    Last Post: 08-23-2011, 11:45 AM
  5. Replies: 6
    Last Post: 04-03-2011, 09:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •