Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
dgfullin
 
Posts: n/a
Default How do I compare 2 excel spreadsheets?

I have 2 bill of materials for a product. I want to know the differences
between the 2. I want to know what was added, what was removed, if any
quantities changed.
  #2   Report Post  
Eric
 
Posts: n/a
Default

dgfullin,

Depending on how big/complicated it is, you could just put a formula in one
spreadsheet that subtracts off the value in the same cell in the other
worksheet. For example, if you want to compare D10 in the other workbook
from the value in D10 in the current one, enter the following formula in E10
(or any other free cell):

='[Book2.xls]Sheet1'!D10 - D10

Then copy it down if you want to find the difference for a column. If you
want to compare the whole spreadsheet, make a new workbook and put the
following into A1:

='[Book2.xls]Sheet1'!A1 = '[Book1.xls]Sheet1'!A1

Then copy it over the range that there are values in the workbooks. It
will return TRUE when the cells are the same and FALSE when they're not.

(Obviously, you need to replace "Book1" and "Book2" with the actual names of
your files.

Eric


"dgfullin" wrote:

I have 2 bill of materials for a product. I want to know the differences
between the 2. I want to know what was added, what was removed, if any
quantities changed.

  #3   Report Post  
dgfullin
 
Posts: n/a
Default

I tried this, but the way our BOMs are created, the columns match up, but
then they sort by part number, so none of my row cells match up. Any other
suggestions?
Thanks,
df


"Eric" wrote:

dgfullin,

Depending on how big/complicated it is, you could just put a formula in one
spreadsheet that subtracts off the value in the same cell in the other
worksheet. For example, if you want to compare D10 in the other workbook
from the value in D10 in the current one, enter the following formula in E10
(or any other free cell):

='[Book2.xls]Sheet1'!D10 - D10

Then copy it down if you want to find the difference for a column. If you
want to compare the whole spreadsheet, make a new workbook and put the
following into A1:

='[Book2.xls]Sheet1'!A1 = '[Book1.xls]Sheet1'!A1

Then copy it over the range that there are values in the workbooks. It
will return TRUE when the cells are the same and FALSE when they're not.

(Obviously, you need to replace "Book1" and "Book2" with the actual names of
your files.

Eric


"dgfullin" wrote:

I have 2 bill of materials for a product. I want to know the differences
between the 2. I want to know what was added, what was removed, if any
quantities changed.

  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

Your part numbers are unique in each worksheet?

If yes, maybe you could use =vlookup() to retrieve the values from the second
worksheet and put them in helper columns to the right of your original data.

Say column A has the part number.
columns B:E has the data
then add F:I to return those values from the other worksheet

Then use J:M to compare the values:

=b2=f2
(and drag across and then drag it down.)

==========
If you could add part numbers in the second workbook, then this won't work. You
won't have a part number on the first worksheet to match on the second.

If that's the case, I'd get a single list of all the part numbers.

Insert a new worksheet and copy the part numbers from worksheet 1 to A1 of that
new worksheet. Then copy the part numbers from worksheet 2 at the bottom of
that list in column A.

Include just one header in A1.

Then use techniques at Debra Dalgleish's site to get just a single list of part
numbers:
http://www.contextures.com/xladvfilter01.html#FilterUR

Delete column A.

Then use =vlookup() to return the values from worksheet 1 and from worksheet 2
(in columns B:E and F:I like above).

Then compare the returned values.

=============
Another way that may work....

Save both worksheets as a .CSV (comma separated values).

Then use MSWord to compare these text files to see changes.



dgfullin wrote:

I tried this, but the way our BOMs are created, the columns match up, but
then they sort by part number, so none of my row cells match up. Any other
suggestions?
Thanks,
df

"Eric" wrote:

dgfullin,

Depending on how big/complicated it is, you could just put a formula in one
spreadsheet that subtracts off the value in the same cell in the other
worksheet. For example, if you want to compare D10 in the other workbook
from the value in D10 in the current one, enter the following formula in E10
(or any other free cell):

='[Book2.xls]Sheet1'!D10 - D10

Then copy it down if you want to find the difference for a column. If you
want to compare the whole spreadsheet, make a new workbook and put the
following into A1:

='[Book2.xls]Sheet1'!A1 = '[Book1.xls]Sheet1'!A1

Then copy it over the range that there are values in the workbooks. It
will return TRUE when the cells are the same and FALSE when they're not.

(Obviously, you need to replace "Book1" and "Book2" with the actual names of
your files.

Eric


"dgfullin" wrote:

I have 2 bill of materials for a product. I want to know the differences
between the 2. I want to know what was added, what was removed, if any
quantities changed.


--

Dave Peterson
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
Stop excel icon showing at the bottom when opening spreadsheets Rajesh Excel Discussion (Misc queries) 1 June 15th 05 09:25 AM
Excel compare workbooks: need to interrupt and resume sync scroll Al in Ladner Excel Discussion (Misc queries) 0 June 14th 05 08:25 PM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 03:01 PM
Linked Excel Spreadsheets MAB Excel Discussion (Misc queries) 0 March 24th 05 03:51 PM
Viewing Excel spreadsheets Jimbola Excel Discussion (Misc queries) 1 November 28th 04 07:59 PM


All times are GMT +1. The time now is 04:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"