+ Reply to Thread
Results 1 to 2 of 2

ignoring non-numerical values in sumproduct and transpose

  1. #1
    Registered User
    Join Date
    01-15-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    ignoring non-numerical values in sumproduct and transpose

    Hi
    This is my first post.
    I've seen a few threads here with formulas to calculate the absolute difference between pairs, a common statistical process. It involves SUMPRODUCT and TRANSPOSE into an array.

    I have issue which must have an easy solution!? In the list of data there are values (which I want to use) and blank values ("") which I don't want used in the calculation.

    The formula I have come up with is shown below but I just can't figure out how to ignore the blanks:

    {SUMPRODUCT(ABS(E6:E96-TRANSPOSE(E6:E96)))/((COUNTA(E6:E96)*((COUNTA(E6:E96)-1))))}

    The real headache is getting the SUMPRODUCT(ABS(E6:E96-TRANSPOSE(E6:E96))) to ignore the blanks. I can get around the bottom bit.

    The formula is for the Gini Mean Difference (a different function to the Gini Coefficient).

    There has to be a simple solution!

    Any help appreciated.

    truedogz

  2. #2
    Registered User
    Join Date
    01-15-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: ignoring non-numerical values in sumproduct and transpose

    Hi

    I am trying to attach a sheet indicating what I am trying to do.


    TruedogzGMD Example.xlsx

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. SUMPRODUCT using numerical criteria
    By fabrecass in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-02-2013, 07:54 AM
  2. Sumproduct ignoring 0 values
    By Sinnie in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-29-2013, 10:04 AM
  3. Replies: 3
    Last Post: 06-17-2010, 03:04 PM
  4. Numerical calculations ignoring text?
    By Mattisson in forum Excel General
    Replies: 3
    Last Post: 07-30-2009, 07:11 AM
  5. Ignoring text and errors with Sumproduct
    By SteveC in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-01-2006, 02:10 PM

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