I have a spreadsheet set up where I have courses that a student has taken, their grades, etc. on one spreadsheet and a list of gen ed's on another sheet. Example:
Sheet 1
[TABLE="width: 500"]
<tbody>[TR]
[TD]Course[/TD]
[TD]Grade Pts[/TD]
[TD]Credits[/TD]
[/TR]
[TR]
[TD]PSY 101[/TD]
[TD]2[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]SOC 101[/TD]
[TD]4[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]BIO 101[/TD]
[TD]3[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]JUS 101[/TD]
[TD].33[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]JUS 101[/TD]
[TD]1[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]PSY 101[/TD]
[TD]4[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]PSY 301[/TD]
[TD]4[/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]
Sheet 2
[TABLE="width: 500"]
<tbody>[TR]
[TD]Gen Ed Courses[/TD]
[/TR]
[TR]
[TD]PSY 101
[/TD]
[/TR]
[TR]
[TD]SOC 101[/TD]
[/TR]
[TR]
[TD]BIO 101[/TD]
[/TR]
[TR]
[TD]JUS 101[/TD]
[/TR]
</tbody>[/TABLE]
What I need my formula to do is count the credits only from courses that receive above .67 in grade points (column B in spreadsheet 1) and where the course in column A in spreadsheet 1 matches a course in spreadsheet 2. I also need to make sure courses are not counted more than once. So from this example, I should have 12 credits because PSY 101, SOC 101, BIO 101, and JUS 101 have all been passed with above .67 in spreadsheet 1 and appear on spreadsheet 2. PSY 301 should not be counted because it is not on spreadsheet 2. PSY 101 and JUS 101 should only be counted once because they are duplicated (and JUS 101 was failed the first time). Oh, I also need the formula to handle zeroes since the number of courses completed by each student is variable (it would go from A4:A100) for everyone. I'd appreciate any help anyone could provide!
Sheet 1
[TABLE="width: 500"]
<tbody>[TR]
[TD]Course[/TD]
[TD]Grade Pts[/TD]
[TD]Credits[/TD]
[/TR]
[TR]
[TD]PSY 101[/TD]
[TD]2[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]SOC 101[/TD]
[TD]4[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]BIO 101[/TD]
[TD]3[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]JUS 101[/TD]
[TD].33[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]JUS 101[/TD]
[TD]1[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]PSY 101[/TD]
[TD]4[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]PSY 301[/TD]
[TD]4[/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]
Sheet 2
[TABLE="width: 500"]
<tbody>[TR]
[TD]Gen Ed Courses[/TD]
[/TR]
[TR]
[TD]PSY 101
[/TD]
[/TR]
[TR]
[TD]SOC 101[/TD]
[/TR]
[TR]
[TD]BIO 101[/TD]
[/TR]
[TR]
[TD]JUS 101[/TD]
[/TR]
</tbody>[/TABLE]
What I need my formula to do is count the credits only from courses that receive above .67 in grade points (column B in spreadsheet 1) and where the course in column A in spreadsheet 1 matches a course in spreadsheet 2. I also need to make sure courses are not counted more than once. So from this example, I should have 12 credits because PSY 101, SOC 101, BIO 101, and JUS 101 have all been passed with above .67 in spreadsheet 1 and appear on spreadsheet 2. PSY 301 should not be counted because it is not on spreadsheet 2. PSY 101 and JUS 101 should only be counted once because they are duplicated (and JUS 101 was failed the first time). Oh, I also need the formula to handle zeroes since the number of courses completed by each student is variable (it would go from A4:A100) for everyone. I'd appreciate any help anyone could provide!