How To Compare Two Excel Files or Sheets For Differences
How To Compare Two Excel Files or Sheets For Differences
In this tutorial, you will learn a variety of methods to compare Excel files and identify differences between them. See how
to open two Excel windows side by side, how to use Excel formulas to create a difference report, highlight differences
with conditional formatting, and more.
When you have two similar Excel workbooks, or better say two versions of the same workbook, what's the first
thing you usually want to do with them? Right, compare those files for differences, and then probably merge
them into a single file. In addition, workbook comparison can help you spot potential problems like broken links,
duplicate records, inconsistent formulas or wrong formatting.
So, let's have a closer look at various methods to compare two Excel sheets or entire workbooks and identify
differences between them.
2. Go to the View tab, Window group, and click the View Side by Side button. That's it!
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 1/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
To split Excel windows vertically, click Arrange All button and select Vertical:
As the result, two separate Excel windows will be arranged side by side, like in the below screenshot.
If you want to scroll through both worksheets simultaneously to compare data row-by-row, make sure the
Synchronous Scrolling option it turned on. This option resides on the View tab, in the Window group, right under
the View Side by Side button, and is usually turned on automatically as soon as you activate View Side by Side
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 2/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
mode.
For more information about using this Excel feature, please see View Excel workbooks side by side.
To view all open Excel files at a time, click the Arrange All button on the View tab, in the Window group, and
choose your preferred arrangement: tiled, horizontal, vertical or cascade.
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 3/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
1. Open your Excel file, go to the View tab > Window group, and click the New Window button.
3. Enable View Side by Side mode by clicking the corresponding button on the ribbon.
4. Select sheet 1 in the first window and sheet 2 in the second window.
To compare two Excel worksheets for differences, just open a new empty sheet, enter the following formula in
cell A1, and then copy it down and to the right by dragging the fill handle:
Due to the we use of relative cell references, the formula will change based on a relative position of the column
and row. As the result, the formula in A1 will compare cell A1 in Sheet1 and Sheet2, the formula in B1 will
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 4/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
compare cell B1 in both sheets, and so on. The result will look similar to this:
As you can see in the above screenshot, the formula compares 2 sheets, identifies cells with deferent values and
displays the differences in corresponding cells. Please note that in the difference report, dates (cell C4) are
presented by serial numbers as they are stored in the internal Excel system, which is not very convenient for
analyzing differences between them.
In the worksheet where you want to highlight differences, select all used cells. For this, click the upper left cell
of the used range, usually A1, and press Ctrl + Shift + End to extend the selection to the last used cell.
On the Home tab, in the Styles group, click Conditional Formatting > New rule, and create a rule with the following
formula:
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 5/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
=A1<>Sheet2!A1
Where Sheet2 is the name of the other sheet you are comparing.
As the result, the cells with different values will get highlighted with the selected color:
If you are not very familiar with Excel conditional formatting, you can find the detailed steps to create a rule in the
following tutorial: Excel conditional formatting based on another cell value.
As you see, it's very easy to compare two Excel sheets by using formulas or conditional formats. However, these
methods are not well suited for all-round comparison because of the following limitations:
They find differences only in values, but cannot compare formulas or cell formatting.
They cannot identify added or deleted rows and columns. As soon as you add or delete a row / column in one
sheet, all subsequent rows / columns will be marked as differences.
They work on a sheet level, but cannot detect workbook-level structural differences such as sheet additions
and deletions.
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 6/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
Share your Excel workbook before you make it available to other users.
To share a workbook, just click the Share Workbook button on the Review tab, in the Changes group, select the
Allow Changes by More Than One User… box, and click OK. Allow Excel to save the workbook if prompted.
Turning on the Track Changes feature shares the workbook automatically.
Each person who makes any edits to the shared workbook must save a copy (.xls or xlsx file) using a unique file
name.
Now that all initial preparations are done properly, you are ready to combine the copies of a shared workbook.
Open the Quick Access drop down menu and select More Commands.
In the Excel Options dialog box, select All Commands under Choose commands from.
In the list of commands, scroll down to Compare and Merge Workbooks, select it and click the Add button to
move it to the right-hand section.
Click OK.
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 7/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
Click the Compare and Merge Workbooks command on the Quick Access toolbar.
In the dialog box that appears, select a copy of the shared workbook that you want to merge. To select several
copies, hold the Shift key while clicking the file names, and then click OK.
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 8/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
Done! The changes from each copy are merged into a single workbook.
Switch to the Review tab > Changes group, and click Track Changes > Highlight Changes.
In the Highlight Changes dialog, select All in the When box, Everyone in the Who box, clear the Where box, select
the Highlight changes on screen box, and click OK.
To point out the row and columns with differences, Excel highlights the column letters and row numbers in a dark
red color. At the cell level, edits from different users are marked with different colors. To see who made a specific
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 9/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
Note. If the Compare and Merge Workbooks command is greyed out in your Excel, most likely you are trying to
combine different Excel files. Please remember, the Compare and Merge Workbooks feature allows merging
only copies of the same shared workbook.
So, if you need advanced and really efficient means to compare two Excel files, then most likely you would have to
use one of the third-party tools specially designed for comparing, updating and merging Excel sheets and
workbooks. Below you will find a quick overview of a few tools that, in my opinion, are best performers in this
area.
xlCompare
If you are looking for a quick and reliable method to compare two Excel sheets or workbooks, you will certainly
find helpful the following features of Synkronizer Excel Compare:
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 10/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
Combining multiple Excel files into a single version without producing unwanted duplicates.
To get some basic idea about Synkronizer Excel Compare's capabilities and performance, let's carry out a couple
of field tests.
Okay, let's see how efficiently Synkronizer can compare our two sheets and identify differences between them.
To run Synkronizer Excel Compare, go to the Add-ins tab, and click the Synchronizer 11 icon.
The Synkronizer pane will show up in the left part of your Excel window, where you do the following:
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 11/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
If the selected workbooks have any sheets with the same names, all those sheets will be matched and
automatically selected for comparison (like Participants sheets in the below screenshot).
Also, you can select worksheets manually or instruct the add-in to match sheets by other criteria, for example
by worksheet type - all, protected, or hidden.
Once you've selected the sheets, the Synkronizer add-in will open them side by side, arranged vertically or
horizontally, like in Excel's View Side by Side mode.
Compare as normal worksheets - the default option that works in most cases.
Compare with link options - if the selected sheets do not contain any new or deleted rows and columns, you
can compare them "1 on 1".
Compare as database - recommended for comparing sheets that have a database structure.
Compare selected ranges - if you do not want to compare the entire sheets, define the ranges to be
compared.
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 12/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
On the Select tab, in the Compare group, you can choose the content type(s) relevant to your current task:
Under Content, you can select comments and names (in addition to cell values, formulas and calculated
values that are compared by default).
Under Formats, you choose what cell formats such as alignment, fill, font, border etc.
The Filters option lets you filter out differences that you don't want to display. For example, you can ignore
case, leading or trailing spaces, all formulas or different formulas with the same result, hidden rows or
column, and more.
5. Finally, click the big red Start button on the ribbon and proceed to examining the results.
In a summary report, you can see all difference types at a glance: changes in columns, rows, cells, comments,
formats, and names.
To view the detailed difference report, just click a specific difference type on the summary report.
The following screenshot shows the summary report (in the upper part of the Results pane), and cell difference
report (in the lower part of the pane) that were created for our sample sheets:
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 13/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
Clicking on a difference in the detailed report will select the corresponding cells on both sheets (the below
screenshot shows just one sheet because there's enough room to show both :)
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 14/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
In addition, you can create a difference repot in a separate workbook, either standard or hyperlinked, and jump
to a specific difference with a mouse click:
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 15/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
To highlight only the relevant differences, click the Outline button on the Results tab, and select the required
options:
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 16/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
To update one or more differences, select them on the Synkronizer's pane and click one of the 4 update buttons -
the first and last buttons update all differences, while the 2nd and 3rd buttons update selected differences only
(the button arrows indicate the transfer direction):
Well, these are the key features of the Synkronizer add-in, but there is certainly much more to it. Want to give it a
try? An evaluation version is available for download here.
Synkronizer is certainly worth your attention, but it's not the only way to compare files in Excel. A handful of other
comparison tools exist, which basically provide the same set of features but in different implementations.
To make the comparison more intuitive and user-friendly, the add-in is designed in this way:
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 17/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
A step-by-step wizard walks you through the process and helps configure different options.
You can choose the comparison algorithm best suited for your data sets.
Instead of a difference report, the compared sheets are displayed in the Review Differences mode so that you
could view all the differences at a glance and manage them one-by-one.
Now, let's try the tool on our sample spreadsheets from the previous example and see if the results are any
different.
1. Click the Compare Sheets button on the Ablebits Data tab, in the Merge group:
2. The wizard will show up asking you to select the two worksheets you'd like to compare for differences.
By default, the entire sheets are selected, but you can also select the current table or a specific range by
clicking the corresponding button:
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 18/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
No key columns (default) - works best for sheet-based documents like invoices or contracts.
By key columns - is appropriate for column-organized sheets that have one or more unique identifiers such
as order numbers or product ID's.
Cell-by-cell - best to be used to compare spreadsheets with the same layout and size, like balance sheets or
year-to-year reports.
Tip. If you are unsure which option is right for you, go with the default one (No key columns). Whichever
algorithm you select, the add-in will find all the differences, it will only highlight them differently (entire
rows or individual cells).
On the same step, you can choose the preferred match type:
First match (default) - compare a row in Sheet 1 to the first found row in Sheet 2 that has at least one
matching cell.
Best match - compare a row in Sheet 1 to the row in Sheet 2 that has the maximum number of matching
cells.
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 19/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
Full match only - find rows in both sheets that have exactly the same values in all the cells, and mark all
other rows as different.
In this example, we will look for Best match by using the default No key columns comparing mode:
4. Finally, specify which differences to highlight and which to ignore, and how to mark the differences.
Cell formatting is important to us, so we select Show differences in formatting. Hidden rows and columns are
irrelevant, and we tell the add-in to ignore them:
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 20/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
5. Click the Compare button and allow the add-in a couple of minutes to process your data and make the backup
copies. Backups are always created automatically, so you may not worry about the safety of your data.
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 21/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
On the screenshot above, the differences are highlighted with the default colors:
Blue rows - rows that exist only in Sheet 1 (on the left).
Red rows - rows that exist only in Sheet 2 (on the right).
To help you review and manage the differences, each worksheet has its own vertical toolbar. For the inactive
worksheet (on the left) the toolbar is disabled. To enable the toolbar, just select any cell in the corresponding
sheet.
By using this toolbar, you go through the found differences one-by-one and decide whether to merge or ignore
them:
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 22/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
As soon as the last difference is dealt with, you will be prompted to save the workbooks and exit the Review
differences mode.
If you have not finished processing the differences yet but would like to take a break for now, click the Exit Review
Differences button at the bottom of the toolbar and choose either to:
Save the changes you've made and remove the remaining difference marks, or
That's how you compare two sheets in Excel with our tool (hope you liked it :) If you are curious to give it a shot,
an evaluation version is available for download here.
Update all existing records in one sheet with values from another sheet.
Add unique (new) rows and columns from one sheet to another.
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 23/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
Change pro for Excel: compare Excel sheets on desktop and mobile
devices
With Change pro for Excel, you can compare two sheets in desktop Excel as well as on mobile devices with
optional server-based comparison. The key features of this tool are:
Create and print difference reports of formula, value and layout differences.
For example, you can try XLComparator or CloudyExcel, or find some other similar services on the net. This is how
the CloudyExcel service looks like:
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 24/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
You just upload the two Excel workbooks you want to compare, and click the Find Difference button at the
bottom of the screen. In a moment, the differences in two active sheets will get highlighted with different colors:
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 25/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
Well, this is how you can compare Excel files for differences. If none of the solutions described in this tutorial is
suitable for your task, check out the following resources that cover other aspects of Excel file comparison. And if
you know any other ways to compare two Excel files, your comments will be greatly appreciated. I thank you for
reading and hope to see you on our blog next week!
Compare 2 columns for common values or missing data using VLOOKUP - shows how to compare two
lists and return common values or missing data points.
Consolidate data in Excel & merge multiple sheets into one - explains different ways to combine sheets
in Excel - consolidate data from multiple worksheets, combine several sheets by copying their data,
and merge two sheets by the key column.
Merge Tables Wizard for Excel - match and merge two sheets by the key column(s).
Duplicate Remover Wizard for Excel - compare two sheets for duplicate and unique values.
132 comments
← Older Comments
1 Laurent M says:
2023-05-22 at 12:14 pm
In Excel go to "file" / "option" / "Add-ins" then at the bottom manage "COM Add-ins" and activate
"inquire".
Enjoy
Reply
I used the 'side-by-side' visual comparison instructions and discovered that the two versions of the
document contained completely different data in each row.
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 26/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
Reply
I compare mainly mailing lists, would it be possible to compare list from File A (original file before
mail processing software) to File B (final file after mail processing software based on two columns,
say labeled First Name and Last Name, (usually columns A and B) The output file may have some
additional columns but I'd like to be able to highlight the changes in File B from the original File A
for items like address, city state zip etc. based on the first and last names. The issue I see is that
the mail processing software reorders the data so that what would be in line 2 on File A may be on
line 2000 on File B. Would your tools be able to navigate that and compare accordingly or is that a
situation where adding a sequence or number column to file B to resort both files to something
like last name and then compare then resort File B to the sequence column?
Thanks in advance.
Reply
Hello!
You can use the Merge Tables tool. Specify the main table and the lookup table and set key
columns. A new table will be created based on the main table. Non-matching data will be
transferred to this table and highlighted. The order of the data in the key columns does not
matter.
Merge Tables tool is available as a part of our Ultimate Suite for Excel that you can install in a
trial mode and check how it works for free.
If you have any questions, don't hesitate to ask.
Reply
Hello All,
Reply
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 27/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
Hello!
I'd recommend you to have a look at our Compare 2 Tables tool that can help you search for
matches and differences by one or several key columns.
It is available as a part of our Ultimate Suite for Excel that you can install in a trial mode and
check how it works for free.
Reply
Hi ,
please help
Reply
Hello!
Look for the example formulas here: How to VLOOKUP between two sheets. For each column
on Sheet 3, use a separate formula.
You can also find useful information in this article: How to merge two or more tables in Excel.
Reply
I have two worksheets to compare. Unlike a lot of the worksheets listed here, the worksheets will
not have the same names in each row. The worksheets might contain the same names but they
will be located in different rows. I am trying to find out what names on Worksheet 1 are also on
Worksheet 2? By worksheets, do you mean tabs?
Reply
Hello!
If I understand the question correctly, you want to find duplicates in two columns that are in
different worksheets. I recommend reading this guide: How to compare two columns in Excel
for matches and differences.
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 28/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
We have a ready-made solution for your task. Compare Tables tool may help you solve it in a
few clicks. It is available as a part of our Ultimate Suite for Excel that you can install in a trial
mode and check how it works for free.
I hope my advice will help you solve your task.
Reply
Hi
A simple way to compare numeric data on an Excel sheet is to Copy/Paste all values followed by
Copy/Paste subtract.
Also I can provide an Excel Workbook which automates the comparison of all rows and columns in
all sheets on two other workbooks if anyone is interested
Reply
I have two exactly similar sheets where I want to compare the data; however, there is one main
difference between the two data-sets.
I must have a version prior to being re-shaped somewhat and many data-fields do not have the
same data-type. So, in a typical conditional-comparison using a formula as you show; and as an
example, date-columns may be text-type at one sheet and date-type at the other.
Obviously, these data-elements although showing the same date are different because of the
data-types.
Will you're excel add-in "Ablebits" be able to ignore the data-type difference? thanks.
Reply
Hello!
The Compare Two Sheets, Compare Tables, Compare Multiple Sheets and Compare Two
Workbooks tools determine the difference between an actual date and a date recorded as text.
You can convert a text column to a date with one click using the Text to Date tool.
It is available as a part of our Ultimate Suite for Excel that you can install in a trial mode and
check how it works for free.
Reply
9 David says:
2021-11-05 at 2:28 pm
Do you offer a free trial version of software to compare two Excel files for differences?
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 29/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
Reply
Hi David,
Our Compare Sheets tool is included in Ultimate suite for Excel. You can download a trial by
using this link.
Reply
10 Rahul says:
2021-01-07 at 12:20 pm
Quite useful
Reply
11 Paula says:
2020-12-04 at 3:31 am
Reply
I need a program that will compare two large excel sheets (about 250k records vs 270k records)
and output a third sheet showing only (complete) rows in the larger file that are not in the smaller
file, ideally based on a selected field. Ready to purchase software that can do this.
Reply
Hello!
We have a tool that can solve your task in a couple of clicks: Ablebits Data - Compare Sheets
and Ablebits Data - Compare Tables.
This tool is available as a part of our Ultimate Suite for Excel that you can install in a trial mode
and use for free: https://www.ablebits.com/files/get.php?addin=xl-suite&f=free-trial
Reply
13 navin says:
2020-08-21 at 5:09 pm
We have an Excel Workbook with 12 worksheets and all these worksheets interacts with one
another for calculations and sometimes for Data. Some of these worksheets gets Data from other
excel workbooks by a cell reference formula.The main workbook depends on worksheets and
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 30/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
other excel files to get data and do calculations this work is done once a year. So many references,
formulas and calculation are involved. Each year we copy all the last year workbooks and update
the source files to do the calculations for the present year.
Is there a way we can build a standalone Excel workbook or any other tool that tracks all changes
happened and compare if source file data was updated properly in the final workbook? We want
to compare the data and track all cells that was updated due to new information in the source
files and comparison should show value and formula as well.
Reply
15 Jael says:
2020-04-23 at 9:40 am
Reply
16 Steve says:
2020-04-05 at 4:31 pm
High quality software. Worked exactly as described. Refreshing to see that. Thank you!
Reply
17 jesse says:
2020-02-25 at 5:05 pm
WOW!! I don't know what to implement first! Very, very helpful. Thank you so much.
Reply
18 Michele says:
2019-11-19 at 10:18 pm
I love you! Made a vast difference in validation and confidence in ongoing formal report
submission!
Reply
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 31/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
hi
i want to know about that how can i check same alphabets and numbers in one column ,like same
values can check with highlight but i need alphabets and numbers in select column.
Reply
20 Neha says:
2019-09-26 at 9:52 pm
Hi, I need to compare the two sheets but the data is in random order. Eg In the names column
both sheet have names but not sorted. Which works best for that. Thanks
Reply
We have 2 Excel files. One is called week 16 and the other is called week 17. Visibly they look the
same but week 16 is 2.5mb and week 17 is 17mb. To create week 17, we save week 16 and then
rename. Then we would use week 17 for that week before we create week 18. How can I tell what
has changed between week 16 and 17 that has caused it to balloon in size? There's a lot of
information and used cells on the visible page as well quite a few hidden tabs. Would take me
forever to sit and compare visually.
Reply
22 Harish says:
2019-08-07 at 6:06 am
Hello,
I worked in excel daily same pattern. I have based on Previous file opend, save as current date and
working daily. Is there any solution i dont opened previous file and continue with my work??
Reply
Reply
24 ctnc says:
2019-05-13 at 7:34 pm
your title is misleading. what you have posted about is CONTRASTING two sheets/files. Looking for
differences. Comparing means to identify what is similar. I was looking for finding similarities
between two sheets and wasted time on your post.
Reply
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 32/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
Dave says:
2022-02-05 at 7:58 pm
Reply
Can we extend the formula "=A1sheet_name!A1" to refer another workbook for executing
conditional formatting ?
Reply
When I use the solution for comparing worksheets I get the following error:
"You may not use references to other workbooks for conditional formatting criteria"
his is after highlighting entire 2-2019 worksheet, and creating new conditional formating rule to
"use a formula to determine which cells to format" with "format values where this formula is true"
set to =A11-2019!A1 .. where 1-2019 is the worksheet I'm trying to find to compare 2-2019 to.
Reply
I have the same question as raised by the post 8, 75 and 76. It seems to me that both sheets
have to be in the same file or workbook. To get around, open a new Sheet2 in workbook 2-
2019 and copy and paste the entire Sheet1 of workbook 1-2019 over with Ctrl+Shift+End. Then
you can use =A1Sheet2!A1 to highlight the differences with conditional formatting.
Reply
27 Isaac says:
2019-01-24 at 4:53 am
Hi- I have to compare 2 spreadsheets to find discrepancies. The problem with the standard way
for our spreadsheets is that since we are receiving it from 2 different sources ( ex. 1 from a client
and the other from their payroll company) the same data is called 2 different terms but for our
purposes it is actually the same. For examplez the payroll company calls the insurance plan they
are on "02371" but the client calls it "PPO". In the normal format, that is a discrepancy. For our
purposes this is actually a match.
Thank you.
Reply
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 33/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
28 Joan says:
2019-01-18 at 11:46 pm
Copy paste your excel files to a word document and then use compare in word.
Reply
29 Dave says:
2019-01-18 at 9:53 pm
Good Afternoon!
I am a neophyte in using formulas in excel.
In this formula, I have no idea what values to use.
Do I assume that [ Sheet1!A1 ] is the name of sheet 1 in my comparison and [ Sheet2!A1 ] is the
name of sheet 2 in my comparison?
=IF(Sheet1!A1 Sheet2!A1, "Sheet1:"&Sheet1!A1&" vs Sheet2:"&Sheet2!A1, "")
What about [ ]?
Thx!
-- Dave
Reply
My issue is I converted 2 large invoices (for 2 different months) from PDF to Excel and I want to
see all differences between the 2, almost like a third generated file which has the differences in
text and values. Best solution for? Thank you.
Reply
First of all, any line of information is very meaning full. consequently, are they going to function on
MacBook as well as windows?
Thanks
Reply
Hello Tammy,
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 34/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
All of the third-party solutions described in this tutorial function in Excel for Windows only. The
built-in features will probably work in Excel for Mac too, though we have not tested it. Out blog
focuses solely on Excel for Windows, sorry.
Reply
32 Peter says:
2018-10-24 at 9:01 am
Dear Svetlana,
Reply
Hi Peter,
It looks like the List Separator in your Regional Settings is set to semicolon, so Excel uses it for
separating arguments in formulas. On my computer, it is set to comma :)
Reply
33 AD says:
2018-10-23 at 10:01 am
One thing is not mentioned. If Microsoft Office 365 or Office Professional Plus 2013 is installed on
your computer, the Spreadsheet Inquire add-in is available in Excel. It can do a lot of staff to
compare.
https://support.office.com/en-us/article/what-you-can-do-with-spreadsheet-inquire-ebaf3d62-
2af5-4cb1-af7d-e958cc5fad42
Reply
34 DL says:
2018-08-18 at 11:32 am
Hi
I have two worksheets with different values and I am trying to compare if worksheet 2 (new
code)data in column c matches the value of the original code in worksheet 1. I am currently going
through each line and comparing because the rows and columns are not identical using the find
function. Can you please share a simple methos or whether the conditional formatting is ideal?
Thank you
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 35/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
Reply
35 [email protected] says:
2018-08-09 at 7:58 pm
Hi,
I am trying to find the best excel version that will compare bank cash to what is in our system. We
have to compare the daily deposits to what is posted in the system. the problem is there may be
several checks that have been posted and I have to go one by one and add all of them to see if it
equals what the bank has posted. Is there a version that will do this for me? Thanks
Reply
hi can you please tell me if you found the that excel version
Reply
36 hg says:
2018-08-07 at 10:44 pm
I think this editor doesn't accept the mathematical operator that is used to mean "not equal to"
because it keeps removing it. It belongs after =IF('Sheet1'!A1...and is shown correctly in the original
formula.
Sorry I can't enter it here.
Best of luck
hg
Reply
37 hg says:
2018-08-07 at 10:38 pm
Sorry, here's the right formula. Looks like in my previous attempt there was a missing operator.
=IF('Sheet1'!A1'Sheet2'!A1, "Sheet1:"& 'Sheet1'!A1&" vs Sheet2:"&'Sheet2'!A1, "")
Reply
38 hg says:
2018-08-07 at 10:31 pm
I am using Excel 2010 and could not get the Conditional formatting to work at all even when
copying formula into the dialog box. To get the IF stmt to work, you will need to format it exactly
as written below. There are missing characters in the formula suggested above.
=IF('Sheet1'!A1'Sheet2'!A1, "Sheet1:"& 'Sheet1'!A1&" vs Sheet2:"&'Sheet2'!A1, "")
Reply
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 36/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
39 Maya says:
2018-08-01 at 10:58 am
Thank you for this great help. Do you know if there is any third party tool for Mac that could do
the compare & merge function?
Reply
40 Janak R says:
2018-07-20 at 6:00 am
Very Helpful.....
Reply
41 Laurence says:
2018-06-28 at 2:52 pm
Thank you for the excellent article and for providing your Ablebits Data and Tools add-ins for
Excel. I got in trouble recently by unknowingly editing a version of a spreadsheet saved in
user\AppData\Roaming\Microsoft\Excel instead of the original file and successfully used Ablebits
Data to update the original.
Reply
42 felicia says:
2018-06-10 at 9:54 pm
THANK YOU!
Reply
43 felicia says:
2018-06-10 at 9:53 pm
Reply
44 Collen says:
2018-05-24 at 11:31 am
Hi there Svetlana
I have two spreadsheets that I Moved into one Worksheet. I have sheet1 that is my original and
sheet2 that is from our client with updated amounts of properties. I need to update our original
sheet1 with the sheet2 data.
Reply
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 37/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
45 I Washburn says:
2018-05-11 at 1:49 pm
In "How to compare two Excel sheets for differences in values", this instruction is unclear:
Paste it in cell A1 and then B1, C1, A2, B2,, C2 etc? If that is the case, it doesn't work for me. It
copies the same formula in the other cells.
Reply
Hello!
Yes, you copy the formula to A2, A3, etc, and then to B2, C2 etc, to as many rows and columns
as you want to compare. But you should not paste it in other cells! In Excel, a formula is copied
by dragging the fill handle. The detailed instructions can be found here: How to copy a formula
in Excel.
Because we use relative cell references, the formula will change based on a relative position of
the column and row. As the result, the formula in A1 will compare cell A1 in sheet1 and sheet2,
the formula in B1 will compare cell B1 in both sheets, and so on.
Reply
46 Farid says:
2018-05-11 at 7:55 am
The rows are highlighting with colors showing mismatch even though the data in the rows are are
identical in the two sheets while comparing with the "Compare sheets Tab". Kindly revert me back.
Reply
Hello, Farid,
Please specify what tool you're using to compare your data sets. If it is Ablebits Compare
Sheets for Excel, then please specify what options you choose on each step of the Wizard and
send us your workbook to [email protected].
I kindly ask you to shorten your table to 10-20 rows / columns and include the link to your
comment in the email.
Thank you.
Reply
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 38/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
47 LyndaL says:
2018-04-24 at 2:13 pm
Hi, I'm not seeing reply to question similar to my own from Amit, August 13, 2017: "...compare two
unsorted files with...say 100 columns". TanuM, March 2, 2017 appears to have similar question. Is
there an efficient way to compare two Excel sheets with same formatting and columns but rows
may be sorted differently? I'm currently using this:
How to compare two Excel sheets for differences in values
(=IF(Sheet1!A1 Sheet2!A1, "Sheet1:"&Sheet1!A1&" vs Sheet2:"&Sheet2!A1, "")) and this:
Highlight differences between 2 sheets with conditional formatting.
Reply
LyndaL says:
2018-04-24 at 2:18 pm
continuing...
I'm currently using these two methods but it seems there is manual work required in that the
two sheets' rows must be aligned exactly the same prior to using these formulas?
Reply
48 Suresh says:
2018-04-16 at 9:21 pm
Hi i would like to know how to match one sheet to another sheet with all the cells. I need variation
for each cells when comparing each sheet. If anyone know please send me the exact formula.
Reply
49 Dede says:
2018-04-11 at 6:16 am
I would like to know which of these apps to compare excel workbooks is free?
Cloudy Excel worked well for a couple tabs and then crashed and I haven't been able to get it to
work again.
Reply
Just wanted to say THANK YOU, this works great and saves a lot of work!!
Reply
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 39/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
Reply
← Older Comments
Post a comment
Your comment
I have read and accept the Terms of use and Privacy Policy
Send
Privacy policy Cookies policy Cookie settings Terms of use Legal Contact us
Copyright © 2003 – 2023 Office Data Apps sp. z o.o.
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 40/41
1/3/24, 1:27 PM How to compare two Excel files or sheets for differences
https://www.ablebits.com/office-addins-blog/compare-two-excel-files-sheets/ 41/41