Choosing the higher number of two, with caveat.

Opheltes

New Member
Joined
May 22, 2017
Messages
7
Hello all.

If my students get a higher grade on the final exam than the midterm, I substitute that grade in their average to reward improvement. If the final is lower, I merely average the scores.

In a gradebook, I am trying to set up a formula, averaging a series of grades, but choosing the higher of two grades (midterm is column A, final is B, paper is C, presentation is D,etc) only if the final is higher.

Scooter's grades:
A1 is 81%
B1 is 79%
C1 is 80%
D1 is 80%

Sally's grades:
A2 is 90%
B2 is 98%
C1 is 80%
D1 is 80%

Scooter's grades should be merely be averaged with the other scores; Sally's final (B2) would replace her midterm and be averaged with the other grades.

How do I get it to choose the higher grade but only if the higher is the final?

Thanks for any suggestions.
Opheltes
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,216,082
Messages
6,128,713
Members
449,464
Latest member
againofsoul

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