Closed Thread
Results 1 to 4 of 4

Sum absolute differences of all possible pairs

Hybrid View

  1. #1
    Registered User
    Join Date
    05-28-2010
    Location
    Guelph
    MS-Off Ver
    Excel 2003
    Posts
    8

    Sum absolute differences of all possible pairs

    I'm trying to translate this:
    ΣiΣj |(yi-yj)| into excel somehow for 100 observations.

    I've done the work for 4 values using absolute referencing, but if I were to extend that to 100 values it would take a TON of work, can anyone suggest a shortcut? E1-E4 are the values I'm using while F- I are the differences when E1, E2, E3, and E4 are used first respectively. J1 is the sum of all these values. Any help would be much appreciated.
    Attached Files Attached Files

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Sum absolute differences of all possible pairs

    mmmm?

    There is a remarkably similar question in a recent thread, try this link

    http://www.excelforum.com/excel-gene...t-formula.html

    Have you given up with both your professor and shg?

  3. #3
    Registered User
    Join Date
    05-28-2010
    Location
    Guelph
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Sum absolute differences of all possible pairs

    no I was actually gonna PM shg
    can you bugger off though

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Sum absolute differences of all possible pairs

    Hello sdiazl,

    You will get more answers by being civil than a Sasannach!
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

Closed Thread

Thread Information

Users Browsing this Thread

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

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