Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Robin
 
Posts: n/a
Default Conditional Format - 2 lists of names to find matching cells.

I have a sheet with two seperate columns of names and would like any name in
list 1 that also appears in list 2 to be highlighted in both lists.

Exapmple...

A B
1 Dan Bill
2 Dave Andy
3 Pete Dave
4 Chris Darren

Result - Cells A2 and B3 would appear with red text.

Thanks in advance!

Robin
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Conditional Format - 2 lists of names to find matching cells.

Try something like this:

For List_1
Select the Col_A list (with A1 as the active cell)
<Format<Conditional Formatting
Cell formula is: =COUNTIF($B$1:$B$100,A1)=1
Select the format...then click the [OK] buttons

For List_2
Select the Col_B list (with B1 as the active cell)
<Format<Conditional Formatting
Cell formula is: =COUNTIF($A$1:$A$100,B1)=1
Select the format...then click the [OK] buttons

Adjust range references to suit your situation.
(Notice the dollar signs in those functions and use them accordingly)

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Robin" wrote:

I have a sheet with two seperate columns of names and would like any name in
list 1 that also appears in list 2 to be highlighted in both lists.

Exapmple...

A B
1 Dan Bill
2 Dave Andy
3 Pete Dave
4 Chris Darren

Result - Cells A2 and B3 would appear with red text.

Thanks in advance!

Robin

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default Conditional Format - 2 lists of names to find matching cells.

Use conditional formatting formula is and countif

For column A

=COUNTIF($B$1:$B$50,A1)0

for B

=COUNTIF($A$1:$A$50,B1)0


--

Regards,

Peo Sjoblom
"Robin" wrote in message
...
I have a sheet with two seperate columns of names and would like any name
in
list 1 that also appears in list 2 to be highlighted in both lists.

Exapmple...

A B
1 Dan Bill
2 Dave Andy
3 Pete Dave
4 Chris Darren

Result - Cells A2 and B3 would appear with red text.

Thanks in advance!

Robin



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
conditional formatting to multiple cells TC Excel Worksheet Functions 6 January 7th 06 11:41 PM
Conditional Format Not Working KMH Excel Discussion (Misc queries) 0 December 22nd 05 05:32 PM
find replace format neeraj Excel Discussion (Misc queries) 6 September 20th 05 05:50 PM
how to format only a specific character or number in each cell withina range of cells Colleen Excel Worksheet Functions 1 September 12th 05 05:44 PM
Determine cells that drive conditional formatting? Nicolle K. Excel Discussion (Misc queries) 2 January 7th 05 01:08 AM


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