ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Formula needed changing font color (https://www.excelbanter.com/excel-programming/409567-formula-needed-changing-font-color.html)

John[_128_]

Formula needed changing font color
 
I'm trying to write a formula for my spreadsheet that has the
following logic:

If current value (column G) is greater than value located in (column
D), then change the font color to green. If not greater, then change
the font to red.

For example, Cell G4 has a value higher than D4, so I'd want it green.
Cell G5 has a value less than D5, so I'd want it red.

Any ideas?

Thanks in advance.

Dave Peterson

Formula needed changing font color
 
Take a look at Format|Conditional formatting.

(You can't change the font color using formulas in your cells.)

John wrote:

I'm trying to write a formula for my spreadsheet that has the
following logic:

If current value (column G) is greater than value located in (column
D), then change the font color to green. If not greater, then change
the font to red.

For example, Cell G4 has a value higher than D4, so I'd want it green.
Cell G5 has a value less than D5, so I'd want it red.

Any ideas?

Thanks in advance.


--

Dave Peterson


All times are GMT +1. The time now is 07:28 PM.

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