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

Answer any 2 of 3 parts
Q3 Part(A1) 3marksQ3 Part(A2) 2marksQ3 Part(B1) 3marksQ3 Part(B2) 1markQ3 Part(B3) 1markQ3 Part(C1) 2marksQ3 Part(C2) 3marksQ3 Total Max 10 marks
A3B3C3D3E3F3G3H3

<tbody>
</tbody>

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

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
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
You are welcome.
Glad it worked!
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,279
Members
449,075
Latest member
staticfluids

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