Mike Collins
New Member
Hi All,
Not 100% sure how to explain this problem (I even struggled to think of a title for the post).
I have attached a sample spread sheet, with annotation that I think explains the problem more fully.
I have a list of students on courses - students have an ID, course have a code. One student may appear in the sheet multiple time, each entry with a different course. Each student is given an average point score as a decimal value, which is consistent across all subjects that they are taking:
{ID}_{Name}_{Point Score}_{Course Code}_{Course Title}_{Predicated Grade}
1____John_______4.5_________ABC________Science
1____John_______4.5_________DEF________Maths
On another sheet, I have a list of all courses (Course Code & Title) listed vertically. Horizontally I have grades (A, B, C, D, E, U). For each course, I then have the numeric grade that indicates the lower boundary for a given alphabetic grade - these are different for each course:
{Course Code}_{Course Title}_{A}___{B}___{C}___{D}___{E}___{U}
ABC___________Science_____7.2____6.2___ 5.2___4.2_____4____3.8
DEF___________Maths_______6.8____5.8___4.8___4.0_____3.8___3
What I need to do, in the student sheet, is look up the predicted Alpha grade, based on the students Course Code and Point Score.
So, in the example above, Student 1 (John) on course ABC (Science), with a Point Score of 4.5, would have a Predicted Grade of 'D'.
I have tried a variety of different LOOKUP's and INDEX / MATCH combinations but the problem is that when I am searching for the Course Code (from Student in Course) I need an exact match but when I am looking for the Point Score (from Student in Course) I need an approximate match. In addition, I cant see how to return the Alpha grade.
Any help or advice would be gratefully received
Mike
Not 100% sure how to explain this problem (I even struggled to think of a title for the post).
I have attached a sample spread sheet, with annotation that I think explains the problem more fully.
I have a list of students on courses - students have an ID, course have a code. One student may appear in the sheet multiple time, each entry with a different course. Each student is given an average point score as a decimal value, which is consistent across all subjects that they are taking:
{ID}_{Name}_{Point Score}_{Course Code}_{Course Title}_{Predicated Grade}
1____John_______4.5_________ABC________Science
1____John_______4.5_________DEF________Maths
On another sheet, I have a list of all courses (Course Code & Title) listed vertically. Horizontally I have grades (A, B, C, D, E, U). For each course, I then have the numeric grade that indicates the lower boundary for a given alphabetic grade - these are different for each course:
{Course Code}_{Course Title}_{A}___{B}___{C}___{D}___{E}___{U}
ABC___________Science_____7.2____6.2___ 5.2___4.2_____4____3.8
DEF___________Maths_______6.8____5.8___4.8___4.0_____3.8___3
What I need to do, in the student sheet, is look up the predicted Alpha grade, based on the students Course Code and Point Score.
So, in the example above, Student 1 (John) on course ABC (Science), with a Point Score of 4.5, would have a Predicted Grade of 'D'.
I have tried a variety of different LOOKUP's and INDEX / MATCH combinations but the problem is that when I am searching for the Course Code (from Student in Course) I need an exact match but when I am looking for the Point Score (from Student in Course) I need an approximate match. In addition, I cant see how to return the Alpha grade.
Any help or advice would be gratefully received
Mike