A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

compare worksheets



 
 
Thread Tools Display Modes
  #1  
Old July 13th, 2007, 03:48 PM posted to microsoft.public.excel.misc
Ivano
external usenet poster
 
Posts: 15
Default compare worksheets

Hi,
I have an excel file which is updated regularly and then a backup was made.
unfortunaltely the orginal as well as the backup have been updated. is there
a utility or formula etc. that I can compare the workboor or worksheets and
tell me which cells are different. I don't even need to know what the
differences are since I can do it manually, but that that would be nice.

Thanks,

  #2  
Old July 13th, 2007, 04:02 PM posted to microsoft.public.excel.misc
bj
external usenet poster
 
Posts: 1,451
Default compare worksheets

i am not sure what you mean by "Different"
compared to what?
If you are lucky, track changes has been selected and you might be able to
identify them that way. otherwise, unless you have something to compare
against, I think you are out of luck.

"Ivano" wrote:

Hi,
I have an excel file which is updated regularly and then a backup was made.
unfortunaltely the orginal as well as the backup have been updated. is there
a utility or formula etc. that I can compare the workboor or worksheets and
tell me which cells are different. I don't even need to know what the
differences are since I can do it manually, but that that would be nice.

Thanks,

  #3  
Old July 13th, 2007, 04:06 PM posted to microsoft.public.excel.misc
Dave Peterson
external usenet poster
 
Posts: 19,791
Default compare worksheets

If you wanted to look at a cell by cell comparison to compare two worksheets
cell by cell (A1 with A1, x99 with x99...), you could try this addin developed
by Myrna Larson and Bill Manville.

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

If you think that a row or column was added or deleted, this kind of comparison
soon loses its effectiveness.

Ivano wrote:

Hi,
I have an excel file which is updated regularly and then a backup was made.
unfortunaltely the orginal as well as the backup have been updated. is there
a utility or formula etc. that I can compare the workboor or worksheets and
tell me which cells are different. I don't even need to know what the
differences are since I can do it manually, but that that would be nice.

Thanks,


--

Dave Peterson
  #4  
Old July 13th, 2007, 05:18 PM posted to microsoft.public.excel.misc
Ivano
external usenet poster
 
Posts: 15
Default compare worksheets

Hi bj,
we have an orginal excel file and then every month create a copy of it for
archival purposes. So there is the "working copy" which everyone should be
updating daily and then the "monthly archive" copy which is there just for
referece purposes. But, as it turns out the archive copy was being updated
as well. so now i need to find out what changes were made to the archive
copy and transfer them over to the working copy. It's a big workbook with
many tabs. So I need something to compare each cell of the workbook and
point out the different values.


"bj" wrote:

i am not sure what you mean by "Different"
compared to what?
If you are lucky, track changes has been selected and you might be able to
identify them that way. otherwise, unless you have something to compare
against, I think you are out of luck.

"Ivano" wrote:

Hi,
I have an excel file which is updated regularly and then a backup was made.
unfortunaltely the orginal as well as the backup have been updated. is there
a utility or formula etc. that I can compare the workboor or worksheets and
tell me which cells are different. I don't even need to know what the
differences are since I can do it manually, but that that would be nice.

Thanks,

  #5  
Old July 13th, 2007, 05:18 PM posted to microsoft.public.excel.misc
Ivano
external usenet poster
 
Posts: 15
Default compare worksheets

HI Dave,
Thanks for the suggestion but the compare.xla link doesn't work. Can I get
the add in anywhere else?

"Dave Peterson" wrote:

If you wanted to look at a cell by cell comparison to compare two worksheets
cell by cell (A1 with A1, x99 with x99...), you could try this addin developed
by Myrna Larson and Bill Manville.

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

If you think that a row or column was added or deleted, this kind of comparison
soon loses its effectiveness.

Ivano wrote:

Hi,
I have an excel file which is updated regularly and then a backup was made.
unfortunaltely the orginal as well as the backup have been updated. is there
a utility or formula etc. that I can compare the workboor or worksheets and
tell me which cells are different. I don't even need to know what the
differences are since I can do it manually, but that that would be nice.

Thanks,


--

Dave Peterson

  #6  
Old July 13th, 2007, 05:29 PM posted to microsoft.public.excel.misc
Dave Peterson
external usenet poster
 
Posts: 19,791
Default compare worksheets

It works fine for me.

I'd try to get another copy.

Ivano wrote:

HI Dave,
Thanks for the suggestion but the compare.xla link doesn't work. Can I get
the add in anywhere else?

"Dave Peterson" wrote:

If you wanted to look at a cell by cell comparison to compare two worksheets
cell by cell (A1 with A1, x99 with x99...), you could try this addin developed
by Myrna Larson and Bill Manville.

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

If you think that a row or column was added or deleted, this kind of comparison
soon loses its effectiveness.

Ivano wrote:

Hi,
I have an excel file which is updated regularly and then a backup was made.
unfortunaltely the orginal as well as the backup have been updated. is there
a utility or formula etc. that I can compare the workboor or worksheets and
tell me which cells are different. I don't even need to know what the
differences are since I can do it manually, but that that would be nice.

Thanks,


--

Dave Peterson


--

Dave Peterson
  #7  
Old July 13th, 2007, 06:36 PM posted to microsoft.public.excel.misc
bj
external usenet poster
 
Posts: 1,451
Default compare worksheets

Ok. that is different question than my initial interpretation.

here is a brute force method

first make a list of all the sheets

insert a new sheet at the beginning of the book
and select a max row, max column size pair which would cover all the data in
all of the sheets (rmax, cmax) and enter these values in the macro

enter the book names into the macro as needed
use a macro such as

Private Sub finddif()
'list of sheet names starting at A1
Dim rng As Range
dim rmax as integer
rmax = ' enter rmax here
dim cmax as integer
cmax = 'enter cmax here
dim r as integer
dim c as integer
dim rr as integer
Dim i As Integer
i=1
Set rng = Range("A1")
For Each Sheet In ActiveWorkbook.Sheets
rng.Offset(0,i).Value = Sheet.Name
shn = Sheet.Name
if i = 1 goto 99
rr = 2
for r = 1 to rmax
for c = 1 to cmax
if books("book1").sheets(shn).cells(r,c)
books("book2").sheets(shn).cells(r,c)then cells(i,rr)="("&r&","&c&")":rr=rr+1
next c
next r
99 i = i + 1
Next Sheet
End Sub


this will place a set of sheet names across the first row of the new sheet
and under each will list the cells which are different
..

Like I said a brute force method


"Ivano" wrote:

Hi bj,
we have an orginal excel file and then every month create a copy of it for
archival purposes. So there is the "working copy" which everyone should be
updating daily and then the "monthly archive" copy which is there just for
referece purposes. But, as it turns out the archive copy was being updated
as well. so now i need to find out what changes were made to the archive
copy and transfer them over to the working copy. It's a big workbook with
many tabs. So I need something to compare each cell of the workbook and
point out the different values.


"bj" wrote:

i am not sure what you mean by "Different"
compared to what?
If you are lucky, track changes has been selected and you might be able to
identify them that way. otherwise, unless you have something to compare
against, I think you are out of luck.

"Ivano" wrote:

Hi,
I have an excel file which is updated regularly and then a backup was made.
unfortunaltely the orginal as well as the backup have been updated. is there
a utility or formula etc. that I can compare the workboor or worksheets and
tell me which cells are different. I don't even need to know what the
differences are since I can do it manually, but that that would be nice.

Thanks,

  #8  
Old October 11th, 2007, 12:10 PM posted to microsoft.public.excel.misc
Rajula
external usenet poster
 
Posts: 47
Default compare worksheets

Hi Dave

Can you please mail me a copy of this compare add in?

Thanks
Rajula

"Dave Peterson" wrote:

It works fine for me.

I'd try to get another copy.

Ivano wrote:

HI Dave,
Thanks for the suggestion but the compare.xla link doesn't work. Can I get
the add in anywhere else?

"Dave Peterson" wrote:

If you wanted to look at a cell by cell comparison to compare two worksheets
cell by cell (A1 with A1, x99 with x99...), you could try this addin developed
by Myrna Larson and Bill Manville.

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

If you think that a row or column was added or deleted, this kind of comparison
soon loses its effectiveness.

Ivano wrote:

Hi,
I have an excel file which is updated regularly and then a backup was made.
unfortunaltely the orginal as well as the backup have been updated. is there
a utility or formula etc. that I can compare the workboor or worksheets and
tell me which cells are different. I don't even need to know what the
differences are since I can do it manually, but that that would be nice.

Thanks,

--

Dave Peterson


--

Dave Peterson

  #9  
Old October 11th, 2007, 02:38 PM posted to microsoft.public.excel.misc
Dave Peterson
external usenet poster
 
Posts: 19,791
Default compare worksheets

Wouldn't it be easier to just download it from the source?

Rajula wrote:

Hi Dave

Can you please mail me a copy of this compare add in?

Thanks
Rajula

"Dave Peterson" wrote:

It works fine for me.

I'd try to get another copy.

Ivano wrote:

HI Dave,
Thanks for the suggestion but the compare.xla link doesn't work. Can I get
the add in anywhere else?

"Dave Peterson" wrote:

If you wanted to look at a cell by cell comparison to compare two worksheets
cell by cell (A1 with A1, x99 with x99...), you could try this addin developed
by Myrna Larson and Bill Manville.

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

If you think that a row or column was added or deleted, this kind of comparison
soon loses its effectiveness.

Ivano wrote:

Hi,
I have an excel file which is updated regularly and then a backup was made.
unfortunaltely the orginal as well as the backup have been updated. is there
a utility or formula etc. that I can compare the workboor or worksheets and
tell me which cells are different. I don't even need to know what the
differences are since I can do it manually, but that that would be nice.

Thanks,

--

Dave Peterson


--

Dave Peterson


--

Dave Peterson
  #10  
Old October 11th, 2007, 02:45 PM posted to microsoft.public.excel.misc
Rajula
external usenet poster
 
Posts: 47
Default compare worksheets

The link does not work.

Rajula

"Dave Peterson" wrote:

Wouldn't it be easier to just download it from the source?

Rajula wrote:

Hi Dave

Can you please mail me a copy of this compare add in?

Thanks
Rajula

"Dave Peterson" wrote:

It works fine for me.

I'd try to get another copy.

Ivano wrote:

HI Dave,
Thanks for the suggestion but the compare.xla link doesn't work. Can I get
the add in anywhere else?

"Dave Peterson" wrote:

If you wanted to look at a cell by cell comparison to compare two worksheets
cell by cell (A1 with A1, x99 with x99...), you could try this addin developed
by Myrna Larson and Bill Manville.

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

If you think that a row or column was added or deleted, this kind of comparison
soon loses its effectiveness.

Ivano wrote:

Hi,
I have an excel file which is updated regularly and then a backup was made.
unfortunaltely the orginal as well as the backup have been updated. is there
a utility or formula etc. that I can compare the workboor or worksheets and
tell me which cells are different. I don't even need to know what the
differences are since I can do it manually, but that that would be nice.

Thanks,

--

Dave Peterson


--

Dave Peterson


--

Dave Peterson

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:22 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.