PC Review


Reply
Thread Tools Rate Thread

How to count the number of cells highlighted using Conditional Formatting feature present in Format Menu of Excel???

 
 
divya
Guest
Posts: n/a
 
      1st Nov 2006
I have used Conditional Formatting present in the Format Menu to
highlight cells in the worksheet with satisfy the condition. Now I want
to count the total number of cells highlighted by conditional formattin
for each column and display in a cell of the column... Kindly help me
with a way to do this...I tried using the interior.colorindex property
to count the cells coloured ... but no use because conditional
formattin doesnot actually change the cell's formatting it just
highlight...
Plzzz let me kno how to do..

 
Reply With Quote
 
 
 
 
Paul B
Guest
Posts: n/a
 
      1st Nov 2006
divya, may be easier to just count what conditional formatting is looking
at, something like =COUNTIF(A2:A25,"test")

If you do need to count conditional formatting color have a look at Chip
Pearson's page here

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

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"divya" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have used Conditional Formatting present in the Format Menu to
> highlight cells in the worksheet with satisfy the condition. Now I want
> to count the total number of cells highlighted by conditional formattin
> for each column and display in a cell of the column... Kindly help me
> with a way to do this...I tried using the interior.colorindex property
> to count the cells coloured ... but no use because conditional
> formattin doesnot actually change the cell's formatting it just
> highlight...
> Plzzz let me kno how to do..
>



 
Reply With Quote
 
divya
Guest
Posts: n/a
 
      1st Nov 2006

Paul B wrote:
> divya, may be easier to just count what conditional formatting is looking
> at, something like =COUNTIF(A2:A25,"test")
>
> If you do need to count conditional formatting color have a look at Chip
> Pearson's page here
>
> http://www.cpearson.com/excel/CFColors.htm
>
> --
> Paul B
> Always backup your data before trying something new
> Please post any response to the newsgroups so others can benefit from it
> Feedback on answers is always appreciated!
> Using Excel 2002 & 2003
>
> "divya" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > I have used Conditional Formatting present in the Format Menu to
> > highlight cells in the worksheet with satisfy the condition. Now I want
> > to count the total number of cells highlighted by conditional formattin
> > for each column and display in a cell of the column... Kindly help me
> > with a way to do this...I tried using the interior.colorindex property
> > to count the cells coloured ... but no use because conditional
> > formattin doesnot actually change the cell's formatting it just
> > highlight...
> > Plzzz let me kno how to do..
> >


 
Reply With Quote
 
divya
Guest
Posts: n/a
 
      1st Nov 2006
thnk you paul for hte link...
Paul B wrote:
> divya, may be easier to just count what conditional formatting is looking
> at, something like =COUNTIF(A2:A25,"test")
>
> If you do need to count conditional formatting color have a look at Chip
> Pearson's page here
>
> http://www.cpearson.com/excel/CFColors.htm
>
> --
> Paul B
> Always backup your data before trying something new
> Please post any response to the newsgroups so others can benefit from it
> Feedback on answers is always appreciated!
> Using Excel 2002 & 2003
>
> "divya" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > I have used Conditional Formatting present in the Format Menu to
> > highlight cells in the worksheet with satisfy the condition. Now I want
> > to count the total number of cells highlighted by conditional formattin
> > for each column and display in a cell of the column... Kindly help me
> > with a way to do this...I tried using the interior.colorindex property
> > to count the cells coloured ... but no use because conditional
> > formattin doesnot actually change the cell's formatting it just
> > highlight...
> > Plzzz let me kno how to do..
> >


 
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
How to count cells that are highlighted by conditional formatting jngbutler35 Microsoft Excel Worksheet Functions 1 10th Feb 2010 03:35 PM
How to format range of cells using Conditional Formatting-Excel? bookmanu3 Microsoft Excel Worksheet Functions 2 14th Jun 2008 03:39 AM
Can you count the number of cells that are highlighted in a column =?Utf-8?B?TWlrZQ==?= Microsoft Excel Worksheet Functions 1 13th Oct 2006 07:59 PM
Count number of cells that are highlighted =?Utf-8?B?QmFyYiBSZWluaGFyZHQ=?= Microsoft Excel Programming 4 8th Jun 2006 10:34 PM
Is there a way to count the number of highlighted cells in a col? =?Utf-8?B?QWxpY2lh?= Microsoft Excel Misc 2 23rd Feb 2006 05:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:20 AM.