Hi all!
Our school require all students to have 23 credits to graduate. For the students to be in 9th grade, they must have less than 6 credits. To be in 10th grade they must have between 6 and 11.99 credits. To be in 11th grade, they must have between 12 and 16.99 credits. To be in 12th grade, they must have 17 or more credits.
The problem is when we receive transferred students who have attended other high schools, their graduation requirement might be higher. So if the transferred student needs 24 credits to graduate then she must have less than 7 credits to be in 9th grade, between 7 and 13.99 to be in 10th grade …etc.
I need to have an if statement to place all students in the right grade level. In excel 2016 sheet I have 17 columns: Column C has the grade level, column N has the total credits the students earned so far, column O has Graduation Requirement (23 or higher). I need to place the If statement in column C to show the correct grade level.
Please see example below:
[TABLE="width: 468"]
<tbody>[TR]
[TD]Column A
[/TD]
[TD]Column B
[/TD]
[TD]Column C
[/TD]
[TD][/TD]
[TD]Column N
[/TD]
[TD]Column O[/TD]
[/TR]
[TR]
[TD]State ID
[/TD]
[TD]Name
[/TD]
[TD]Grade
[/TD]
[TD][/TD]
[TD]Total Credit
[/TD]
[TD]GradReq[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]10[/TD]
[TD][/TD]
[TD]11.75[/TD]
[TD]23[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]10[/TD]
[TD][/TD]
[TD]7.5[/TD]
[TD]24[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]12[/TD]
[TD][/TD]
[TD]20.5[/TD]
[TD]24.5[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]10[/TD]
[TD][/TD]
[TD]10.65[/TD]
[TD]23.4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]11[/TD]
[TD][/TD]
[TD]17.05[/TD]
[TD]23.8[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]9[/TD]
[TD][/TD]
[TD]7.7[/TD]
[TD]24.75[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]12[/TD]
[TD][/TD]
[TD]22.5[/TD]
[TD]27.5[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]11[/TD]
[TD][/TD]
[TD]20[/TD]
[TD]27[/TD]
[/TR]
</tbody>[/TABLE]
Our school require all students to have 23 credits to graduate. For the students to be in 9th grade, they must have less than 6 credits. To be in 10th grade they must have between 6 and 11.99 credits. To be in 11th grade, they must have between 12 and 16.99 credits. To be in 12th grade, they must have 17 or more credits.
The problem is when we receive transferred students who have attended other high schools, their graduation requirement might be higher. So if the transferred student needs 24 credits to graduate then she must have less than 7 credits to be in 9th grade, between 7 and 13.99 to be in 10th grade …etc.
I need to have an if statement to place all students in the right grade level. In excel 2016 sheet I have 17 columns: Column C has the grade level, column N has the total credits the students earned so far, column O has Graduation Requirement (23 or higher). I need to place the If statement in column C to show the correct grade level.
Please see example below:
[TABLE="width: 468"]
<tbody>[TR]
[TD]Column A
[/TD]
[TD]Column B
[/TD]
[TD]Column C
[/TD]
[TD][/TD]
[TD]Column N
[/TD]
[TD]Column O[/TD]
[/TR]
[TR]
[TD]State ID
[/TD]
[TD]Name
[/TD]
[TD]Grade
[/TD]
[TD][/TD]
[TD]Total Credit
[/TD]
[TD]GradReq[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]10[/TD]
[TD][/TD]
[TD]11.75[/TD]
[TD]23[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]10[/TD]
[TD][/TD]
[TD]7.5[/TD]
[TD]24[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]12[/TD]
[TD][/TD]
[TD]20.5[/TD]
[TD]24.5[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]10[/TD]
[TD][/TD]
[TD]10.65[/TD]
[TD]23.4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]11[/TD]
[TD][/TD]
[TD]17.05[/TD]
[TD]23.8[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]9[/TD]
[TD][/TD]
[TD]7.7[/TD]
[TD]24.75[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]12[/TD]
[TD][/TD]
[TD]22.5[/TD]
[TD]27.5[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]11[/TD]
[TD][/TD]
[TD]20[/TD]
[TD]27[/TD]
[/TR]
</tbody>[/TABLE]