ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Automatic color for output of a =sum action (https://www.excelbanter.com/charts-charting-excel/117310-automatic-color-output-%3Dsum-action.html)

AndyE

Automatic color for output of a =sum action
 
I am building a chart that has something like =SUM(AK1:AK38) with the results
on AK39, I need to compare the results of AK39 to the number in AK40. 39 is
going to be my "Actual" and I need that compared to 40 which is my "Target".
I would also like for the number in 39 to be red if it is less than 40 and
green if it is =. If it can't be done... I can keep going in and changing
the font color, but takes too much time.
Thanks, Andy

Jon Peltier

Automatic color for output of a =sum action
 
If it's a cell value, look into conditional formatting. Here are a couple
links:

http://www.contextures.com/xlCondFormat01.html
http://www.cpearson.com/excel/cformatting.htm

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


"AndyE" wrote in message
...
I am building a chart that has something like =SUM(AK1:AK38) with the
results
on AK39, I need to compare the results of AK39 to the number in AK40. 39
is
going to be my "Actual" and I need that compared to 40 which is my
"Target".
I would also like for the number in 39 to be red if it is less than 40 and
green if it is =. If it can't be done... I can keep going in and changing
the font color, but takes too much time.
Thanks, Andy




AndyE

Automatic color for output of a =sum action
 
Thank you, that is what I needed. Wish I could have gotten it to do a line
comparison (if Row 10 is Less than row 11 change color to red, for the entire
sheet from D-CF, but the work is done untill next time.

~Andy

"Jon Peltier" wrote:

If it's a cell value, look into conditional formatting. Here are a couple
links:

http://www.contextures.com/xlCondFormat01.html
http://www.cpearson.com/excel/cformatting.htm

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


"AndyE" wrote in message
...
I am building a chart that has something like =SUM(AK1:AK38) with the
results
on AK39, I need to compare the results of AK39 to the number in AK40. 39
is
going to be my "Actual" and I need that compared to 40 which is my
"Target".
I would also like for the number in 39 to be red if it is less than 40 and
green if it is =. If it can't be done... I can keep going in and changing
the font color, but takes too much time.
Thanks, Andy





Jon Peltier

Automatic color for output of a =sum action
 
You didn't provide quite enough information, but it seems you should be able
to write a function to sort the values into color ranges.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


"AndyE" wrote in message
...
Thank you, that is what I needed. Wish I could have gotten it to do a
line
comparison (if Row 10 is Less than row 11 change color to red, for the
entire
sheet from D-CF, but the work is done untill next time.

~Andy

"Jon Peltier" wrote:

If it's a cell value, look into conditional formatting. Here are a couple
links:

http://www.contextures.com/xlCondFormat01.html
http://www.cpearson.com/excel/cformatting.htm

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


"AndyE" wrote in message
...
I am building a chart that has something like =SUM(AK1:AK38) with the
results
on AK39, I need to compare the results of AK39 to the number in AK40.
39
is
going to be my "Actual" and I need that compared to 40 which is my
"Target".
I would also like for the number in 39 to be red if it is less than 40
and
green if it is =. If it can't be done... I can keep going in and
changing
the font color, but takes too much time.
Thanks, Andy








All times are GMT +1. The time now is 03:00 AM.

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