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
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
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?
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})
It does not work in all the cells in the column.
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?
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
Sorry about that.
Formula:Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks