ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   sum cells based upon color of cell (https://www.excelbanter.com/excel-discussion-misc-queries/26465-sum-cells-based-upon-color-cell.html)

karls

sum cells based upon color of cell
 
I have a worksheet with color coded cells and numerical data in each cell.
I'd like to tally the contents of the various colors. Any suggestions?

Gord Dibben

karls

Excel default functions cannot count or sum by color format.

See Chip Pearson's site for VBA code.

http://www.cpearson.com/excel/colors.htm

If cells are shaded due to Conditional Formatting you could possibly sum by
those conditions.


Gord Dibben Excel MVP



On Tue, 17 May 2005 10:15:00 -0700, "karls"
wrote:

I have a worksheet with color coded cells and numerical data in each cell.
I'd like to tally the contents of the various colors. Any suggestions?



Peo Sjoblom

You would need code for that


http://www.cpearson.com/excel/colors.htm


Regards,

Peo Sjoblom

"karls" wrote:

I have a worksheet with color coded cells and numerical data in each cell.
I'd like to tally the contents of the various colors. Any suggestions?



All times are GMT +1. The time now is 02:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com