Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
exutable
 
Posts: n/a
Default Change font/cell color by Formula


Hey how would I change the font/cell color with a formula, example:
=IF(B6="green", fontcolor=green, fontcolor=red)


--
exutable
------------------------------------------------------------------------
exutable's Profile: http://www.excelforum.com/member.php...o&userid=28665
View this thread: http://www.excelforum.com/showthread...hreadid=535363

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Otto Moehrbach
 
Posts: n/a
Default Change font/cell color by Formula

You can't. Not with a formula. Look up Conditional Formatting in Help.
That will do what you want. HTH Otto
"exutable" wrote in
message ...

Hey how would I change the font/cell color with a formula, example:
=IF(B6="green", fontcolor=green, fontcolor=red)


--
exutable
------------------------------------------------------------------------
exutable's Profile:
http://www.excelforum.com/member.php...o&userid=28665
View this thread: http://www.excelforum.com/showthread...hreadid=535363



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gord Dibben
 
Posts: n/a
Default Change font/cell color by Formula

Formulas cannot format cells.

Have a look at your options under FormatConditional Formatting

Condition 1Cell Value is: "green" format green font

Note: you can have up to 3 conditions(4 if you count default)


Gord Dibben MS Excel MVP

On Sun, 23 Apr 2006 17:11:26 -0500, exutable
wrote:


Hey how would I change the font/cell color with a formula, example:
=IF(B6="green", fontcolor=green, fontcolor=red)


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
exutable
 
Posts: n/a
Default Change font/cell color by Formula


How would I make it so that if cell B5 says green then C5 is green?

I had something like this =IF(C5="green",,)


--
exutable
------------------------------------------------------------------------
exutable's Profile: http://www.excelforum.com/member.php...o&userid=28665
View this thread: http://www.excelforum.com/showthread...hreadid=535363

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Otto Moehrbach
 
Posts: n/a
Default Change font/cell color by Formula

Type "green" into B5 (without the quotes). Select C5. Click on Format -
Conditional Format. Select "Formula Is". In the formula block type
=B5="green" with the quotes. Select the Patterns tab and select the green
color you want. Click OK.
Done
HTH Otto
"exutable" wrote in
message ...

How would I make it so that if cell B5 says green then C5 is green?

I had something like this =IF(C5="green",,)


--
exutable
------------------------------------------------------------------------
exutable's Profile:
http://www.excelforum.com/member.php...o&userid=28665
View this thread: http://www.excelforum.com/showthread...hreadid=535363



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
how do i enter a formula in excel that will change a cell value Jace35 Excel Worksheet Functions 4 April 21st 06 03:44 PM
formula help to change row colour automatically by some conditions Aarif Excel Worksheet Functions 6 March 17th 06 03:51 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
I Need a formula to evaluate a cell with + or - values Bob in Oklahoma Excel Worksheet Functions 6 October 31st 05 02:41 PM
Cannot change a formula Richard F Excel Discussion (Misc queries) 1 January 18th 05 01:57 AM


All times are GMT +1. The time now is 11:08 AM.

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

About Us

"It's about Microsoft Excel"