#1   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default Check and Highlight!

I have two columns A & B. I need to first check if the Value in Column
B exists in Column A if yes then Highlight the Value in Column A.

So...

Name1 Name2
Dude Harry
Joe Sally
Bob Joe

Result:
the cell with Joe in Name1(ColumnA) should be Highlighted.

  #2   Report Post  
Posted to microsoft.public.excel.misc
Miguel Zapico
 
Posts: n/a
Default Check and Highlight!

You can use conditional formating, with a formula like this:
=(MATCH(A2,$B$2:$B$4,0)0)
It will be true if the value on cell A2 is present in the list in B2:B4.
This can be applied to cell A2 and then copy format to the other cells.

" wrote:

I have two columns A & B. I need to first check if the Value in Column
B exists in Column A if yes then Highlight the Value in Column A.

So...

Name1 Name2
Dude Harry
Joe Sally
Bob Joe

Result:
the cell with Joe in Name1(ColumnA) should be Highlighted.


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
How to check matching strings in 3 columns Demitre Excel Discussion (Misc queries) 2 December 17th 05 11:40 PM
Protect Workbook vs Worksheet?? Dan B Excel Worksheet Functions 3 November 7th 05 09:02 PM
check boxes that highlight row static69 Excel Discussion (Misc queries) 2 May 28th 05 12:07 PM
How to check for duplicates in a list of names and dates Robert,MofD Excel Discussion (Misc queries) 5 April 30th 05 11:54 PM
How do I check formatting in an if-then statement bfmartiniv Excel Worksheet Functions 1 December 14th 04 12:42 AM


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