ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Excel: Can I use Fill_Color Attribs to count elements? (https://www.excelbanter.com/excel-worksheet-functions/18821-excel-can-i-use-fill_color-attribs-count-elements.html)

DrKilbert

Excel: Can I use Fill_Color Attribs to count elements?
 
In Excel 2000: I'm needing to simply count elements based on the Fill Color
of a series of cells. I know I can use the countif() function but haven't
been able to find a list of system variables and their corresponding
elements.

Chip Pearson

You need to use a VBA user defined function to count by color.
See www.cpearson.com/excel/colors.htm for example code and
functions.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

"DrKilbert" wrote in
message
...
In Excel 2000: I'm needing to simply count elements based on
the Fill Color
of a series of cells. I know I can use the countif() function
but haven't
been able to find a list of system variables and their
corresponding
elements.




DrKilbert

Thanks Chip, been out of the loop too long and taking me a bit to get back on
my feet. Appreciate the pointer.

"Chip Pearson" wrote:

You need to use a VBA user defined function to count by color.
See www.cpearson.com/excel/colors.htm for example code and
functions.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

"DrKilbert" wrote in
message
...
In Excel 2000: I'm needing to simply count elements based on
the Fill Color
of a series of cells. I know I can use the countif() function
but haven't
been able to find a list of system variables and their
corresponding
elements.






All times are GMT +1. The time now is 08:51 PM.

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