Closed Thread
Results 1 to 2 of 2

HOW can I calculate a weighted quartile/IQR? in excel?

  1. #1
    Registered User
    Join Date
    03-22-2022
    Location
    South korea
    MS-Off Ver
    excel
    Posts
    2

    HOW can I calculate a weighted quartile/IQR? in excel?

    Hi all. I have the following data :

    Column A is the value (0, 1, 2,,, 255) :: A1~A256
    Column B is the amount of each value :: B1~B256

    I want to calculate the weighte quartile and IQR of the value of column A, weighted by column B(the amount of each values)..

    I've tried the quartile function, and it doesn't seem to work.

    This function is resulting to the #NUM! error :
    = QUARTILE.EXC(SUMPRODUCT(A2:A256,B2:B256)/SUM(B2:B256),1)
    = QUARTILE.EXC(SUMPRODUCT(A2:A256,B2:B256)/SUM(B2:B256),3)

    And this function is resulting to the weighted average :
    = QUARTILE.EXC(SUMPRODUCT(A2:A256,B2:B256)/SUM(B2:B256),2)

    I can do a quartile of one column and a weighted average of 2 columns.. but am unable to calculate a weighted quartile, median of 2 columns...

    PLEASE HELP !!!!
    Last edited by kimrhrh11; 03-22-2022 at 11:39 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,206

    Re: HOW can I calculate a weighted quartile/IQR? in excel?

    Administrative Note:

    Welcome to the forum.

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread: https://www.excelforum.com/excel-for...-in-excel.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Calculate weighted percentile
    By BWV10 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-28-2021, 05:46 PM
  2. [SOLVED] How to calculate weighted geometric mean in excel?
    By _hs_ in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-08-2020, 09:42 AM
  3. [SOLVED] How to calculate weighted average
    By Raehan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-19-2017, 11:45 AM
  4. [SOLVED] Trying to calculate a quartile of a data set that meets certain conditions
    By harrydnyc in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-16-2015, 01:25 AM
  5. Correlation for 1st quartile, 2nd quartile, 3rd quartile, 4th quartile
    By DexterG in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-11-2013, 07:17 AM
  6. Replies: 3
    Last Post: 06-01-2012, 02:06 PM
  7. [SOLVED] What is the formula used to calculate the 1st and 3rd quartile?
    By mpeters in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-14-2006, 05:45 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