PC Review


Reply
Thread Tools Rate Thread

How to Compair two Excel files using Macro ?

 
 
=?Utf-8?B?Tml0ZXNoIE1hdGh1cg==?=
Guest
Posts: n/a
 
      6th Sep 2007
I have two excel files with similar data ( not exactly same but column names
are same), I want to compair both file data using Macro and find out those
cells which have not common in first file to second file.

Can any body help me.


--
Rgds

Nitesh Mathur
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      6th Sep 2007
Myrna Larson and Bill Manville have developed a compare that's very nice.

http://www.cpearson.com/excel/whatsnew.htm
look for compare.xla

But the bad news is that this does a cell-by-cell comparison.
A1 compares to A1, x99 to x99, etc.

If you insert/delete a row or column, then this won't work very well.

=======
Another alternative that may work depending on what kind of differences you're
looking for (values, not formulas, not formatting, not comments, not objects):

Save each worksheet as a .csv file and use any comparison program you want to
compare two text files--like MSWord.

Nitesh Mathur wrote:
>
> I have two excel files with similar data ( not exactly same but column names
> are same), I want to compair both file data using Macro and find out those
> cells which have not common in first file to second file.
>
> Can any body help me.
>
> --
> Rgds
>
> Nitesh Mathur


--

Dave Peterson
 
Reply With Quote
 
=?Utf-8?B?UmljayBTLg==?=
Guest
Posts: n/a
 
      9th Oct 2007
Link appears to be dead. http://www.cpearson.com/excel/Zips/Compare.ZIP
Is there another location for the file?
--
Regards

Rick
XP Pro
Office 2007



"Dave Peterson" wrote:

> Myrna Larson and Bill Manville have developed a compare that's very nice.
>
> http://www.cpearson.com/excel/whatsnew.htm
> look for compare.xla
>
> But the bad news is that this does a cell-by-cell comparison.
> A1 compares to A1, x99 to x99, etc.
>
> If you insert/delete a row or column, then this won't work very well.
>
> =======
> Another alternative that may work depending on what kind of differences you're
> looking for (values, not formulas, not formatting, not comments, not objects):
>
> Save each worksheet as a .csv file and use any comparison program you want to
> compare two text files--like MSWord.
>
> Nitesh Mathur wrote:
> >
> > I have two excel files with similar data ( not exactly same but column names
> > are same), I want to compair both file data using Macro and find out those
> > cells which have not common in first file to second file.
> >
> > Can any body help me.
> >
> > --
> > Rgds
> >
> > Nitesh Mathur

>
> --
>
> Dave Peterson
>

 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      9th Oct 2007
http://www.cpearson.com/excel/Download.htm

Scroll down to "Compare"

I just downloaded the file in past 2 minutes.


Gord Dibben MS Excel MVP

On Mon, 8 Oct 2007 16:07:02 -0700, Rick S. <(E-Mail Removed)>
wrote:

>Link appears to be dead. http://www.cpearson.com/excel/Zips/Compare.ZIP
>Is there another location for the file?


 
Reply With Quote
 
Chip Pearson
Guest
Posts: n/a
 
      9th Oct 2007
> Link appears to be dead. http://www.cpearson.com/excel/Zips/Compare.ZIP

That link is wrong. The correct link is
http://www.cpearson.com/Zips/Compare.zip


--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"Rick S." <(E-Mail Removed)> wrote in message
news:675269EC-B294-4E18-8F86-(E-Mail Removed)...
> Link appears to be dead. http://www.cpearson.com/excel/Zips/Compare.ZIP
> Is there another location for the file?
> --
> Regards
>
> Rick
> XP Pro
> Office 2007
>
>
>
> "Dave Peterson" wrote:
>
>> Myrna Larson and Bill Manville have developed a compare that's very nice.
>>
>> http://www.cpearson.com/excel/whatsnew.htm
>> look for compare.xla
>>
>> But the bad news is that this does a cell-by-cell comparison.
>> A1 compares to A1, x99 to x99, etc.
>>
>> If you insert/delete a row or column, then this won't work very well.
>>
>> =======
>> Another alternative that may work depending on what kind of differences
>> you're
>> looking for (values, not formulas, not formatting, not comments, not
>> objects):
>>
>> Save each worksheet as a .csv file and use any comparison program you
>> want to
>> compare two text files--like MSWord.
>>
>> Nitesh Mathur wrote:
>> >
>> > I have two excel files with similar data ( not exactly same but column
>> > names
>> > are same), I want to compair both file data using Macro and find out
>> > those
>> > cells which have not common in first file to second file.
>> >
>> > Can any body help me.
>> >
>> > --
>> > Rgds
>> >
>> > Nitesh Mathur

>>
>> --
>>
>> Dave Peterson
>>


 
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
compair bbrodsky Microsoft Excel Worksheet Functions 1 11th Aug 2009 06:29 PM
compair 2 excel file's and import data from 1 to the other Steven Van Laethem Microsoft Excel Misc 0 30th Jul 2009 01:36 PM
Compair first 5 numbers Srenfro Microsoft Excel Programming 1 28th Mar 2008 06:01 PM
Compair two tables Michelle Microsoft Access Queries 1 16th Jul 2004 03:00 AM
Excel 4.0 Macro help files for Excel 2002 do not work Microsoft Excel Misc 1 21st Jan 2004 08:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:52 AM.