Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Duncan
 
Posts: n/a
Default Counting cells with a specific background colour

I have a spreadsheet with several rows. The background of the rows can
either be coloured Red, Orange, Green or white.

What I want to do is have a running total for each colour, so that if a row
is set with a green background it will increment the Green total by one. If
an Orange row is changed to Red, the Orange count will drop by one, and the
Red count will go up by one.

Is this possible, and if so, how?

Rgds

Duncan
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

Assuming that the colors aren't applied by Conditional Formatting:

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

If they are applied by CF, do a conditional sum using the same condition
as your CF.


In article ,
Duncan wrote:

I have a spreadsheet with several rows. The background of the rows can
either be coloured Red, Orange, Green or white.

What I want to do is have a running total for each colour, so that if a row
is set with a green background it will increment the Green total by one. If
an Orange row is changed to Red, the Orange count will drop by one, and the
Red count will go up by one.

Is this possible, and if so, how?

Rgds

Duncan

  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

See http://www.xldynamic.com/source/xld.ColourCounter.html, but note the
constraints

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Duncan" wrote in message
...
I have a spreadsheet with several rows. The background of the rows can
either be coloured Red, Orange, Green or white.

What I want to do is have a running total for each colour, so that if a

row
is set with a green background it will increment the Green total by one.

If
an Orange row is changed to Red, the Orange count will drop by one, and

the
Red count will go up by one.

Is this possible, and if so, how?

Rgds

Duncan



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
Counting cells, similar values SteW Excel Worksheet Functions 7 May 12th 05 07:05 PM
Counting empty cells within a range of cells Rosehill - ExcelForums.com New Users to Excel 2 May 2nd 05 08:53 AM
establishing the background colour of a cell ac512 Excel Discussion (Misc queries) 4 April 15th 05 08:20 PM
Counting empty cells within a range of cells Rosehill - ExcelForums.com New Users to Excel 0 April 7th 05 12:47 AM
Locate and delete specific cells David Smith Excel Discussion (Misc queries) 1 January 19th 05 04:45 PM


All times are GMT +1. The time now is 04:02 AM.

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

About Us

"It's about Microsoft Excel"