PC Review


Reply
Thread Tools Rate Thread

Comparing two columns in two separate files

 
 
K Landsworth
Guest
Posts: n/a
 
      15th Jun 2006
Hi, I have an excel worksheet (I will call it A.xls), its first column is
the unit numbers, I did some work with this file and saved it under a
different name (I will call it B.xls). I noticed some of the rows with unit
numbers are missing in this second file.

Could some one tell me how would I go about in comparing the first columns
of these two files so that it will give me a list of missing unit numbers
that I had in the file A.xls but now not present in B.xls

Thanks a lot in advance. - Kenny


 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWF4?=
Guest
Posts: n/a
 
      15th Jun 2006
Assume source data in A.xls is in Sheet1, within A1:A20 (say)

In B.xls, source data is also in Sheet1, within A1:A10 (say)

With A.xls open as well,
Try this set up in B.xls's Sheet1,

Put in B1
=IF(COUNT(C:C)<ROW(A1),"",INDEX([A.xls]Sheet1!$A:$A,MATCH(SMALL(C:C,ROW(A1)),C:C,0)))

Put in C1
=IF([A.xls]Sheet1!A1="","",IF(ISNUMBER(MATCH([A.xls]Sheet1!A1,A:A,0)),"",ROW()))

Select B1:C1, copy down to C20, i.e. cover the extent of data in A.xls

Col B will return the required list of items in A.xls's source data which
are not found in B.xls's source. The list of items will be neatly bunched at
the top
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"K Landsworth" wrote:
> Hi, I have an excel worksheet (I will call it A.xls), its first column is
> the unit numbers, I did some work with this file and saved it under a
> different name (I will call it B.xls). I noticed some of the rows with unit
> numbers are missing in this second file.
>
> Could some one tell me how would I go about in comparing the first columns
> of these two files so that it will give me a list of missing unit numbers
> that I had in the file A.xls but now not present in B.xls
>
> Thanks a lot in advance. - Kenny

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide columns and rows then separate the spreadsheet into different files tahrah Microsoft Excel Programming 1 10th Jan 2007 06:24 PM
Comparing Multi-Columns of Data in Different Files =?Utf-8?B?SmFj?= Microsoft Excel Misc 3 24th Oct 2006 04:35 PM
Import 2 text files into 2 separate columns? tcurrier Microsoft Excel Misc 3 11th Feb 2006 07:13 PM
Comparing columns in 2 Excel files(workbooks) =?Utf-8?B?c2NoZWxsYW0=?= Microsoft Excel Programming 1 9th Dec 2005 05:09 PM
Tips on searching and comparing multiple columns on separate sheets. GM Microsoft Excel Programming 1 29th May 2004 05:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:15 AM.