+ Reply to Thread
Results 1 to 2 of 2

Weighted Median with a condition (group by)

  1. #1
    Registered User
    Join Date
    03-24-2012
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    1

    Weighted Median with a condition (group by)

    Hi All,

    I am new to VBA programming, I need some help in calculating Weighted Median with a condition of group by based on the value in another column. I attached a sample file of my requirement. Column A contains the item number and Column B contains the weight and Column C contains the values. I need the weighted median for each item on Column D.

    I would appreciate if someone helps by providing any code or formula or user defined function to calculate these.

    Thanks in advance.
    -Jagan
    Attached Files Attached Files

  2. #2
    Forum Contributor timtim89's Avatar
    Join Date
    01-05-2012
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2010
    Posts
    141

    Re: Weighted Median with a condition (group by)

    Welcome to the forum!

    See attachment. In that median is Weight*Value / Count. Let me know if it solves your problem (:
    Last edited by timtim89; 03-28-2012 at 03:07 AM.

+ Reply to 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