#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 48
Default Count cell shading

Hi,
Is there a way to count number of cells that are shaded in Green and Red. I
am pretty weak in VBA codes and not familiar using macros. Someone please
let me know a solution for this.

Thanks for your help in advance....
--
Karthi
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Count cell shading

Can you write a formula to count the cells based on *why* they are the color
they are? There's reason the cells are either green or red. If you can't do
that then VBA is needed and it's kind of complicated and it won't exactly
work the way you think it'll work.

See this:

http://www.cpearson.com/Excel/colors.aspx

Pay special attention to this section:

Color Change And Calculation

--
Biff
Microsoft Excel MVP


"Karthik" wrote in message
...
Hi,
Is there a way to count number of cells that are shaded in Green and Red.
I
am pretty weak in VBA codes and not familiar using macros. Someone please
let me know a solution for this.

Thanks for your help in advance....
--
Karthi



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 48
Default Count cell shading

Thanks T.Valko....
--
Karthi


"T. Valko" wrote:

Can you write a formula to count the cells based on *why* they are the color
they are? There's reason the cells are either green or red. If you can't do
that then VBA is needed and it's kind of complicated and it won't exactly
work the way you think it'll work.

See this:

http://www.cpearson.com/Excel/colors.aspx

Pay special attention to this section:

Color Change And Calculation

--
Biff
Microsoft Excel MVP


"Karthik" wrote in message
...
Hi,
Is there a way to count number of cells that are shaded in Green and Red.
I
am pretty weak in VBA codes and not familiar using macros. Someone please
let me know a solution for this.

Thanks for your help in advance....
--
Karthi




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
Count if a cell has color shading robnsd Excel Discussion (Misc queries) 3 April 23rd 23 03:46 AM
How do I count the number of cells with blue shading in Excell? drbrow592 Excel Worksheet Functions 3 October 22nd 07 10:53 PM
Count IF function for color/shading of cells Rick Excel Discussion (Misc queries) 4 January 18th 07 10:25 PM
How do I count cells with a specific cell shading? Mistermond Excel Worksheet Functions 4 November 13th 06 09:42 PM
Conditional Cell Shading (based on the shading of other cells) Tubby Excel Worksheet Functions 2 June 20th 06 10:03 PM


All times are GMT +1. The time now is 12:45 AM.

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"