Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Comparing two lists

I am using EXCEL 97.

I am wanting to compare two columns of names, if say column 'B' is different
to column 'A' then I want a third column say column 'C' to be created with
the entries which are different.

Can anyone assist me please with some code?

--
Mark
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Comparing two lists

Look at

http://cpearson.com/excel/duplicat.htm


In article ,
"Mark" wrote:

I am using EXCEL 97.

I am wanting to compare two columns of names, if say column 'B' is different
to column 'A' then I want a third column say column 'C' to be created with
the entries which are different.

Can anyone assist me please with some code?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default Comparing two lists

Mark wrote:

I am using EXCEL 97.

I am wanting to compare two columns of names, if say column 'B' is
different to column 'A' then I want a third column say column 'C' to
be created with the entries which are different.

Can anyone assist me please with some code?


Without VBA, but with a formula:

=A1=B1
and copy down.
Gives you TRUE when they are the same and FALSE if they are not.

Variation:
=IF(A1=B1;"";B1)
and copy down.
Gives you blanks when A and B are equal, and B if they are different.

--
Amedee Van Gasse using XanaNews 1.16.4.2
If it has an "X" in the name, it must be Linux?
Please don't thank me in advance. Thank me afterwards if it works or
hit me in the face if it doesn't. ;-)
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 lists brian New Users to Excel 2 May 11th 09 12:20 PM
Comparing two lists pgarcia Excel Discussion (Misc queries) 2 February 20th 07 09:45 PM
Comparing to lists pgarcia Excel Discussion (Misc queries) 0 February 2nd 07 09:01 PM
Comparing lists John in MN Excel Worksheet Functions 1 May 24th 06 06:57 PM
Comparing Lists to Partial Lists depuyus[_7_] Excel Programming 0 August 5th 04 01:43 PM


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