PC Review


Reply
Thread Tools Rate Thread

comparing 2 workbooks and highlighting differences

 
 
=?Utf-8?B?U1lCUw==?=
Guest
Posts: n/a
 
      31st May 2007
Not sure if this Q should be in programming or Worksheets functions. There
are 2 systems, (for double checking purposes) inputting data. The master
system will save the file as master.xls. The 2nd system will save their
file as compare.xls. It will then be compared to the master.xls for
accuracy, comparing the entries of each cell against each other in a
specific column. (The total column)

So for instance, master.xls, Sheet 1, range F10, should be the same as
compare.xls, sheet 1 range F10. If it is not the same I would like it to be
highlighted in say red, on the master sheet

I have 12 separate sheets in the workbooks, and am looking for a simple way
of achieving this, instead of just using the compare side by side on the
toolbar, which I don’t think would highlight any differences. I have looked
at compare.xla, but dont really know what I should be doing with it now I
have downloaded it, any help please

Be grateful .
Thank you

Sybs

 
Reply With Quote
 
 
 
 
Norman Jones
Guest
Posts: n/a
 
      31st May 2007
Hi Sybs,

Try the Compare addin, developed by Myrna Larson
and Bill Manville, which may be downloaded, free of
charge, from Chip Pearson's Downloads page at:

http://www.cpearson.com/excel/download.htm


---
Regards,
Norman


"SYBS" <(E-Mail Removed)> wrote in message
news:50F790EF-B3DC-41FD-806E-(E-Mail Removed)...
> Not sure if this Q should be in programming or Worksheets functions.
> There
> are 2 systems, (for double checking purposes) inputting data. The master
> system will save the file as master.xls. The 2nd system will save their
> file as compare.xls. It will then be compared to the master.xls for
> accuracy, comparing the entries of each cell against each other in a
> specific column. (The total column)
>
> So for instance, master.xls, Sheet 1, range F10, should be the same as
> compare.xls, sheet 1 range F10. If it is not the same I would like it to
> be
> highlighted in say red, on the master sheet
>
> I have 12 separate sheets in the workbooks, and am looking for a simple
> way
> of achieving this, instead of just using the compare side by side on the
> toolbar, which I don't think would highlight any differences. I have
> looked
> at compare.xla, but dont really know what I should be doing with it now I
> have downloaded it, any help please
>
> Be grateful .
> Thank you
>
> Sybs
>


 
Reply With Quote
 
=?Utf-8?B?U1lCUw==?=
Guest
Posts: n/a
 
      31st May 2007
thanks Norman. I did go there having searched through the posts, but
unfortunately, I have no idea how I am supposed to use it now I have
downloaded it. Help ?

sybs


"Norman Jones" wrote:

> Hi Sybs,
>
> Try the Compare addin, developed by Myrna Larson
> and Bill Manville, which may be downloaded, free of
> charge, from Chip Pearson's Downloads page at:
>
> http://www.cpearson.com/excel/download.htm
>
>
> ---
> Regards,
> Norman
>
>
> "SYBS" <(E-Mail Removed)> wrote in message
> news:50F790EF-B3DC-41FD-806E-(E-Mail Removed)...
> > Not sure if this Q should be in programming or Worksheets functions.
> > There
> > are 2 systems, (for double checking purposes) inputting data. The master
> > system will save the file as master.xls. The 2nd system will save their
> > file as compare.xls. It will then be compared to the master.xls for
> > accuracy, comparing the entries of each cell against each other in a
> > specific column. (The total column)
> >
> > So for instance, master.xls, Sheet 1, range F10, should be the same as
> > compare.xls, sheet 1 range F10. If it is not the same I would like it to
> > be
> > highlighted in say red, on the master sheet
> >
> > I have 12 separate sheets in the workbooks, and am looking for a simple
> > way
> > of achieving this, instead of just using the compare side by side on the
> > toolbar, which I don't think would highlight any differences. I have
> > looked
> > at compare.xla, but dont really know what I should be doing with it now I
> > have downloaded it, any help please
> >
> > Be grateful .
> > Thank you
> >
> > Sybs
> >

>
>

 
Reply With Quote
 
Norman Jones
Guest
Posts: n/a
 
      31st May 2007
Hi Sybs,

The Compare.xla adds a menu item 'Compare worksheets..'
at the foot of Excel's tools menu.

Select the menu item and the remainder should be
self-explanatory.

---
Regards,
Norman



"SYBS" <(E-Mail Removed)> wrote in message
newsA538617-B04F-4A7A-8184-(E-Mail Removed)...
> thanks Norman. I did go there having searched through the posts, but
> unfortunately, I have no idea how I am supposed to use it now I have
> downloaded it. Help ?
>
> sybs
>
>
> "Norman Jones" wrote:
>
>> Hi Sybs,
>>
>> Try the Compare addin, developed by Myrna Larson
>> and Bill Manville, which may be downloaded, free of
>> charge, from Chip Pearson's Downloads page at:
>>
>> http://www.cpearson.com/excel/download.htm
>>
>>
>> ---
>> Regards,
>> Norman
>>
>>
>> "SYBS" <(E-Mail Removed)> wrote in message
>> news:50F790EF-B3DC-41FD-806E-(E-Mail Removed)...
>> > Not sure if this Q should be in programming or Worksheets functions.
>> > There
>> > are 2 systems, (for double checking purposes) inputting data. The
>> > master
>> > system will save the file as master.xls. The 2nd system will save
>> > their
>> > file as compare.xls. It will then be compared to the master.xls for
>> > accuracy, comparing the entries of each cell against each other in a
>> > specific column. (The total column)
>> >
>> > So for instance, master.xls, Sheet 1, range F10, should be the same as
>> > compare.xls, sheet 1 range F10. If it is not the same I would like it
>> > to
>> > be
>> > highlighted in say red, on the master sheet
>> >
>> > I have 12 separate sheets in the workbooks, and am looking for a simple
>> > way
>> > of achieving this, instead of just using the compare side by side on
>> > the
>> > toolbar, which I don't think would highlight any differences. I have
>> > looked
>> > at compare.xla, but dont really know what I should be doing with it now
>> > I
>> > have downloaded it, any help please
>> >
>> > Be grateful .
>> > Thank you
>> >
>> > Sybs
>> >

>>
>>



 
Reply With Quote
 
=?Utf-8?B?U1lCUw==?=
Guest
Posts: n/a
 
      31st May 2007
I have downloaded the compare.xla file and there is sa compare worksheets
menu item onthe tools men. When i select it it gives a message saying did
not find any worksheets. I am obviusly totally doing something wrong. Sorry
to be a pain. Do I need to install this somewhere special or how does it work.

Sorry to be thick.



"Norman Jones" wrote:

> Hi Sybs,
>
> The Compare.xla adds a menu item 'Compare worksheets..'
> at the foot of Excel's tools menu.
>
> Select the menu item and the remainder should be
> self-explanatory.
>
> ---
> Regards,
> Norman
>
>
>
> "SYBS" <(E-Mail Removed)> wrote in message
> newsA538617-B04F-4A7A-8184-(E-Mail Removed)...
> > thanks Norman. I did go there having searched through the posts, but
> > unfortunately, I have no idea how I am supposed to use it now I have
> > downloaded it. Help ?
> >
> > sybs
> >
> >
> > "Norman Jones" wrote:
> >
> >> Hi Sybs,
> >>
> >> Try the Compare addin, developed by Myrna Larson
> >> and Bill Manville, which may be downloaded, free of
> >> charge, from Chip Pearson's Downloads page at:
> >>
> >> http://www.cpearson.com/excel/download.htm
> >>
> >>
> >> ---
> >> Regards,
> >> Norman
> >>
> >>
> >> "SYBS" <(E-Mail Removed)> wrote in message
> >> news:50F790EF-B3DC-41FD-806E-(E-Mail Removed)...
> >> > Not sure if this Q should be in programming or Worksheets functions.
> >> > There
> >> > are 2 systems, (for double checking purposes) inputting data. The
> >> > master
> >> > system will save the file as master.xls. The 2nd system will save
> >> > their
> >> > file as compare.xls. It will then be compared to the master.xls for
> >> > accuracy, comparing the entries of each cell against each other in a
> >> > specific column. (The total column)
> >> >
> >> > So for instance, master.xls, Sheet 1, range F10, should be the same as
> >> > compare.xls, sheet 1 range F10. If it is not the same I would like it
> >> > to
> >> > be
> >> > highlighted in say red, on the master sheet
> >> >
> >> > I have 12 separate sheets in the workbooks, and am looking for a simple
> >> > way
> >> > of achieving this, instead of just using the compare side by side on
> >> > the
> >> > toolbar, which I don't think would highlight any differences. I have
> >> > looked
> >> > at compare.xla, but dont really know what I should be doing with it now
> >> > I
> >> > have downloaded it, any help please
> >> >
> >> > Be grateful .
> >> > Thank you
> >> >
> >> > Sybs
> >> >
> >>
> >>

>
>
>

 
Reply With Quote
 
Norman Jones
Guest
Posts: n/a
 
      31st May 2007
Hi Sybs,

Select the Compare menu option on the Tools menu
Select a sheet from the first dropdown list
Select a sheet from the second dropdown
Select one of the three value \ formula options
OK

The addin creates a report sheet, listing the
differences.



---
Regards,
Norman


"SYBS" <(E-Mail Removed)> wrote in message
newsA538617-B04F-4A7A-8184-(E-Mail Removed)...
> thanks Norman. I did go there having searched through the posts, but
> unfortunately, I have no idea how I am supposed to use it now I have
> downloaded it. Help ?
>
> sybs
>
>
> "Norman Jones" wrote:
>
>> Hi Sybs,
>>
>> Try the Compare addin, developed by Myrna Larson
>> and Bill Manville, which may be downloaded, free of
>> charge, from Chip Pearson's Downloads page at:
>>
>> http://www.cpearson.com/excel/download.htm
>>
>>
>> ---
>> Regards,
>> Norman
>>
>>
>> "SYBS" <(E-Mail Removed)> wrote in message
>> news:50F790EF-B3DC-41FD-806E-(E-Mail Removed)...
>> > Not sure if this Q should be in programming or Worksheets functions.
>> > There
>> > are 2 systems, (for double checking purposes) inputting data. The
>> > master
>> > system will save the file as master.xls. The 2nd system will save
>> > their
>> > file as compare.xls. It will then be compared to the master.xls for
>> > accuracy, comparing the entries of each cell against each other in a
>> > specific column. (The total column)
>> >
>> > So for instance, master.xls, Sheet 1, range F10, should be the same as
>> > compare.xls, sheet 1 range F10. If it is not the same I would like it
>> > to
>> > be
>> > highlighted in say red, on the master sheet
>> >
>> > I have 12 separate sheets in the workbooks, and am looking for a simple
>> > way
>> > of achieving this, instead of just using the compare side by side on
>> > the
>> > toolbar, which I don't think would highlight any differences. I have
>> > looked
>> > at compare.xla, but dont really know what I should be doing with it now
>> > I
>> > have downloaded it, any help please
>> >
>> > Be grateful .
>> > Thank you
>> >
>> > Sybs
>> >

>>
>>



 
Reply With Quote
 
=?Utf-8?B?U1lCUw==?=
Guest
Posts: n/a
 
      31st May 2007
Hi,

It obviously does exactly what I am hoping to do, I have followed your
instructions, but it gives me a message box saying did not find any
worksheets. have both books open, I just dont know what I am doing wrong.

"Norman Jones" wrote:

> Hi Sybs,
>
> Select the Compare menu option on the Tools menu
> Select a sheet from the first dropdown list
> Select a sheet from the second dropdown
> Select one of the three value \ formula options
> OK
>
> The addin creates a report sheet, listing the
> differences.
>
>
>
> ---
> Regards,
> Norman
>
>
> "SYBS" <(E-Mail Removed)> wrote in message
> newsA538617-B04F-4A7A-8184-(E-Mail Removed)...
> > thanks Norman. I did go there having searched through the posts, but
> > unfortunately, I have no idea how I am supposed to use it now I have
> > downloaded it. Help ?
> >
> > sybs
> >
> >
> > "Norman Jones" wrote:
> >
> >> Hi Sybs,
> >>
> >> Try the Compare addin, developed by Myrna Larson
> >> and Bill Manville, which may be downloaded, free of
> >> charge, from Chip Pearson's Downloads page at:
> >>
> >> http://www.cpearson.com/excel/download.htm
> >>
> >>
> >> ---
> >> Regards,
> >> Norman
> >>
> >>
> >> "SYBS" <(E-Mail Removed)> wrote in message
> >> news:50F790EF-B3DC-41FD-806E-(E-Mail Removed)...
> >> > Not sure if this Q should be in programming or Worksheets functions.
> >> > There
> >> > are 2 systems, (for double checking purposes) inputting data. The
> >> > master
> >> > system will save the file as master.xls. The 2nd system will save
> >> > their
> >> > file as compare.xls. It will then be compared to the master.xls for
> >> > accuracy, comparing the entries of each cell against each other in a
> >> > specific column. (The total column)
> >> >
> >> > So for instance, master.xls, Sheet 1, range F10, should be the same as
> >> > compare.xls, sheet 1 range F10. If it is not the same I would like it
> >> > to
> >> > be
> >> > highlighted in say red, on the master sheet
> >> >
> >> > I have 12 separate sheets in the workbooks, and am looking for a simple
> >> > way
> >> > of achieving this, instead of just using the compare side by side on
> >> > the
> >> > toolbar, which I don't think would highlight any differences. I have
> >> > looked
> >> > at compare.xla, but dont really know what I should be doing with it now
> >> > I
> >> > have downloaded it, any help please
> >> >
> >> > Be grateful .
> >> > Thank you
> >> >
> >> > Sybs
> >> >
> >>
> >>

>
>
>

 
Reply With Quote
 
=?Utf-8?B?U1lCUw==?=
Guest
Posts: n/a
 
      31st May 2007
sorry Norman,

I have just produced 2 more books to try with and it works fine. I didnt
realise that it wouldnt work with a protected sheet, which both the workbooks
I was trying to compare have protection.

Thank you for your help with this, I am sorry I took so long to get it, but
the add in didn't tell me why it couldn't find any worksheets !

Thanks again.

Sybs


"Norman Jones" wrote:

> Hi Sybs,
>
> Select the Compare menu option on the Tools menu
> Select a sheet from the first dropdown list
> Select a sheet from the second dropdown
> Select one of the three value \ formula options
> OK
>
> The addin creates a report sheet, listing the
> differences.
>
>
>
> ---
> Regards,
> Norman
>
>
> "SYBS" <(E-Mail Removed)> wrote in message
> newsA538617-B04F-4A7A-8184-(E-Mail Removed)...
> > thanks Norman. I did go there having searched through the posts, but
> > unfortunately, I have no idea how I am supposed to use it now I have
> > downloaded it. Help ?
> >
> > sybs
> >
> >
> > "Norman Jones" wrote:
> >
> >> Hi Sybs,
> >>
> >> Try the Compare addin, developed by Myrna Larson
> >> and Bill Manville, which may be downloaded, free of
> >> charge, from Chip Pearson's Downloads page at:
> >>
> >> http://www.cpearson.com/excel/download.htm
> >>
> >>
> >> ---
> >> Regards,
> >> Norman
> >>
> >>
> >> "SYBS" <(E-Mail Removed)> wrote in message
> >> news:50F790EF-B3DC-41FD-806E-(E-Mail Removed)...
> >> > Not sure if this Q should be in programming or Worksheets functions.
> >> > There
> >> > are 2 systems, (for double checking purposes) inputting data. The
> >> > master
> >> > system will save the file as master.xls. The 2nd system will save
> >> > their
> >> > file as compare.xls. It will then be compared to the master.xls for
> >> > accuracy, comparing the entries of each cell against each other in a
> >> > specific column. (The total column)
> >> >
> >> > So for instance, master.xls, Sheet 1, range F10, should be the same as
> >> > compare.xls, sheet 1 range F10. If it is not the same I would like it
> >> > to
> >> > be
> >> > highlighted in say red, on the master sheet
> >> >
> >> > I have 12 separate sheets in the workbooks, and am looking for a simple
> >> > way
> >> > of achieving this, instead of just using the compare side by side on
> >> > the
> >> > toolbar, which I don't think would highlight any differences. I have
> >> > looked
> >> > at compare.xla, but dont really know what I should be doing with it now
> >> > I
> >> > have downloaded it, any help please
> >> >
> >> > Be grateful .
> >> > Thank you
> >> >
> >> > Sybs
> >> >
> >>
> >>

>
>
>

 
Reply With Quote
 
Norman Jones
Guest
Posts: n/a
 
      31st May 2007
Hi Sybs,

'------------------
It obviously does exactly what I am hoping to do, I have followed your
instructions, but it gives me a message box saying did not find any
worksheets. have both books open, I just dont know what I am doing wrong.
'------------------

I cannot reproduce your problem; I have never
previously encountered any problem with the addin,
nor can I recall reading of a similar experience.

I can only suggest that you try deleting the addin file
and re-download it.

Incidentally, I have tried a fresh download, which
works as expected.


---
Regards,
Norman


 
Reply With Quote
 
ryguy7272
Guest
Posts: n/a
 
      17th Apr 2008
This is a great macro for comparing data in two sheets:
Sub FindDupes() 'assuming both sheets are in same book and book is open
Dim sht1 As Worksheet
Dim sht2 As Worksheet
Dim cell1 As Range
Dim cell2 As Range
Dim str As String
str = InputBox("Type name of first sheet")
Set sht1 = Worksheets(str)
str = InputBox("Type name of second sheet")
Set sht2 = Worksheets(str)


sht1.Range("A65536").End(xlDown).Activate
Selection.End(xlUp).Activate
LastRowSht1 = ActiveCell.Row

sht2.Activate
sht2.Range("A65536").End(xlDown).Activate
Selection.End(xlUp).Activate
LastRowSht2 = ActiveCell.Row

sht1.Activate
For rowSht1 = 1 To LastRowSht1
If sht1.Cells(rowSht1, 1) = "" Then Exit Sub
For rowSht2 = 1 To LastRowSht2
If sht1.Cells(rowSht1, 1).Value = sht2.Cells(rowSht2, 1).Value
Then
sht1.Cells(rowSht1, 1).Interior.ColorIndex = 3
sht2.Cells(rowSht2, 1).Interior.ColorIndex = 3

End If
Next
Next
sht1.Cells(1, 1).Select
End Sub

Regards,
Ryan--

--
RyGuy


"SYBS" wrote:

> sorry Norman,
>
> I have just produced 2 more books to try with and it works fine. I didnt
> realise that it wouldnt work with a protected sheet, which both the workbooks
> I was trying to compare have protection.
>
> Thank you for your help with this, I am sorry I took so long to get it, but
> the add in didn't tell me why it couldn't find any worksheets !
>
> Thanks again.
>
> Sybs
>
>
> "Norman Jones" wrote:
>
> > Hi Sybs,
> >
> > Select the Compare menu option on the Tools menu
> > Select a sheet from the first dropdown list
> > Select a sheet from the second dropdown
> > Select one of the three value \ formula options
> > OK
> >
> > The addin creates a report sheet, listing the
> > differences.
> >
> >
> >
> > ---
> > Regards,
> > Norman
> >
> >
> > "SYBS" <(E-Mail Removed)> wrote in message
> > newsA538617-B04F-4A7A-8184-(E-Mail Removed)...
> > > thanks Norman. I did go there having searched through the posts, but
> > > unfortunately, I have no idea how I am supposed to use it now I have
> > > downloaded it. Help ?
> > >
> > > sybs
> > >
> > >
> > > "Norman Jones" wrote:
> > >
> > >> Hi Sybs,
> > >>
> > >> Try the Compare addin, developed by Myrna Larson
> > >> and Bill Manville, which may be downloaded, free of
> > >> charge, from Chip Pearson's Downloads page at:
> > >>
> > >> http://www.cpearson.com/excel/download.htm
> > >>
> > >>
> > >> ---
> > >> Regards,
> > >> Norman
> > >>
> > >>
> > >> "SYBS" <(E-Mail Removed)> wrote in message
> > >> news:50F790EF-B3DC-41FD-806E-(E-Mail Removed)...
> > >> > Not sure if this Q should be in programming or Worksheets functions.
> > >> > There
> > >> > are 2 systems, (for double checking purposes) inputting data. The
> > >> > master
> > >> > system will save the file as master.xls. The 2nd system will save
> > >> > their
> > >> > file as compare.xls. It will then be compared to the master.xls for
> > >> > accuracy, comparing the entries of each cell against each other in a
> > >> > specific column. (The total column)
> > >> >
> > >> > So for instance, master.xls, Sheet 1, range F10, should be the same as
> > >> > compare.xls, sheet 1 range F10. If it is not the same I would like it
> > >> > to
> > >> > be
> > >> > highlighted in say red, on the master sheet
> > >> >
> > >> > I have 12 separate sheets in the workbooks, and am looking for a simple
> > >> > way
> > >> > of achieving this, instead of just using the compare side by side on
> > >> > the
> > >> > toolbar, which I don't think would highlight any differences. I have
> > >> > looked
> > >> > at compare.xla, but dont really know what I should be doing with it now
> > >> > I
> > >> > have downloaded it, any help please
> > >> >
> > >> > Be grateful .
> > >> > Thank you
> > >> >
> > >> > Sybs
> > >> >
> > >>
> > >>

> >
> >
> >

 
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
Highlighting the differences between lists 2 corbett Microsoft Excel Misc 3 5th May 2009 04:32 PM
Highlighting the differences between lists. corbett Microsoft Excel Misc 4 2nd May 2009 01:26 PM
Comparing two workbooks and highlighting the differences =?Utf-8?B?Q2hhcmxlcyBDLg==?= Microsoft Excel Misc 2 26th Jul 2006 07:14 PM
Formula for comparing two workbooks and highlighting the differenc =?Utf-8?B?Q2hhcmxlcyBDLg==?= Microsoft Excel Worksheet Functions 5 26th Jul 2006 07:05 PM
Comparing two columns of data and Highlighting the Differences Harapa Microsoft Excel Misc 3 6th Mar 2004 05:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:46 PM.