Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default highlight dependent cells

Hello,

I'm having trouble explaining my question, so I've come up with a simple
example.
Column C Column D
horse cat
cow dog
pig
cat
owl
dog

I would like the entries in Column C to highlight, if they match an entry in
Column D. In this case, C5 (cat) and C7 (dog) would highlight....is this
possible? Thanks so much!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default highlight dependent cells

Conditional Formatting:

=OR($C1=$D$1,$C1=$D$2)


"Lindsay" wrote:

Hello,

I'm having trouble explaining my question, so I've come up with a simple
example.
Column C Column D
horse cat
cow dog
pig
cat
owl
dog

I would like the entries in Column C to highlight, if they match an entry in
Column D. In this case, C5 (cat) and C7 (dog) would highlight....is this
possible? Thanks so much!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default highlight dependent cells

Try this...

Select the range C2:C7

Goto the menu FormatConditional Formatting
Select the Formula Is option
Enter this formula in the box on the right:
=OR(C2=D$2:D$3)
Click the Format button
Select the desired style(s)
OK out

--
Biff
Microsoft Excel MVP


"Lindsay" wrote in message
...
Hello,

I'm having trouble explaining my question, so I've come up with a simple
example.
Column C Column D
horse cat
cow dog
pig
cat
owl
dog

I would like the entries in Column C to highlight, if they match an entry
in
Column D. In this case, C5 (cat) and C7 (dog) would highlight....is this
possible? Thanks so much!



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
list dependent cells GireeshaJ Excel Discussion (Misc queries) 1 February 11th 09 12:43 PM
how to highlight more related cells if cell highlight Jon Excel Discussion (Misc queries) 5 December 21st 08 01:06 PM
input data dependent on other cells confused deejay Excel Worksheet Functions 4 October 16th 08 02:56 AM
Validation of cells who is dependent on each other Jane Excel Discussion (Misc queries) 2 November 8th 07 01:25 PM
Highlight cells with ctrl-click but only un-highlight one cell hagan Excel Discussion (Misc queries) 5 May 27th 05 06:45 PM


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