Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default 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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Font color changing by itself EJamison Excel Discussion (Misc queries) 2 September 18th 08 05:34 PM
Changing Font color based on font type or size John Excel Discussion (Misc queries) 2 February 7th 08 12:50 AM
Changing Font Color bagoxc Excel Discussion (Misc queries) 2 July 17th 06 01:14 AM
Changing the font color using VBA magoobee Excel Programming 1 June 4th 05 03:51 PM
Changing Font Color Brad E Excel Programming 3 April 7th 04 02:12 PM


All times are GMT +1. The time now is 06:51 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"