Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Can I do a conditional formatting on a cell that is not the same w

Can I do a conditional formatting on a cell that is not the same where the
conditions are at?
Let assume that in my model the cell B10 represent a profit or loss of the
project.
In cell B12, I have some text and I want it to be displayed in black if the
value in cell B10 is positive and the text to be displayed in red if the
value in cell B10 is negative.
How do I go about formating cell B12 using conditional formatting?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Can I do a conditional formatting on a cell that is not the same w

Sure.

Use the FormulaIs option rather than referring to the value.
--
Gary''s Student - gsnu200839


"Option Button" wrote:

Can I do a conditional formatting on a cell that is not the same where the
conditions are at?
Let assume that in my model the cell B10 represent a profit or loss of the
project.
In cell B12, I have some text and I want it to be displayed in black if the
value in cell B10 is positive and the text to be displayed in red if the
value in cell B10 is negative.
How do I go about formating cell B12 using conditional formatting?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 225
Default Can I do a conditional formatting on a cell that is not the same w

Select B12
Choose FORMULA IS option for Conditional Formatting...
Enter
=B10=0
for positive condition and choose the formatting
and
=B10<0
for negative condition and choose the formatting

If it does not work then go back and make sure that no quotes are added
around the formula ...


"Option Button" wrote:

Can I do a conditional formatting on a cell that is not the same where the
conditions are at?
Let assume that in my model the cell B10 represent a profit or loss of the
project.
In cell B12, I have some text and I want it to be displayed in black if the
value in cell B10 is positive and the text to be displayed in red if the
value in cell B10 is negative.
How do I go about formating cell B12 using conditional formatting?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Can I do a conditional formatting on a cell that is not the same w

Open up the conditional format box. Change first box to "Formula is"
In second box, type:
=B10=0
Similarly, second condition is
=B10<0

Format as you desire.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Option Button" wrote:

Can I do a conditional formatting on a cell that is not the same where the
conditions are at?
Let assume that in my model the cell B10 represent a profit or loss of the
project.
In cell B12, I have some text and I want it to be displayed in black if the
value in cell B10 is positive and the text to be displayed in red if the
value in cell B10 is negative.
How do I go about formating cell B12 using conditional formatting?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Can I do a conditional formatting on a cell that is not the same w

Select B12 and FormatCFFormula is.

=B10<0 Format to red font.

Since Black font is default......usually.........no condition need be set
for positive number.


Gord Dibben MS Excel MVP

On Mon, 16 Mar 2009 12:22:01 -0700, Option Button
wrote:

Can I do a conditional formatting on a cell that is not the same where the
conditions are at?
Let assume that in my model the cell B10 represent a profit or loss of the
project.
In cell B12, I have some text and I want it to be displayed in black if the
value in cell B10 is positive and the text to be displayed in red if the
value in cell B10 is negative.
How do I go about formating cell B12 using conditional formatting?




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
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
Conditional Formatting question (if cell = 0, wrap cell in quotes) Mo2 New Users to Excel 6 May 11th 07 11:06 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
Conditional cell background formatting, based on cell content nosivad Excel Discussion (Misc queries) 5 February 11th 06 11:12 PM


All times are GMT +1. The time now is 09:37 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"