SUMIF function with SUMBYCOLOR function

esoushek

New Member
Joined
Sep 8, 2017
Messages
1
Hello.
Is there a way to use other functions with the SUMBYCOLOR function? I've not been able to get it to work.
I would like to sum data that has a specific background color, within a specific date range, containing specific text "Widget #1 " or "Widget #2 ".

Example:
Summarized data should be

Total for Widget #1 (with background color yellow, blue or green) (ordered 1/1/17 - 12/31/17)
Total for Widget #2 (with background color yellow, blue or green) (ordered 1/1/17 - 12/31/17)
Total for Widget #3 (with background color yellow, blue or green) (ordered 1/1/17 - 12/31/17)

Total for Widget #1 (with NO background color) (ordered 1/1/17 - 12/31/17)
Total for Widget #2 (with NO background color) (ordered 1/1/17 - 12/31/17)
Total for Widget #3 (with NO background color) (ordered 1/1/17 - 12/31/17)
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
As far as I know, SUMBYCOLOR is not a native excel function, and is more than likely a UDF (User Defined Function) created with VBA

How was the color applied? If by Conditional Formatting, maybe you can use the same rules for the SUMIFS?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,170
Members
453,021
Latest member
Justyna P

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