Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Comparing values in two columns

Hi,
I have two columns (Col A and Col B) having the employee numbers.
I want to compare the numbers in both the columns and highlight the
duplicate entries in Col A. Can you help?

Regards,
P Hamsa




  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 695
Default Comparing values in two columns

Put this in B1 as cond.format and copy format down
=IF(COUNTIF($A$1:$A$100,B1)=1,B1:$B$100,"")


"P.hamsa" skrev:

Hi,
I have two columns (Col A and Col B) having the employee numbers.
I want to compare the numbers in both the columns and highlight the
duplicate entries in Col A. Can you help?

Regards,
P Hamsa




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 695
Default Comparing values in two columns

and select color


"P.hamsa" skrev:

Hi,
I have two columns (Col A and Col B) having the employee numbers.
I want to compare the numbers in both the columns and highlight the
duplicate entries in Col A. Can you help?

Regards,
P Hamsa




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Comparing values in two columns

Highlight your range in Column A

Conditional Formatting
=COUNTIF($B$1:$B$100,$A1)0

Adjust range to suit
format any color you like

"P.hamsa" wrote:

Hi,
I have two columns (Col A and Col B) having the employee numbers.
I want to compare the numbers in both the columns and highlight the
duplicate entries in Col A. Can you help?

Regards,
P Hamsa




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Comparing values in two columns


Thanks to both the replies. It is working.

Regards,
P.Hamsa


--


"Teethless mama" wrote:

Highlight your range in Column A

Conditional Formatting
=COUNTIF($B$1:$B$100,$A1)0

Adjust range to suit
format any color you like

"P.hamsa" wrote:

Hi,
I have two columns (Col A and Col B) having the employee numbers.
I want to compare the numbers in both the columns and highlight the
duplicate entries in Col A. Can you help?

Regards,
P Hamsa




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
Comparing values in columns Sandy Excel Worksheet Functions 2 April 19th 07 09:40 AM
Comparing two columns of information with 2 new columns of informa cbuck Excel Discussion (Misc queries) 1 January 16th 07 09:49 PM
Help with Comparing values and retrieving values in Excel!!!!!! [email protected] Excel Worksheet Functions 1 November 17th 06 12:21 AM
comparing two columns of data to find common values patman Excel Discussion (Misc queries) 2 July 25th 06 03:05 PM
Comparing values between columns only when there are values in bot Mark K Excel Worksheet Functions 1 February 19th 06 06:47 PM


All times are GMT +1. The time now is 02:13 AM.

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"