=SUM based on color

willie6112

New Member
Joined
Jul 26, 2015
Messages
20
I have a column of numbers, including blank cells and cells with different font colors. Is it possible to add only those cells which are a specified font color, e.g., add only the cells with red font color? I'm using Excel 2011 for Mac.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
you presumably color them according to rules, so use those rules in a sumif or sumproduct approach
 
Upvote 0
I'm not familiar with "rules". Can you direct me to a discussion that tells me how to set up rules? Thanks
 
Upvote 0
What they mean is that you must be coloring the cells for some reason, base a formula on that reason.
 
Upvote 0
if cell is less than 10 make it red, if 10 to 19 make it yellow, 20 or above make it green

that is a conditional formatting rule ( or 3 rules to be pedantic)
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,252
Members
452,623
Latest member
Techenthusiast

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