Sum based on cells of specific color only

anuradhagrewal

Board Regular
Joined
Dec 3, 2020
Messages
87
Office Version
  1. 2010
Platform
  1. Windows
Hi
I need your help in calculating the total sums of all the cells with yellow color.
As per the example mentioned below are two columns mainly Name(C) and sales for the month (D)
Now as you can see there are certain cells in the Name column (C) like C4,C7,C13 and so on which turn yellow.
I need the to display in cell D2 a sum total of sales value for all the individuals whose cell is highlighted in yellow.
Like the value of say James is 9449 ,Michael is 14037 ... and so on the SUM of the total sales of these yellow(any color in the future) highlighted cells.

example.png

Please help

Regards

Anu
 

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
And how were these cells colored? Conditional formatting? Manually?
 
Upvote 0
And how were these cells colored? Conditional formatting? Manually?
Hi there
The color is based on conditional formatting and hence the selected names to change.

In addition it is not possible to filter by color as the total comes of all cells.

Plz suggest

Any
 
Upvote 0
The color is based on conditional formatting and hence the selected names to change.
whats the rule used for the conditional formatting , as that can be used to also use as a SUMIF() SUMIFS() potentially
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,193
Members
452,616
Latest member
intern444

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