Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Steve Wood
 
Posts: n/a
Default Sum by Fill colour

Is there a method that I can sum all cells of a certain cell colour? Eg. sum
of all cells colured red? TIA
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Take a look at

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


In article ,
"Steve Wood" wrote:

Is there a method that I can sum all cells of a certain cell colour? Eg. sum
of all cells colured red? TIA

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

There is an example of using SUMPRODUCT and UDFs to count coloured cells at
http://www.xldynamic.com/source/xld.ColourCounter.html

The biggest problem is that changing a colour does not generate a worksheet
recalculation. One way around this is to use a button to set the colour, and
in the code associated with the button, do a sheet calculate
(Activesheet.Calculate). You would also need to add Application.Volatile to
the UDF.

--

HTH

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


"Steve Wood" wrote in message
...
Is there a method that I can sum all cells of a certain cell colour? Eg.

sum
of all cells colured red? TIA



  #4   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
only possible with VBA. See
http://www.xldynamic.com/source/xld.ColourCounter.html
and
http://www.cpearson.com/excel/colors.htm


--
Regards
Frank Kabel
Frankfurt, Germany
"Steve Wood" schrieb im Newsbeitrag
...
Is there a method that I can sum all cells of a certain cell colour? Eg.
sum
of all cells colured red? TIA



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
fill series grayed out (not available, disactivated) Michel Dion (from IMS Health in Canada) Excel Discussion (Misc queries) 1 December 17th 04 02:35 AM
Changing Cell Fill Colour Nick Excel Discussion (Misc queries) 4 December 6th 04 10:05 PM
Automatically insert fill colour when data is added? suzi Excel Worksheet Functions 2 November 17th 04 02:55 PM
Text in Blue colour, but print in black colour wuwu Excel Worksheet Functions 1 November 13th 04 02:36 PM
Function to return colour of formatted cell ExcelMonkey Excel Worksheet Functions 3 November 1st 04 05:54 PM


All times are GMT +1. The time now is 11:32 PM.

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"