how to compare 2 worksheets in 1 workbook

T

Treasur2

I'm trying to figure out how to find any difference in 2 (or more) worksheets
in one workbook (file).

These are text files.
 
P

Pete_UK

If you can ensure that both worksheets are in the same sequence by
sorting them using the same column(s), then in a third worksheet you
can enter into A1 a formula like:

=IF(Sheet1!A1=Sheet2!A1,"","different")

This formula can be copied across for as many columns as you have, and
can be copied down for as many rows as you have. Any differences
between the two sheets will be pointed out to you in the appropriate
cell.

Hope this helps.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top