Excel 2013 Sumbycolor with Multiple Conditions

MystiK

New Member
Joined
Jan 2, 2018
Messages
1
I need to sum Programs (C6:F88) by color and by object class (B6:B88)

I can do the two separate functions: =SUMPRODUCT(--(LEFT($B$6:$B$88,3)="AAB"),C6:C88) and =sumbycolor(C15,C10:C88) but I can't figure out how I can do both. Pretend my example table had fill colors instead of text color.

ActivityObjectSC118SCE18
ASCSAAB10531.810
ASCSAAC2974.990
ASCSAAD3206.190
ASCSAAE2343.9311.13
ASCS Total19056.9211.13
CNA1AAB2895.20
CNA1AAC833.470
CNA1AAD941.160
CNA1AAE1814.48181.83
CNA1 Total6484.31181.83

<tbody>
</tbody>


I need the total of all the "red" "AAB" for the third and fourth columns. And then the total of all the "green" "AAB" and so on...
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Forum statistics

Threads
1,215,754
Messages
6,126,681
Members
449,328
Latest member
easperhe29

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