Percentile Numbers dont add up...

richphi37

New Member
Joined
Jul 14, 2020
Messages
12
Office Version
  1. 365
Platform
  1. Windows
Hey everyone,

I have a list of 45 GPAs in Column E. Column I is Commandants list (CL) eligibility and Column J is Superior Academic Award (SA). Both I and J are Y/N for whether the student is eligible or not.

Here are the rules:
The top student gets Distinguished Honor Grad (DHG),
If a student is eligible for CL and is in the top 20% of the class, they get CA
Top 40% who are eligible get SA.
Otherwise they're just a grad
Again, there are 45 Students.

I put in this formula:
=IF(F4>PERCENTILE($F$4:$F$48,0.9999),"Distinguished Honor Graduate",IF(AND(I4="Y",F4>PERCENTILE($F$4:$F$48,0.71)),"COMMANDANT LIST",IF(AND(J4="y",F4>PERCENTILE($F$4:$F$48,0.5)),"SUPERIOR ACADEMIC ABCHIEVEMENT","GRAD")))

I had to change the percentile to 71 to get it to 8, which is 20% with the DHG and for SA I had to change to 50% to get 9.
Here I have 1 DHG, 8 CL, 9 SA, and 27 GRAD, those numbers are right, but the percentiles are wrong!?!?!

When I change it to 60 and 80, I get 1 DHG, 6 CL, 7 SA and 31 31 Grad.
=IF(F4>PERCENTILE($F$4:$F$48,0.9999),"Distinguished Honor Graduate",IF(AND(I4="Y",F4>PERCENTILE($F$4:$F$48,0.8)),"COMMANDANT LIST",IF(AND(J4="y",F4>PERCENTILE($F$4:$F$48,0.6)),"SUPERIOR ACADEMIC ABCHIEVEMENT","GRAD")))
I don't understand why 80 and 60 won't work?

If you have an answer I would appreciate it.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
One possible issue:

=IF(F4>PERCENTILE($F$4:$F$48,0.9999),"Distinguished Honor Graduate",IF(AND(I4="Y",F4>PERCENTILE($F$4:$F$48,0.8)),"COMMANDANT LIST",IF(AND(J4="y",F4>PERCENTILE($F$4:$F$48,0.6)),"SUPERIOR ACADEMIC ABCHIEVEMENT","GRAD")))

Should that be I4?

Here's an alternative as well:

Book1
FGHIJKLM
3GradesDHGCLSAGRAD
43.1381SUPERIOR ACADEMIC ACHIEVEMENTy18927
52.6758GRADy
62.6416GRADy
72.1105GRADy
83.7624Commandant Listy
92.0605GRADy
102.1563GRADy
112.9914SUPERIOR ACADEMIC ACHIEVEMENTy
123.7709Commandant Listy
132.7228GRADy
142.1201GRADy
153.1888SUPERIOR ACADEMIC ACHIEVEMENTy
162.4362GRADy
172.2492GRADy
183.1642SUPERIOR ACADEMIC ACHIEVEMENTy
192.7292GRADy
203.2257SUPERIOR ACADEMIC ACHIEVEMENTy
213.2709Commandant Listy
222.0531GRADy
233.0059SUPERIOR ACADEMIC ACHIEVEMENTy
242.0185GRADy
252.9777GRADy
263.2341SUPERIOR ACADEMIC ACHIEVEMENTy
272.8423GRADy
282.1439GRADy
292.8544GRADy
302.9256GRADy
312.1951GRADy
322.5421GRADy
333.9560Distinguished Honor Graduatey
342.4663GRADy
353.5356Commandant Listy
363.1442SUPERIOR ACADEMIC ACHIEVEMENTy
372.6025GRADy
383.7676Commandant Listy
392.1439GRADy
403.2013SUPERIOR ACADEMIC ACHIEVEMENTy
413.7998Commandant Listy
422.6126GRADy
432.3777GRADy
443.7623Commandant Listy
452.5362GRADy
462.0577GRADy
472.9072GRADy
483.3730Commandant Listy
Sheet2
Cell Formulas
RangeFormula
J4:M4J4=COUNTIFS(G4:G48,{"D*","C*","S*","G*"})
G4:G48G4=IF(OR(I4="Y",F4=MAX($F$4:$F$48)),LOOKUP(F4,PERCENTILE($F$4:$F$48,{0,0.6,0.8,0.9999}),{"GRAD","SUPERIOR ACADEMIC ACHIEVEMENT","Commandant List","Distinguished Honor Graduate"}),"")
Dynamic array formulas.



Edit: Looks like I might have misread the question. Column J is the column for eligibility for SA? So column I and J might both have a Y in it?
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top