Sum If puzzle

Jazz M

New Member
Joined
Jun 8, 2018
Messages
11
Hi folks, I am running a marking centre this weekend and I wish to sum track 'live marking' of exams over the course of the day.
I have 3 teams, each correcting one exam (Exam A, Exam B, Exam C). However I only wish to see a candidates overall result once a score has been posted to each of the Exam cells.

Can you help me write a formula that will only sum the 3 cells if there is a score present and not perform the calculation if there is not a score in all 3 cells ?

The example below in the first instance there is no score for Exam C so i dont wish for an overall result to be totalled. However in the second instance there is a score recorded in all 3 exams so i wish for the overall result to be recorded.

there are thousands of candidates so hence looking for a formula.

thanks as always in advance folks.

[TABLE="class: cms_table, width: 326"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Jazz M

[TABLE="class: cms_table_grid, width: 500, align: center"]
<tbody>[TR]
[TD]Exam A[/TD]
[TD]Exam B[/TD]
[TD]Exam C[/TD]
[TD]Overall Result[/TD]
[/TR]
[TR]
[TD]25%[/TD]
[TD]15%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]15%[/TD]
[TD]17%[/TD]
[TD]9%[/TD]
[TD]41%[/TD]
[/TR]
</tbody>[/TABLE]

[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Good morning

the formula worked well for me where cells that were not corrected were blank.

however I came across instances where an exam cell was populated with a 0 instead of a blank. See the first row below for an example.

Is there a way to modify the formula so that it does not sum the 3 cells if a 0 value appears ?

[TABLE="width: 256"]
<tbody>[TR]
[TD="class: xl63, width: 64"]Exam A[/TD]
[TD="class: xl63, width: 64"]Exam B[/TD]
[TD="class: xl63, width: 64"]Exam C[/TD]
[TD="class: xl63, width: 64"]Overall Result[/TD]
[/TR]
[TR]
[TD="class: xl64, width: 64, align: right"]25%[/TD]
[TD="class: xl64, width: 64, align: right"]15%[/TD]
[TD="class: xl64, width: 64, align: right"]0%[/TD]
[TD="class: xl63, width: 64"][/TD]
[/TR]
[TR]
[TD="class: xl64, width: 64, align: right"]15%[/TD]
[TD="class: xl64, width: 64, align: right"]17%[/TD]
[TD="class: xl64, width: 64, align: right"]9%[/TD]
[TD="class: xl64, width: 64, align: right"]41%[/TD]
[/TR]
</tbody>[/TABLE]

thanks in advance.
Jazz
 
Upvote 0

Forum statistics

Threads
1,223,884
Messages
6,175,173
Members
452,615
Latest member
bogeys2birdies

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