count if a value appears in a range of cells

lshad24

New Member
Joined
Jan 9, 2013
Messages
2
I have a gradebook that contains 3 assignments. For each assignment, a student could choose between one of three options (A, B, or C). Some students completed multiple option.

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]1A[/TD]
[TD]1B[/TD]
[TD]1C[/TD]
[TD]2A[/TD]
[TD]2B[/TD]
[TD]2C[/TD]
[/TR]
[TR]
[TD]John [/TD]
[TD]6[/TD]
[TD]3[/TD]
[TD][/TD]
[TD]2[/TD]
[TD]4[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]Mary[/TD]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Sue[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]

I need to count how many assignments were done, not how many options they completed. So in the example above, John complete 2 assignments.
Mary completed 2 assignments.
Sue completed 1 assignment.

What is the correct formula that will look at a range of cells, and if a student completed at least one option, return a count of 1?

Thanks for any guidance you can provide.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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