PC Review


Reply
Thread Tools Rate Thread

counting cell that are fomated a particular fill colour

 
 
Andrew@rushington
Guest
Posts: n/a
 
      7th Dec 2007
Is there a way a "Novice" could count a range of cells and return how many
are filled with red?
 
Reply With Quote
 
 
 
 
Stephen
Guest
Posts: n/a
 
      7th Dec 2007
"Andrew@rushington" <(E-Mail Removed)> wrote in
message news:F5AC048B-F921-4133-B0CD-(E-Mail Removed)...
> Is there a way a "Novice" could count a range of cells and return how many
> are filled with red?


This requires a macro. It is well explained here:
http://www.cpearson.com/excel/colors.htm


 
Reply With Quote
 
Andrew@rushington
Guest
Posts: n/a
 
      7th Dec 2007
ok, thay seems to work although i have no experience with VBA i managed it,
but how do i know what colour is what number?
thanks

"Stephen" wrote:

> "Andrew@rushington" <(E-Mail Removed)> wrote in
> message news:F5AC048B-F921-4133-B0CD-(E-Mail Removed)...
> > Is there a way a "Novice" could count a range of cells and return how many
> > are filled with red?

>
> This requires a macro. It is well explained here:
> http://www.cpearson.com/excel/colors.htm
>
>
>

 
Reply With Quote
 
Stephen
Guest
Posts: n/a
 
      7th Dec 2007
Did you read the section " Returning the ColorIndex of a cell" in the web
page I gave you?

"Andrew@rushington" <(E-Mail Removed)> wrote in
message news:51842321-96A0-448C-9155-(E-Mail Removed)...
> ok, thay seems to work although i have no experience with VBA i managed
> it,
> but how do i know what colour is what number?
> thanks
>
> "Stephen" wrote:
>
>> "Andrew@rushington" <(E-Mail Removed)> wrote in
>> message news:F5AC048B-F921-4133-B0CD-(E-Mail Removed)...
>> > Is there a way a "Novice" could count a range of cells and return how
>> > many
>> > are filled with red?

>>
>> This requires a macro. It is well explained here:
>> http://www.cpearson.com/excel/colors.htm
>>
>>
>>



 
Reply With Quote
 
Andrew@rushington
Guest
Posts: n/a
 
      7th Dec 2007
yeah i have now, thank for your help.



"Stephen" wrote:

> Did you read the section " Returning the ColorIndex of a cell" in the web
> page I gave you?
>
> "Andrew@rushington" <(E-Mail Removed)> wrote in
> message news:51842321-96A0-448C-9155-(E-Mail Removed)...
> > ok, thay seems to work although i have no experience with VBA i managed
> > it,
> > but how do i know what colour is what number?
> > thanks
> >
> > "Stephen" wrote:
> >
> >> "Andrew@rushington" <(E-Mail Removed)> wrote in
> >> message news:F5AC048B-F921-4133-B0CD-(E-Mail Removed)...
> >> > Is there a way a "Novice" could count a range of cells and return how
> >> > many
> >> > are filled with red?
> >>
> >> This requires a macro. It is well explained here:
> >> http://www.cpearson.com/excel/colors.htm
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
Herbert Seidenberg
Guest
Posts: n/a
 
      7th Dec 2007
No VBA or color number required:
Edit > Find > Find what: clear it if filled
Options > Format.. > Choose Format from Cell >
Click any red cell > Find All
The number of cells will appear in the lower left
corner of the Find window.

 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      7th Dec 2007
Versions earlier than 2003 do not have this function.

Also, if the cells are colored due to Conditional Formatting it won't work.


Gord Dibben MS Excel MVP

On Fri, 7 Dec 2007 10:48:41 -0800 (PST), Herbert Seidenberg
<herbds7-(E-Mail Removed)> wrote:

>No VBA or color number required:
>Edit > Find > Find what: clear it if filled
>Options > Format.. > Choose Format from Cell >
>Click any red cell > Find All
>The number of cells will appear in the lower left
>corner of the Find window.


 
Reply With Quote
 
Herbert Seidenberg
Guest
Posts: n/a
 
      7th Dec 2007
My Excel 2002 SP3 has this function
 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      7th Dec 2007
Apologies Herbert

I have not used 2002 for a couple of years so I guess I forgot 2002 had that
function.


Gord

On Fri, 7 Dec 2007 14:14:28 -0800 (PST), Herbert Seidenberg
<herbds7-(E-Mail Removed)> wrote:

>My Excel 2002 SP3 has this function


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fill cell colour based on input in another cell Dan Wood Microsoft Excel Worksheet Functions 2 20th Aug 2009 06:28 AM
fill cell with colour if preceding cell is a negative value POP Microsoft Excel Misc 4 27th Apr 2009 05:35 PM
How to make a cell copy the fill colour of another cell Chase Microsoft Excel Worksheet Functions 1 21st Feb 2008 10:29 AM
counting by colour only if a cell contains a date??? Simon Lloyd Microsoft Excel Programming 2 29th Oct 2004 02:33 PM
counting by colour only if a cell contains a date??? Simon Lloyd Microsoft Excel Programming 1 28th Oct 2004 01:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:06 PM.