+ Reply to Thread
Results 1 to 3 of 3

Formula for Weighted Averages Based on Multiple Columns? Array Formula?

  1. #1
    Registered User
    Join Date
    11-08-2017
    Location
    Seattle
    MS-Off Ver
    2010
    Posts
    13

    Formula for Weighted Averages Based on Multiple Columns? Array Formula?

    Hi, please see attached picture. I am trying to find the weighted average and median using array formula of column E based on the values in column D. Right now I am using a simple average on column E without taking into consideration the corresponding values, but am wondering if it is possible to do this based on weighted averages which I think might be using an array formula. Thank you.

    Weighted Average on Columns.JPG

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Excel 2016 (Win 10 - Work) & 365 Subscription (Win 10 - Home)
    Posts
    24,763

    Re: Formula for Weighted Averages Based on Multiple Columns? Array Formula?

    Try this for the weighted average:

    =SUMPRODUCT(E3:E10,D3:D10)/SUM(D3:D10)

    For a possible weighted median solution, look here: https://www.excelforum.com/excel-for...ml#post4305114
    Last edited by AliGW; 04-17-2019 at 10:53 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    STOP PRESS: Forum Rules Updated September 2018! Please read them here.
    Are you new to Power Query and don't know what to do with the code you've been given? Have a look here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Excel 2016 (Win 10 - Work) & 365 Subscription (Win 10 - Home)
    Posts
    24,763

    Re: Formula for Weighted Averages Based on Multiple Columns? Array Formula?

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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