+ Reply to Thread
Results 1 to 7 of 7

Covert a Z score to a quintile and return a number 1 thru 5 based on the quintile.

  1. #1
    Registered User
    Join Date
    10-18-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2007
    Posts
    2

    Covert a Z score to a quintile and return a number 1 thru 5 based on the quintile.

    I have converted a raw score to a z score in one column
    In the next column I want to find the quintile score and return a 1 for 0-20%, 2 for 21-40%, 3 for 41-60%, 4 for 61-80% and 5 for 81-100%

    Thanks, Bob

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Covert a Z score to a quintile and return a number 1 thru 5 based on the quintile.

    With
    A1: a number between 0% and 100%, inclusive

    This regular formula returns the quintile for that value
    B1: =MAX(CEILING(A1/0.2,1),1)

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Covert a Z score to a quintile and return a number 1 thru 5 based on the quintile.

    Could you not use a VLOOKUP
    or Lookup:

    =LOOKUP(A1,{0.00,0.21,0.41,0.61,0.81,0.81},{1,2,3,4,5})

  4. #4
    Registered User
    Join Date
    10-18-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Covert a Z score to a quintile and return a number 1 thru 5 based on the quintile.

    It does not work in all the cells in the column.

  5. #5
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,811

    Re: Covert a Z score to a quintile and return a number 1 thru 5 based on the quintile.

    meaning that you are having trouble copying either function down the column? Or meaning that it is returning unexpected values in some of the copied cells?

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Covert a Z score to a quintile and return a number 1 thru 5 based on the quintile.

    If you're using Kevin's there's a typo, should be

    =LOOKUP(A1,{0.00,0.21,0.41,0.61,0.81,1.00},{1,2,3,4,5})
    I also assume you mean you've used the z score to calculate an area or probability. The z score is the standard deviation (typically in a z score table between -3.5 to 3.5)
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  7. #7
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Covert a Z score to a quintile and return a number 1 thru 5 based on the quintile.

    Sorry about that.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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