Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Conditional Format on another cell's value

Hello,

I would like to set up CF to highlight the current cell RED if its contents
do not equal the contents of another cell. For instance, if cell A1 has the
contents "apple" and cell B1 has the contents "appel" then I want cell B1 to
be highlighted RED. Of course, if cell B1 has the content "apple" then I
want nothing to happen. I have tried to put the following formula as the CF
Formula for cell B1 -- "Formula Is: =$A$1=1" but nothing happened
regardless of the contents of B1 (apple or appel). Thanks for your help,

Ricky.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Conditional Format on another cell's value

Try this:

Formula Is: =B1<$A1

What about empty cells? Do you need to account for empty cells?

--
Biff
Microsoft Excel MVP


"RicardoE" wrote in message
...
Hello,

I would like to set up CF to highlight the current cell RED if its
contents
do not equal the contents of another cell. For instance, if cell A1 has
the
contents "apple" and cell B1 has the contents "appel" then I want cell B1
to
be highlighted RED. Of course, if cell B1 has the content "apple" then I
want nothing to happen. I have tried to put the following formula as the
CF
Formula for cell B1 -- "Formula Is: =$A$1=1" but nothing happened
regardless of the contents of B1 (apple or appel). Thanks for your help,

Ricky.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Conditional Format on another cell's value

Thanks! That works pretty well! Except, as you indicated, empty cells will
also be highlighted RED. What can I do in that case? I want empty cells to
be ignored.

"T. Valko" wrote:

Try this:

Formula Is: =B1<$A1

What about empty cells? Do you need to account for empty cells?

--
Biff
Microsoft Excel MVP


"RicardoE" wrote in message
...
Hello,

I would like to set up CF to highlight the current cell RED if its
contents
do not equal the contents of another cell. For instance, if cell A1 has
the
contents "apple" and cell B1 has the contents "appel" then I want cell B1
to
be highlighted RED. Of course, if cell B1 has the content "apple" then I
want nothing to happen. I have tried to put the following formula as the
CF
Formula for cell B1 -- "Formula Is: =$A$1=1" but nothing happened
regardless of the contents of B1 (apple or appel). Thanks for your help,

Ricky.




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Conditional Format on another cell's value

Try this:

=AND($A1<"",B1<"",B1<$A1)

--
Biff
Microsoft Excel MVP


"RicardoE" wrote in message
...
Thanks! That works pretty well! Except, as you indicated, empty cells
will
also be highlighted RED. What can I do in that case? I want empty cells
to
be ignored.

"T. Valko" wrote:

Try this:

Formula Is: =B1<$A1

What about empty cells? Do you need to account for empty cells?

--
Biff
Microsoft Excel MVP


"RicardoE" wrote in message
...
Hello,

I would like to set up CF to highlight the current cell RED if its
contents
do not equal the contents of another cell. For instance, if cell A1
has
the
contents "apple" and cell B1 has the contents "appel" then I want cell
B1
to
be highlighted RED. Of course, if cell B1 has the content "apple" then
I
want nothing to happen. I have tried to put the following formula as
the
CF
Formula for cell B1 -- "Formula Is: =$A$1=1" but nothing happened
regardless of the contents of B1 (apple or appel). Thanks for your
help,

Ricky.






  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Conditional Format on another cell's value


Cool I figured it out, it's pretty easy. I have two conditions for my
formulae:

Condition #1:
=COUNTBLANK(L2)=1
then color the FONT in this cell BLUE... of course this won't do anything
since the cell is empty anyway!

Condition #2:
=$B2<$L2
then color the cell RED, which is what I want

And if they are equal, then the cell remains as is (no color).

Thanks for your help!

Ricky.


"RicardoE" wrote:

Thanks! That works pretty well! Except, as you indicated, empty cells will
also be highlighted RED. What can I do in that case? I want empty cells to
be ignored.

"T. Valko" wrote:

Try this:

Formula Is: =B1<$A1

What about empty cells? Do you need to account for empty cells?

--
Biff
Microsoft Excel MVP


"RicardoE" wrote in message
...
Hello,

I would like to set up CF to highlight the current cell RED if its
contents
do not equal the contents of another cell. For instance, if cell A1 has
the
contents "apple" and cell B1 has the contents "appel" then I want cell B1
to
be highlighted RED. Of course, if cell B1 has the content "apple" then I
want nothing to happen. I have tried to put the following formula as the
CF
Formula for cell B1 -- "Formula Is: =$A$1=1" but nothing happened
regardless of the contents of B1 (apple or appel). Thanks for your help,

Ricky.






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Conditional Format on another cell's value

That's beautiful, love the logic function! I'll use the AND function.
Thanks a bunch, nicely done! :-)

Ricky

"RicardoE" wrote:


Cool I figured it out, it's pretty easy. I have two conditions for my
formulae:

Condition #1:
=COUNTBLANK(L2)=1
then color the FONT in this cell BLUE... of course this won't do anything
since the cell is empty anyway!

Condition #2:
=$B2<$L2
then color the cell RED, which is what I want

And if they are equal, then the cell remains as is (no color).

Thanks for your help!

Ricky.


"RicardoE" wrote:

Thanks! That works pretty well! Except, as you indicated, empty cells will
also be highlighted RED. What can I do in that case? I want empty cells to
be ignored.

"T. Valko" wrote:

Try this:

Formula Is: =B1<$A1

What about empty cells? Do you need to account for empty cells?

--
Biff
Microsoft Excel MVP


"RicardoE" wrote in message
...
Hello,

I would like to set up CF to highlight the current cell RED if its
contents
do not equal the contents of another cell. For instance, if cell A1 has
the
contents "apple" and cell B1 has the contents "appel" then I want cell B1
to
be highlighted RED. Of course, if cell B1 has the content "apple" then I
want nothing to happen. I have tried to put the following formula as the
CF
Formula for cell B1 -- "Formula Is: =$A$1=1" but nothing happened
regardless of the contents of B1 (apple or appel). Thanks for your help,

Ricky.



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Conditional Format on another cell's value

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"RicardoE" wrote in message
...
That's beautiful, love the logic function! I'll use the AND function.
Thanks a bunch, nicely done! :-)

Ricky

"RicardoE" wrote:


Cool I figured it out, it's pretty easy. I have two conditions for my
formulae:

Condition #1:
=COUNTBLANK(L2)=1
then color the FONT in this cell BLUE... of course this won't do anything
since the cell is empty anyway!

Condition #2:
=$B2<$L2
then color the cell RED, which is what I want

And if they are equal, then the cell remains as is (no color).

Thanks for your help!

Ricky.


"RicardoE" wrote:

Thanks! That works pretty well! Except, as you indicated, empty cells
will
also be highlighted RED. What can I do in that case? I want empty
cells to
be ignored.

"T. Valko" wrote:

Try this:

Formula Is: =B1<$A1

What about empty cells? Do you need to account for empty cells?

--
Biff
Microsoft Excel MVP


"RicardoE" wrote in message
...
Hello,

I would like to set up CF to highlight the current cell RED if its
contents
do not equal the contents of another cell. For instance, if cell
A1 has
the
contents "apple" and cell B1 has the contents "appel" then I want
cell B1
to
be highlighted RED. Of course, if cell B1 has the content "apple"
then I
want nothing to happen. I have tried to put the following formula
as the
CF
Formula for cell B1 -- "Formula Is: =$A$1=1" but nothing happened
regardless of the contents of B1 (apple or appel). Thanks for your
help,

Ricky.





  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Conditional Format on another cell's value

yes

"RicardoE" wrote:

Hello,

I would like to set up CF to highlight the current cell RED if its contents
do not equal the contents of another cell. For instance, if cell A1 has the
contents "apple" and cell B1 has the contents "appel" then I want cell B1 to
be highlighted RED. Of course, if cell B1 has the content "apple" then I
want nothing to happen. I have tried to put the following formula as the CF
Formula for cell B1 -- "Formula Is: =$A$1=1" but nothing happened
regardless of the contents of B1 (apple or appel). Thanks for your help,

Ricky.

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
Formula to recognize if another cell's conditional format is true Shu of AZ Excel Discussion (Misc queries) 2 December 19th 06 03:19 AM
CONDITIONAL RESULTS DEPENDING ON CELL'S NAME (sumproduct) HERNAN Excel Discussion (Misc queries) 4 September 5th 06 09:02 PM
Conditional Format based on other cell's value Stella Excel Worksheet Functions 1 June 23rd 06 06:46 PM
Creating a conditional format for a cell based on another cell's v steve-o Excel Discussion (Misc queries) 2 October 26th 05 03:51 PM
Locking a cell's format, but not value Tim Laplaca Excel Discussion (Misc queries) 2 January 17th 05 07:05 PM


All times are GMT +1. The time now is 08:59 PM.

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"