Results 1 to 14 of 14

How to do a weighted median?

Threaded View

  1. #1
    Registered User
    Join Date
    11-02-2006
    Posts
    3

    How to do a weighted median?

    Is there any way to do a weighted median in Excel?

    Consider this example:

    Project.....Duration.....Units
    ---------------------------
    a.............10.............3.....
    b.............20.............2.....
    c.............30.............5.....

    I'm trying to get a median of duration, not based on project, but weighted by units.

    If I do a =MEDIAN(duration column), that will give me median by project. To get the more accurate number, I need to explode out the above chart to look like this:

    Project.....Duration
    ------------------
    a.............10.......
    a.............10.......
    a.............10.......
    b.............20.......
    b.............20.......
    c.............30.......
    c.............30.......
    c.............30.......
    c.............30.......
    c.............30.......

    Now if I do =MEDIAN(duration column) it will be weighted by units.

    The big question is though, is there a way in Excel to do the calculation on the first table, without exploding it into the second table?

    Thanks!
    Last edited by bnelson333; 11-02-2006 at 11:02 AM.

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