Sum Cell Based upon Font Color and Cell number in the row.

mbgaskins

New Member
Joined
Mar 27, 2014
Messages
1
I have a spread sheet with a list of projects in one column and amounts in other columns for each project. The project cell background is manually set to a color and another cell in that row uses the ColorIndex() Function to provide the color index of that cell. The amounts have different text colors representing different items for each project and have conditional formatting to provide cell color but is irrelevant to the summing.

I want to be able to sum based upon the project cell color and the amount text color. All are manually set. Can someone help with a VBA function for this. I have not been able to figure this out. I have found similar threads but they use the cell fill and text color and I cannot use that.

Thank you.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,214,924
Messages
6,122,293
Members
449,077
Latest member
Rkmenon

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