Hi there,
Is there a way to sum a range of values according to the colour of the
value? e.g. sum all where colour = red, etc.
Thank you in advance,
Bernard Liengme - 23 Mar 2007 12:55 GMT
Have a look here http://www.cpearson.com/excel/colors.htm
If you are new to VBA visit David McRitchie's site on "getting started" with
VBA
http://www.mvps.org/dmcritchie/excel/getstarted.htm
If the colour result from conditional formatting (Format | Conditional
Formatting) you can use the same criteria to perform summations without VBA.
best wishes

Signature
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email
> Hi there,
>
> Is there a way to sum a range of values according to the colour of the
> value? e.g. sum all where colour = red, etc.
>
> Thank you in advance,
CyberFox - 28 Mar 2007 01:06 GMT
Hi there,
Thank you for the information, but I actually need a formula to do this...
not VBA.
Regards,
> Have a look here http://www.cpearson.com/excel/colors.htm
>
[quoted text clipped - 13 lines]
> >
> > Thank you in advance,
Paul B - 23 Mar 2007 13:00 GMT
CyberFox, have a look here, http://www.cpearson.com/excel/colors.htm

Signature
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
> Hi there,
>
> Is there a way to sum a range of values according to the colour of the
> value? e.g. sum all where colour = red, etc.
>
> Thank you in advance,
Bob Phillips - 23 Mar 2007 13:02 GMT
See http://xldynamic.com/source/xld.ColourCounter.html

Signature
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
> Hi there,
>
> Is there a way to sum a range of values according to the colour of the
> value? e.g. sum all where colour = red, etc.
>
> Thank you in advance,