Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JRJ
 
Posts: n/a
Default Counting cells based on formatting

I want to count cells based on the color that they have been formatted.
e.g. Count the number of yellow cells, count the number of green cells.

Is this even possible?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Chip Pearson
 
Posts: n/a
Default Counting cells based on formatting

You need to use a VBA function. See
www.cpearson.com/excel/colors.htm for details and example code.


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


"JRJ" wrote in message
...
I want to count cells based on the color that they have been
formatted.
e.g. Count the number of yellow cells, count the number of
green cells.

Is this even possible?

Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default Counting cells based on formatting

You can do that with excel 2007, before that you would need code

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

on how to install

http://www.mvps.org/dmcritchie/excel/install.htm


otherwise the only way would be to count using some sort of criteria that
you use when you color the cells if such a thing exist

--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey


"JRJ" wrote in message
...
I want to count cells based on the color that they have been formatted.
e.g. Count the number of yellow cells, count the number of green cells.

Is this even possible?

Thanks.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting based on other cells userzero Excel Worksheet Functions 4 April 6th 06 11:16 PM
Cell Formatting Conditional On Other Cells Fill Color? [email protected] Excel Worksheet Functions 1 April 5th 06 10:05 PM
Counting based on other cells contents... George Excel Discussion (Misc queries) 3 November 8th 05 02:33 PM
Complicated counting of cells (based on other cells contents) George Excel Worksheet Functions 3 November 7th 05 06:39 PM
Counting rows based on criteria in multiple cells Margaret Excel Discussion (Misc queries) 11 December 2nd 04 11:04 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"