I have a seemingly simple problem, but can't figure out the excel behind it... here's a simplified mock up of the data involved:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Letters[/TD]
[TD]Colors[/TD]
[TD]Numbers[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Blue[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Red[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Blue[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Pink[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Purple[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]Blue[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]Pink[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]Pink[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]Yellow[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Blue[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Red[/TD]
[TD]3[/TD]
[/TR]
</tbody>[/TABLE]
I need to find a way to get 6, which is the sum of "numbers" where blue is in A, B, and C, but does not duplicate of where blue is in A twice.
This needs to be done on a larger data set that has approximately 200 different letters and about 30 colors.
Thanks in advance for any help.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Letters[/TD]
[TD]Colors[/TD]
[TD]Numbers[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Blue[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Red[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Blue[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Pink[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Purple[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]Blue[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]Pink[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]Pink[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]Yellow[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Blue[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Red[/TD]
[TD]3[/TD]
[/TR]
</tbody>[/TABLE]
I need to find a way to get 6, which is the sum of "numbers" where blue is in A, B, and C, but does not duplicate of where blue is in A twice.
This needs to be done on a larger data set that has approximately 200 different letters and about 30 colors.
Thanks in advance for any help.