Compare & highlight changes between two worksheets?

K

Katie

I two worksheets of data & want to compare them and highlight the changes
between the two.
 
S

Shane Devenshire

Hi,

There are addins (some free, some not) which may do what you want. Here is
a start:

http://www.google.com/search?hl=en&safe=off&q=Free+tool+for+comparing+excel+files

However, lets say you want to compare Sheet1!A1 with Sheet2!A1 and so on,
and highlight the difference. Suppose you want to highlight the differences
in Sheet1. Suppose the range of concern is A1:D10. Move to Sheet2 and
highlight the range A1:D10. Click in the Name Box (on the left of the
Formula Bar) and type Data, then press Enter. Move back to Sheet1 and select
A1:D10, then apply conditional formatting.

To conditionally format your cell(s):

In 2003:
1. Select the cells you want to format
2. Choose Format, Conditional Formatting
3. Choose Formula is from the first drop down
4. In the second box enter the formula:

=INDEX(Data2,ROW(),COLUMN())<>A1

5. Click the Format button
6. Choose a color on the Patterns tab (or any available option)
7. Click OK twice.

In 2007:
1. Highlight all the cells on the rows you want formatted
2. Choose Home, Conditional Formatting, New Rule
3. Choose Use a formula to determine which cell to format
4. In the Format values where this formula is true enter the following
formula:

=INDEX(Data2,ROW(),COLUMN())<>A1

5. Click the Format button and choose a format.
6. Click OK twice
 
S

Shane Devenshire

I see I called on Data and the other Data2, a mistake. Whatever you call it,
use the same name in the formula.


The imporatant point is that if you want to do conditional formatting
between sheets range names are required.
 

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