+ Reply to Thread
Results 1 to 5 of 5

Median based on criteria

  1. #1
    Registered User
    Join Date
    12-18-2008
    Location
    Sydney, Australia
    Posts
    94

    Median based on criteria

    Hi there,

    Im having a few issues trying to calculate the median in a document.

    First up - Im trying to calculate the median on a set of parameters. I need for my median to be based by operations centre based on an audit score. For example the BIF median, the MIN median etc. This can be seen in the attached document in the tab GRAPHS. I have set up a basic formula but not sure what else i need to put in.

    Secondly - Im having issues with the median formula when there is an N/A in the cell (as there is no input as yet). You can see in the main tabe AUDIT SCHEDULE AND DATA that i have set up column O to automatically assign a number based on column N. However if there is no score then an N/A is in cell O. This is fine - im just having problems when im trying to calculate the median.

    Any help that can be provided will be GREATLY appreciated. I have attahced a sample document with some detail.
    Attached Files Attached Files
    Last edited by fmluder93; 10-08-2011 at 12:52 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Determine median based on criteria

    Try:

    Please Login or Register  to view this content.
    confirmed with CTRL+SHIFT+ENTER not just ENTER and copied down.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    12-18-2008
    Location
    Sydney, Australia
    Posts
    94

    Re: Determine median based on criteria

    Thanks for your reply.

    It seems to work when i only put the row to 47 (and not 15091), as its having issues with the N/A in the cells that dont have a number. Is there any way to set it up so it only does the median on numbers and not text etc?

    I did try and amend so there was a 0 on the cell for results undetermined - but this seemed to affect the median as well.

    I have attached how i have amended the row.
    Attached Files Attached Files

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Median based on criteria

    Are you looking for Median or Average?

    I get Median of 3 for each of BIF, MIN, PAE, WAE

    Make sure to confirm the formula with CTRL+SHIFT+ENTER and not just ENTER.

    Try replacing MEDIAN with AVERAGE and confirm again.. maybe that was what you were expecting?

    If not, please identify what you expect as results.

    I used formula:

    Please Login or Register  to view this content.
    in B21, CSE confirmed and copied down

  5. #5
    Registered User
    Join Date
    12-18-2008
    Location
    Sydney, Australia
    Posts
    94

    Re: Median based on criteria

    I tried it again - and i worked out what it was doing. For some reason it was picking up the wrong cell (A21 instead of A22). It all works now

    A big big thank you.

+ 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