Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dave H
 
Posts: n/a
Default SUMIF on Fill color

Is it possible to use SUMIF or similar to sum cells where the Fill Color is
Yellow for instance ??

IE something along the lines of =SUMIF(C3:C15),"FillColor=Yellow",C3:C15)
......

At present I'm getting along by adding a separate column which has an
asterisk in it and using that as the basis for the SUMIF, but I'd rather
just change the cell colour to select the amounts I'm interested in.

Thanks Dave H.


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

See http://www.xldynamic.com/source/xld.ColourCounter.html

--
HTH

Bob Phillips

"Dave H hotmail com" <flameboy4<atdot wrote in message
...
Is it possible to use SUMIF or similar to sum cells where the Fill Color

is
Yellow for instance ??

IE something along the lines of =SUMIF(C3:C15),"FillColor=Yellow",C3:C15)
.....

At present I'm getting along by adding a separate column which has an
asterisk in it and using that as the basis for the SUMIF, but I'd rather
just change the cell colour to select the amounts I'm interested in.

Thanks Dave H.




  #3   Report Post  
Dave H
 
Posts: n/a
Default

"Bob Phillips" wrote in message
...
See http://www.xldynamic.com/source/xld.ColourCounter.html

--
HTH

Bob Phillips


Thanks Bob,

Works like a charm - any idea on making it update dynamically on change of
cell colour ? As it stands I have to activate the cell with the formula and
click in the formula bar to make it update. Tried F9 but no luck.

Cheers Dave.


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

It cannot be fully dynamic Dave as the cell colour change does not trigger
the recalc.

You can make it respond to F9 by adding

Application.Volatile

at the start of the Colorindex function.

--
HTH

Bob Phillips

"Dave H hotmail com" <flameboy4<atdot wrote in message
...
"Bob Phillips" wrote in message
...
See http://www.xldynamic.com/source/xld.ColourCounter.html

--
HTH

Bob Phillips


Thanks Bob,

Works like a charm - any idea on making it update dynamically on change of
cell colour ? As it stands I have to activate the cell with the formula

and
click in the formula bar to make it update. Tried F9 but no luck.

Cheers Dave.




  #5   Report Post  
Dave H
 
Posts: n/a
Default

"Bob Phillips" wrote in message
...
It cannot be fully dynamic Dave as the cell colour change does not trigger
the recalc.

You can make it respond to F9 by adding

Application.Volatile

at the start of the Colorindex function.

--
HTH

Bob Phillips


Ah that's better - ta Bob.


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 Effects on Fill Color Rugdoody Excel Discussion (Misc queries) 1 September 14th 05 06:45 PM
My fill color and font color do not work in Excel Std Edition 2003 chapstick Excel Discussion (Misc queries) 1 September 11th 05 08:48 PM
Fill Color Red Dave Excel Discussion (Misc queries) 3 May 15th 05 12:13 AM
Identifying the Active Fill Color Steve Conary Excel Discussion (Misc queries) 3 December 9th 04 04:45 AM
A different "Fill Color" problem JKD Excel Worksheet Functions 1 November 1st 04 10:21 PM


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

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"