ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Change font color for row (https://www.excelbanter.com/new-users-excel/119170-change-font-color-row.html)

Mac

Change font color for row
 
If A1 is numbered 1 thru 4, representing Black, blue, green and red, is there
a way to change the font color for an entire row based on this? i.e. if I
place a 2 in cell A1, I would like the entire row of numbers and statements
to change to a blue font.

Thanks in Advance

Mac





Andy Brown

Change font color for row
 
"Mac" wrote in message
...
If A1 is numbered 1 thru 4, representing Black, blue, green and red, is
there
a way to change the font color for an entire row based on this? i.e. if I
place a 2 in cell A1, I would like the entire row of numbers and
statements
to change to a blue font.


Conditional formatting can do this.

Selecting all of row 1 (click the row number 1, left of A1), then
Conditional Formatting from the Format menu.

For Condition 1, select Formula Is and enter =$A1=2 ; then click Format. On
the Font tab, set Color to blue -- click OK, and OK again.

Repeat the process to add 2 further conditions: =$A1=3 (green font) and
=$A1=4 (red font).



Stefi

Change font color for row
 
You can do that with Conditional formatting:
Select the row or rows you want to change the font color of!
Format/Conditional formatting
1st condition Formula: =$A$1=2 choose blue font
2nd condition Formula: =$A$1=3 choose green font
3rd condition Formula: =$A$1=4 choose red font

If none ot the above conditions is met (that is $A$1=1), the font color
remains the default black.

Regards,
Stefi


€˛Mac€¯ ezt Ć*rta:

If A1 is numbered 1 thru 4, representing Black, blue, green and red, is there
a way to change the font color for an entire row based on this? i.e. if I
place a 2 in cell A1, I would like the entire row of numbers and statements
to change to a blue font.

Thanks in Advance

Mac






All times are GMT +1. The time now is 03:47 PM.

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