This is for a school. I need to rank the students based on family information.
FamilyID = one ID per family
StudentID = unique student ID
Grade = student's grade
TeachingFamily = binary, do they have a parent who teaches at the school
Status = are they a Full Time or Part Time? (not binary, as their other factors that I didn't bother to explain)
I have to rank the students by grade WITHIN EACH FAMILY. The oldest student receives a 4% discount, the second oldest receives 7%, and any other younger students receive a 40% discount.
In addition, the student must have the following criteria:
TeachingFamily = NO
Status = Full Time
If I use the Countif formula, then the spreadsheet must be sorted by FamilyID and StudentID. If I change the sort, the rankings change.
To restate the above:
The oldest, Full Time, non-Teaching Family student receives a 4% discount.
Second oldest Full Time student receives a 7% discount.
All other younger Full Time students receives a 40% discount.
If you are a Part Time student within this same family, you do not receive any discount.
Also, keep in mind that there may be a family with twins/triplets. If they are the oldest or second oldest, only one receives the 4% and 7% discount.
I'm trying to avoid a macro or VBA because I am not skilled in these areas.
I am using Excel for Mac 2011. Hope this doesn't make a difference!
Thanks in advance.
FamilyID = one ID per family
StudentID = unique student ID
Grade = student's grade
TeachingFamily = binary, do they have a parent who teaches at the school
Status = are they a Full Time or Part Time? (not binary, as their other factors that I didn't bother to explain)
I have to rank the students by grade WITHIN EACH FAMILY. The oldest student receives a 4% discount, the second oldest receives 7%, and any other younger students receive a 40% discount.
In addition, the student must have the following criteria:
TeachingFamily = NO
Status = Full Time
If I use the Countif formula, then the spreadsheet must be sorted by FamilyID and StudentID. If I change the sort, the rankings change.
To restate the above:
The oldest, Full Time, non-Teaching Family student receives a 4% discount.
Second oldest Full Time student receives a 7% discount.
All other younger Full Time students receives a 40% discount.
If you are a Part Time student within this same family, you do not receive any discount.
Also, keep in mind that there may be a family with twins/triplets. If they are the oldest or second oldest, only one receives the 4% and 7% discount.
I'm trying to avoid a macro or VBA because I am not skilled in these areas.
I am using Excel for Mac 2011. Hope this doesn't make a difference!
Thanks in advance.