+ Reply to Thread
Results 1 to 7 of 7

Finding the mean/median of listed data

  1. #1
    Registered User
    Join Date
    10-29-2015
    Location
    Singapore
    MS-Off Ver
    2011
    Posts
    3

    Finding the mean/median of listed data

    Hi there,

    I am trying to get the mean and/or median of ages of a specific set but the data is organised in lists. i.e. the population that is aged 0 is presented by the number 10626.8 rather than the number 0 appearing 10626.8 times.

    There is data for every age up until 85 where it is grouped into 85+.

    For some reason I cannot paste a screenshot in here so I'm hoping that this is enough information!

    Thanks so much for your help, really appreciate it

  2. #2
    Registered User
    Join Date
    10-29-2015
    Location
    Singapore
    MS-Off Ver
    2011
    Posts
    3

    Re: Finding the mean/median of listed data

    Capture.PNG

    Not sure if this picture grab will work...

  3. #3
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: Finding the mean/median of listed data

    Guessing ... you probably need a conditional median for example to exclude zeros within the data
    Try something along these lines:
    Put in say B2: =MEDIAN(IF(A2:A5>0,A2:A5))
    then press CTRL+SHIFT+ENTER to array enter the formula

  4. #4
    Registered User
    Join Date
    10-29-2015
    Location
    Singapore
    MS-Off Ver
    2011
    Posts
    3

    Re: Finding the mean/median of listed data

    Well no because people aged 0 are just under 1, they are still members of the population. There is no data that I don't want to include

  5. #5
    Registered User
    Join Date
    10-29-2015
    Location
    London
    MS-Off Ver
    2013
    Posts
    3

    Re: Finding the mean/median of listed data

    Yeah, you may probably need a casesam conditional median. That's ourcase right.
    Last edited by NUguvhbn; 10-29-2015 at 10:12 PM.

  6. #6
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: Finding the mean/median of listed data

    Still guessing ... one variation of the earlier that could suit what you have/are trying to do

    Assume you have the text names of the age buckets in A2:A100 eg: Age 0, Age 1-15, etc
    and in B2:B100 are the corresponding data values (numbers)

    Place in say C2: =MEDIAN(IF($A$2:$A$100="Age 0",$B$2:$B$100))
    then press CTRL+SHIFT+ENTER to array enter the formula [instead of just pressing ENTER]

  7. #7
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Finding the mean/median of listed data

    I think that the OP is wishing to obtain the median/mean from a frequency table.

    If a workbook with a small example and expected result is provided then I can post a solution.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

+ 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. Replies: 4
    Last Post: 03-31-2015, 11:40 AM
  2. Finding the median in an array
    By cdesantis01 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-07-2014, 11:12 AM
  3. [SOLVED] Question of Finding a Median within Data
    By trfarley05 in forum Excel General
    Replies: 10
    Last Post: 06-06-2012, 07:54 AM
  4. Finding Median using VBA code
    By amid in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-11-2010, 03:21 PM
  5. Finding the median
    By pickslides in forum Excel General
    Replies: 2
    Last Post: 11-11-2009, 07:29 PM
  6. problem finding the median
    By cwwineman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-18-2008, 07:41 PM
  7. Finding Median if a value = 1.. help!
    By Greg in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-13-2005, 12:06 AM

Tags for this Thread

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