[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Red
[/TD]
[TD]5
[/TD]
[TD]Red
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Yellow
[/TD]
[TD]3
[/TD]
[TD]Yellow
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Blue
[/TD]
[TD]7
[/TD]
[TD]Red
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD][/TD]
[TD][/TD]
[TD]Blue
[/TD]
[TD]4
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD][/TD]
[TD][/TD]
[TD]Red
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD][/TD]
[TD][/TD]
[TD]Blue
[/TD]
[TD]3
[/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to get this SUMIFS formula to work, but I can't seem to figure it out. I'd love a bit of guidance. Thanks.
The table shows the results I'm trying to achieve. Here's what I tried, but doesn't work:
=SUMIFS($D$1:$D$6,$C:$C,A1)
Edit: The formula would be in column "B" and dragged down for each item in column "A".
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Red
[/TD]
[TD]5
[/TD]
[TD]Red
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Yellow
[/TD]
[TD]3
[/TD]
[TD]Yellow
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Blue
[/TD]
[TD]7
[/TD]
[TD]Red
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD][/TD]
[TD][/TD]
[TD]Blue
[/TD]
[TD]4
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD][/TD]
[TD][/TD]
[TD]Red
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD][/TD]
[TD][/TD]
[TD]Blue
[/TD]
[TD]3
[/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to get this SUMIFS formula to work, but I can't seem to figure it out. I'd love a bit of guidance. Thanks.
The table shows the results I'm trying to achieve. Here's what I tried, but doesn't work:
=SUMIFS($D$1:$D$6,$C:$C,A1)
Edit: The formula would be in column "B" and dragged down for each item in column "A".
Last edited: