Results 1 to 3 of 3

Counting nonzero values in a dynamic range

Threaded View

  1. #1
    Registered User
    Join Date
    08-14-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2016
    Posts
    32

    Counting nonzero values in a dynamic range

    Hi,
    I have several large sparse matrices containing duplicate headers for row and column vectors. Due to this, it is likely that multiple rows with same row header may have different values in a single column vector and vice versa. As an intermediate step, I need to calculate if, and how may, duplicates exist in relation to each unique row header. I can do it for individual rows/columns using, for instance, "=COUNTIF(C$4:C$9,">"&0)" but I'm wondering if it can be done for the whole matrix.

    The example data is attached in which lower matrix has to be filled with count of non-zero values corresponding to each unique row header.

    I shall be grateful for any help.

    Best regards,
    guest
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Counting only nonzero values in the values field for pivots
    By ScottBeatty in forum Excel Charting & Pivots
    Replies: 11
    Last Post: 07-23-2013, 11:53 AM
  2. Extract nonzero values from array
    By emricki in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-18-2011, 01:31 PM
  3. Counting the number values in a column which is dynamic
    By nynamyna in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-23-2011, 10:35 AM
  4. Condensing a data range with only a few nonzero values???
    By Travis.Broersma in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-09-2006, 05:00 PM
  5. How to compute StDev of only nonzero entries in a range?
    By Sam in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-18-2005, 08:06 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1