Problem creating a problem with MINA - newbie!!

Jazz M

New Member
Joined
Jun 8, 2018
Messages
11
Hello all,
I am looking for some advice on how to set up a formula to allow me enter student marks for answering parts of a question

The question 3 parts (each part of the question has 5 marks each) and a student may answer any two parts. their marks are capped 10 marks so the maximum that can be earned is 10 marks

However I have come across students who have answered all 3 parts but I need a formula that only takes the best marks from 2 of the 3 parts only.

I was experimenting with MINA and subtracting in my formula but I got a bit confused, here is my formula
=SUM(A3:G3)-MINA(SUM(C3:E3),F3,G3)

here is what it looks like in Excel

[TABLE="width: 549"]
<tbody>[TR]
[TD="colspan: 3"]Answer any 2 of 3 parts[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Q3 Part(A1) 3marks[/TD]
[TD]Q3 Part(A2) 2marks[/TD]
[TD]Q3 Part(B1) 3marks[/TD]
[TD]Q3 Part(B2) 1mark[/TD]
[TD]Q3 Part(B3) 1mark[/TD]
[TD]Q3 Part(C1) 2marks[/TD]
[TD]Q3 Part(C2) 3marks[/TD]
[TD]Q3 Total Max 10 marks[/TD]
[/TR]
[TR]
[TD] A3[/TD]
[TD]B3[/TD]
[TD]C3[/TD]
[TD]D3[/TD]
[TD]E3[/TD]
[TD]F3[/TD]
[TD]G3[/TD]
[TD]H3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I would be grateful for any help folks, thanks in advance
Jazz M
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Welcome to the Board!

Shouldn't it be:
Code:
[COLOR=#333333]=SUM(A3:G3)-MINA(SUM(A3:B3),SUM(C3:E3),SUM(F3:G3))[/COLOR]
 
Upvote 0
Thanks Joe4, I'll try that.


Hi Joe4

That didnt quite solve it.

The Students are only supposed to answer two out of 3 sections as the max they can earn is 5 marks per section, so two sections = 10 marks.

Now a lot are answering the 3 parts but i need to limit their score to the best attempt out of the 3 sections and hence remove the 'worst' marks from the poorest answered section as there is only 10 marks available in total for this question.

Thanks again.
Jazz M
 
Upvote 0
That didnt quite solve it.
It should.

Based on your description of the problem, it looks like your three mark bands are:
A3:B3
C3:E3
F3:G3

So how do we get the best two? Add them ALL up (A3:G3) and remove the smallest of the three mark bands.
That is what the formula I posted should do. Unless there is something about the data in A3:G3 that you are not telling us (like it needs to be multiplied by some "weighting factor").

If the formula does not return what you expect, please provide an actual data example where it is not working, along with your expected results.
 
Last edited:
Upvote 0
Not sure i understand what you looking for.

See if this does what you need
=SUM(LARGE(CHOOSE({1,2,3},SUM(A3:B3),SUM(C3:E3),SUM(F3:G3)),{1;2}))

M.
 
Upvote 0
It should.

Based on your description of the problem, it looks like your three mark bands are:
A3:B3
C3:E3
F3:G3

So how do we get the best two? Add them ALL up (A3:G3) and remove the smallest of the three mark bands.
That is what the formula I posted should do. Unless there is something about the data in A3:G3 that you are not telling us (like it needs to be multiplied by some "weighting factor").

If the formula does not return what you expect, please provide an actual data example where it is not working, along with your expected results.


I do apologise Joe, I have just re ran my data set and that does indeed appear to have solved it. Thank you for taking the time, you have helped increase productivity significantly !!

Regards,
Jazz M
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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