ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Summing Cells by Color (https://www.excelbanter.com/excel-discussion-misc-queries/193247-summing-cells-color.html)

Dtemp July 1st 08 01:00 PM

Summing Cells by Color
 
Is there a Way to use the SumIf formula to Sum the Cells of a Certain Text
Color. For example i would like the cells that have a text color of red in a
certain column to be added up, and if the text of any other cell is that
column is changed to red it will automaticaly place it in the sum. If the
Sumif does not work is there another way i can use, i have little or no
progamming skills.

Roger Govier[_3_] July 1st 08 01:17 PM

Summing Cells by Color
 
Hi

What causes the cells to be Red?
Is it formatting where negative numbers are Red?
If so, then
=SUMIF(A:A,"<0")
If they are Red because of Conditional Formatting, then let us know the
formula you are using for the condition.
--
Regards
Roger Govier

"Dtemp" wrote in message
...
Is there a Way to use the SumIf formula to Sum the Cells of a Certain Text
Color. For example i would like the cells that have a text color of red in
a
certain column to be added up, and if the text of any other cell is that
column is changed to red it will automaticaly place it in the sum. If the
Sumif does not work is there another way i can use, i have little or no
progamming skills.



Bob Phillips[_3_] July 1st 08 01:18 PM

Summing Cells by Color
 
See http://xldynamic.com/source/xld.ColourCounter.html

--
__________________________________
HTH

Bob

"Dtemp" wrote in message
...
Is there a Way to use the SumIf formula to Sum the Cells of a Certain Text
Color. For example i would like the cells that have a text color of red in
a
certain column to be added up, and if the text of any other cell is that
column is changed to red it will automaticaly place it in the sum. If the
Sumif does not work is there another way i can use, i have little or no
progamming skills.




Chip Pearson July 1st 08 01:45 PM

Summing Cells by Color
 
See http://www.cpearson.com/Excel/colors.aspx for functions that return the
color indices of a range of cells (either background color or font color).
You can then use this function to perform "sum by color", "average by
color", and similar functions. The page contains all the code plus a
downloadable example.


--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)






"Dtemp" wrote in message
...
Is there a Way to use the SumIf formula to Sum the Cells of a Certain Text
Color. For example i would like the cells that have a text color of red in
a
certain column to be added up, and if the text of any other cell is that
column is changed to red it will automaticaly place it in the sum. If the
Sumif does not work is there another way i can use, i have little or no
progamming skills.



Dtemp July 2nd 08 03:30 PM

Summing Cells by Color
 
Thank you for the help, hope the next version will auto refresh the numbers
as they are highleighted in a certain color instead of clicking F9 every time
:)

"Chip Pearson" wrote:

See http://www.cpearson.com/Excel/colors.aspx for functions that return the
color indices of a range of cells (either background color or font color).
You can then use this function to perform "sum by color", "average by
color", and similar functions. The page contains all the code plus a
downloadable example.


--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)






"Dtemp" wrote in message
...
Is there a Way to use the SumIf formula to Sum the Cells of a Certain Text
Color. For example i would like the cells that have a text color of red in
a
certain column to be added up, and if the text of any other cell is that
column is changed to red it will automaticaly place it in the sum. If the
Sumif does not work is there another way i can use, i have little or no
progamming skills.



Bob Phillips[_3_] July 2nd 08 03:35 PM

Summing Cells by Color
 
It doesn't.

--
__________________________________
HTH

Bob

"Dtemp" wrote in message
...
Thank you for the help, hope the next version will auto refresh the
numbers
as they are highleighted in a certain color instead of clicking F9 every
time
:)

"Chip Pearson" wrote:

See http://www.cpearson.com/Excel/colors.aspx for functions that return
the
color indices of a range of cells (either background color or font
color).
You can then use this function to perform "sum by color", "average by
color", and similar functions. The page contains all the code plus a
downloadable example.


--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)






"Dtemp" wrote in message
...
Is there a Way to use the SumIf formula to Sum the Cells of a Certain
Text
Color. For example i would like the cells that have a text color of red
in
a
certain column to be added up, and if the text of any other cell is
that
column is changed to red it will automaticaly place it in the sum. If
the
Sumif does not work is there another way i can use, i have little or no
progamming skills.






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

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
ExcelBanter.com