+ Reply to Thread
Results 1 to 6 of 6

Calculating the median from a frequency table?

  1. #1
    Registered User
    Join Date
    05-23-2007
    Posts
    9

    Calculating the median from a frequency table?

    Hello!

    I would like to calculate the median for a distribution involving frequencies for each value. Lets say my students write a very small exam which can render up to 10 points, and that the results are (picture below):

    I would like to create an internal array like {3,3,4,4,4,5,5,5,6,8} from which to calculate the median. How on earth is this done?

    Thanks!
    Uffe
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,343

    Re: Calculating the median from a frequency table?

    maybe
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    05-23-2007
    Posts
    9

    Re: Calculating the median from a frequency table?

    This formula will produce the mean, however I want to calculate the median (middle value if sorted)!

  4. #4
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,343

    Re: Calculating the median from a frequency table?

    oh OK. I think this works.

    Please Login or Register  to view this content.
    Last edited by scottiex; 04-27-2017 at 04:13 PM. Reason: updated to L

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Calculating the median from a frequency table?

    Another way:

    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    2
    Points
    0
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    3
    Freq
    2
    3
    3
    1
    1
    4
    Median
    4.5
    B4: {=MEDIAN(IF(ROW(INDEX(B:B, 1):INDEX(B:B, MAX(B3:L3))) <= B3:L3, B2:L2))}
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Registered User
    Join Date
    05-23-2007
    Posts
    9

    Re: Calculating the median from a frequency table?

    Thanks guys! I'll translate these to my original problem and see to that it works the way I want it!

    Hats off!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Calculating percentile from a frequency table
    By mychfaccount in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-17-2017, 10:33 AM
  2. Replies: 2
    Last Post: 04-26-2017, 11:28 AM
  3. Replies: 7
    Last Post: 09-12-2016, 09:43 AM
  4. Excel 2007 : Calculating the median using multiple criteria
    By scubadiver007 in forum Excel General
    Replies: 4
    Last Post: 02-22-2012, 10:31 AM
  5. calculating MEDIAN with conditions, VBA
    By Lifeseeker in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-06-2012, 03:01 AM
  6. calculating median
    By smoosh1011 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-28-2009, 05:29 PM
  7. median, frequency or histogram
    By Larry Holt in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-11-2006, 10:30 AM

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