Finding largest values with exclusions

Rich2511

New Member
Joined
Oct 18, 2015
Messages
5
Hello,

I have a spreadsheet which users enter data into. Reports update according to the data that they enter. I am using a formula at the moment to find the largest values. But i need to amend it so that recognises certain criteria.

ABCDEF
subject code465743342334535654654
level3222
subject typeEBACC - LEBACC - LEBACC - LEBACC - L
course codeFKSFKGFKSFKF
Gerry3568

<tbody>
</tbody>

The formula I am currently using is =LARGE(IF($C$3:$F$3="EBACC - L",$C5:$F5),1)

Below are the current results. Largest EBACC - L

ABCDEF
highestsecond highestthird
Gerry865

<tbody>
</tbody>

The formula needs to take into consideration the fact that 2 course codes are the same columns C and E (FKS). It also needs to take into consideration the higher level score in row 3.
So in this instance I would want the results to be

ABCDEF
highestsecond highestthird
Gerry853

<tbody>
</tbody>

The score of 6 in column E would be ignored because it has the same course code as the score in column C and although the score of 6 is higher than 3, the score in column C is a level 3 course.

Any help would be appreciated.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,215,373
Messages
6,124,559
Members
449,171
Latest member
jominadeo

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