doublecaesar
New Member
- Joined
- Mar 31, 2018
- Messages
- 3
I'm currently working with a data set that includes Serial Numbers with a range of values to sum, but only if a 3rd column does not contain a specific text. Column D is the formula column that I am trying to figure out how to achieve.
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Serial Number[/TD]
[TD]Distance[/TD]
[TD]Color[/TD]
[TD]Total Distance if All Blue[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1001[/TD]
[TD]10[/TD]
[TD]Blue[/TD]
[TD]30[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]1001[/TD]
[TD]10[/TD]
[TD]Blue[/TD]
[TD]30[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]1001[/TD]
[TD]10[/TD]
[TD]Blue[/TD]
[TD]30[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]1002[/TD]
[TD]10[/TD]
[TD]Yellow[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]1002[/TD]
[TD]10[/TD]
[TD]Blue[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]1002[/TD]
[TD]10[/TD]
[TD]Blue[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]1003[/TD]
[TD]10[/TD]
[TD]Yellow[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]1003[/TD]
[TD]10[/TD]
[TD]Yellow[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]1003[/TD]
[TD]10[/TD]
[TD]Yellow[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]
I've been attempting Sumifs, however I keep coming back with a sum of all the B rows for each serial number that aren't yellow (1002 would be 20, 1003 would be zero).
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Serial Number[/TD]
[TD]Distance[/TD]
[TD]Color[/TD]
[TD]Total Distance if All Blue[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1001[/TD]
[TD]10[/TD]
[TD]Blue[/TD]
[TD]30[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]1001[/TD]
[TD]10[/TD]
[TD]Blue[/TD]
[TD]30[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]1001[/TD]
[TD]10[/TD]
[TD]Blue[/TD]
[TD]30[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]1002[/TD]
[TD]10[/TD]
[TD]Yellow[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]1002[/TD]
[TD]10[/TD]
[TD]Blue[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]1002[/TD]
[TD]10[/TD]
[TD]Blue[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]1003[/TD]
[TD]10[/TD]
[TD]Yellow[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]1003[/TD]
[TD]10[/TD]
[TD]Yellow[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]1003[/TD]
[TD]10[/TD]
[TD]Yellow[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]
I've been attempting Sumifs, however I keep coming back with a sum of all the B rows for each serial number that aren't yellow (1002 would be 20, 1003 would be zero).