Adding the 3 greatest values from selected cells without duplicates?!

Mitchell Arthur

New Member
Joined
May 4, 2020
Messages
6
Office Version
  1. 2016
Platform
  1. Windows
Good Afternoon all,

Firstly, im not sure this is possible but its worth a shot!

I have a spreadsheet which has multiple rows of people and their exam score data. Each students final mark is their 3 highest scores however there is a certain combination of the scores required.

The combination has to be Highest Team Sports score + Highest Individual Sports score + Next highest team OR individual sports score. I have attached a simple picture below for reference.

Persons A score should total 25 and Persons B score should total 30.

Due to the depth of my real spreadsheet which holds data for over 150 students if this score was generated automatically every time scores got updated my life would be much much easier!

If anyone can help, i will forever be in your debt!

Many Thanks

Mitchell

1588620343749.png
 
While pondering a bit more, I came up with a shorter version:

=SUM(LARGE(AGGREGATE(14,6,H3:BP3/ISNUMBER(SEARCH("team",F$1:BN$1)),{1,2})*{1,1;0,0}+AGGREGATE(14,6,H3:BP3/ISNUMBER(SEARCH("individual",F$1:BN$1)),{1,2})*{0,0;1,1},{1,2,3}))

Same basic idea, but I used some array manipulation to get rid of two of the AGGREGATES.
 
Upvote 0

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.
Thanks all!

Managed to make it work on my spreadsheet! Appreciate all the advice!

Only a matter of time before you hear from me again!
 
Upvote 0

Forum statistics

Threads
1,215,420
Messages
6,124,802
Members
449,190
Latest member
cindykay

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