Need help on Auto calculating aggreggates

KOOLMAN

New Member
Joined
Feb 17, 2018
Messages
4
Please, I made a simple template to take grades of my pupils. In the templates, some subjects on a continuum are compulsory (H - K) while the remaining (L- P) are optional, but 2 of them (best 2 with good grades ) to be added to H-K to give the aggregate in Q as indicated in the table below.

....HIJKLMNOPQ
1ENGLISH LANGMATHSSCIENCESOCIALLANGTECHMORAL STUDIESICTFRENCHAGGREGATE
2KOOL23516512113
3SUUTY31438243515
4BASH23212121110

<tbody>
</tbody>

How do I pick N2 and P2 (for KOOL), M3 and O3 (for SUUTY) , O4 and P4 add it automatically to the range H2:K2 without manually editing the formular by picking N2 and P2?

Thanks so much in advance.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
No, you need to investigate why it's returning an error because it shouldn't

Do any of your input cells contain # value! errors?

Do any of your inputs contain numbers formatted as text, or that are otherwise blank, maybe including spaces? [unlikely to be this. Errors here would cause # Num! errors]

In the formula bar, highlight each section in turn and hit F9 to calculate that part of the formula. Which part creates the error?
- SUM(H2:K2)
- SMALL(L2:P2,1)
- SMALL(L2:P2,2)
 
Upvote 0

Forum statistics

Threads
1,216,756
Messages
6,132,535
Members
449,733
Latest member
Nameless_

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