Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Changing the font of a cell dependant on the outcome

Hi, Im pretty lost. I am trying to change the font colour of a Cell dependant
on the answer in another cell. Also, the cells which I want to change the
colour of already have a formula inside them and I want to know if I can add
another formula to a cell with a formula in it.

e.g a1= A32*34 and A7= 10, then if A7 =10 I want A1 to be Red, if not black.

I want to do this for a range of cells (i.e. A1: H1) so that if A7 gives the
number that corresponds to the result in the cell range A1:H1, it changes the
colour of the cell within the range.

Its all a bit complicated and would love any advice. Also Im not sure if it
is possible to do this for cells which already contain a formula

HELP

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Changing the font of a cell dependant on the outcome


You do not need code, just Conditional Formatting.

Select the cell you wish to format, I am assuming A1 is the first

Menu FormatConditional Formatting
Change Condition 1 to Formula Is
Add a formula of =$A$7=10
Click the Format button
Select the Pattern Tab
Select red
OK
Click Add Condition
Change Condition 2 to Formula Is
Add a formula of =$A$7<10
Click the Format button
Select the Pattern Tab
Select black
OK
OK


Second

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Bemused Scot" <Bemused wrote in message
...
Hi, Im pretty lost. I am trying to change the font colour of a Cell
dependant
on the answer in another cell. Also, the cells which I want to change the
colour of already have a formula inside them and I want to know if I can
add
another formula to a cell with a formula in it.

e.g a1= A32*34 and A7= 10, then if A7 =10 I want A1 to be Red, if not
black.

I want to do this for a range of cells (i.e. A1: H1) so that if A7 gives
the
number that corresponds to the result in the cell range A1:H1, it changes
the
colour of the cell within the range.

Its all a bit complicated and would love any advice. Also Im not sure if
it
is possible to do this for cells which already contain a formula

HELP



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
Change the font on a text box dependant on another cell value Seemau Excel Discussion (Misc queries) 0 February 28th 07 10:36 AM
Changing font in custom header that is based on cell value michaelberrier Excel Discussion (Misc queries) 1 December 29th 06 05:10 AM
wrong calculation in excel? formula outcome < cell value?? mcclaud Excel Worksheet Functions 2 August 17th 06 05:20 PM
Changing font size of drop down box linked to cell gharris172 Excel Discussion (Misc queries) 1 January 30th 06 01:06 PM
Returning a Value dependant on a cell which could have different d RemySS Excel Worksheet Functions 2 August 25th 05 03:04 PM


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

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"