Hongmu Notes

Excel table comparison

No need to open two windows to look back and forth, just stick in and compare once.
100% Browser local processing 0 Data upload

🔍 two pieces of data

New 0 | Delete 0 | Modify 0

💡 Instructions for use

  • The delimiters and column order on both sides must be consistent, otherwise a large number of false differences will appear, which is the most common source of problems.
  • The matching column is used to determine "which row matches which row". Columns with unique values should be selected, such as numbers or names. If there is no unique column, the entire row can be compared.
  • Spaces and invisible characters at the end of the line will cause "look the same but report differences". In this case, please select the option to clean up the whitespace.
  • The results are listed and counted according to three categories: new addition, deletion, and modification; first judge the scale by looking at the quantity, and then check each item one by one.

No need to open two windows to look back and forth, just stick in and compare once.

Data preparation

Select the data range in the worksheet, copy it, and paste it as tab-delimited text.

Cells containing formulas will bring out calculation results, and the results will prevail when checking.

column alignment

The column order of the two tables should be consistent. If the order is different, adjust according to the column names first.

Different number of columns will cause overall misalignment, please confirm before comparison.

Hide rows and columns

Hidden rows and columns are usually not carried over when copying.

When you need to check them all, unhide them first and then copy them.

Format differences

Formatting such as cell color and font size will not be included in the comparison, only the content.

When a number is saved as text, it may be interpreted differently from the value on the other side.

Result confirmation

First look at the difference summary, and then locate the specific cells.

When the amount of changes is large, check them in batches by column to avoid omissions.

Unhiding rows and columns and unifying number formats before copying can significantly reduce meaningless differences.

📖 Glossary

delimiter
Common characters used to divide columns are tabs, commas, and vertical bars. The same delimiter must be used on both sides, otherwise the columns will be misaligned and the comparison results will be completely distorted.
Header
Column names in the first row of the table. Ignoring the table header will cause the first row to be treated as data for comparison, so it is recommended to check Ignore or ensure that the column names on both sides are completely consistent.
line by line comparison
Compare the two pieces of data row by row to determine whether a row is added, deleted, or the content has changed. It is closer to people's reading habits than frame-by-frame comparison, and the output is easier to understand.
Cell differences
The position where the contents of two columns in the same row are inconsistent. After locating a specific cell, you don't have to read the entire row when making modifications, which is significantly more efficient than just marking "this row is different."
primary key column
The column used to determine "which row corresponds to which row", usually a number or name. When there is no primary key, it can only be aligned in row order. Once a new row is inserted in the middle, all subsequent rows will be judged to be different.
Add new row
Rows that exist in table B but not in table A. It reflects the data added in this change, and is two different change types from "content modified".
Delete row
Rows that exist in table A but not in table B. Confirming whether the deletion is a real change or an extraction omission is the most easily overlooked step when verifying data.
Column order
The order in which the two tables appear. When the column names are the same but in different order, alignment by position will result in a large number of false differences. In this case, you should realign by column name before comparing.
Ignore case
Treat uppercase and lowercase characters the same when comparing. Used in scenarios that only care about the content and not the writing form; if the format itself has requirements, it should not be turned on.
Blank handling
How to handle trailing spaces, tabs, and extra blank lines. After turning on sorting, you can avoid the situation of "looking the same but reporting differences", which is the most effective setting to reduce false positives.
Difference summary
Count the number of additions, deletions and modifications separately. It allows people to first look at the scale before deciding whether to look at each item in detail, which is more practical than being directly drowned in details.
Comparison report
Organize the comparison results into saveable text for easy sending to others or keeping for files. The report should include the comparison time and settings used, otherwise others will not be able to reproduce the same results.

🔗 All keywords and tutorials

Keywords page of the tool12a

Return to tool home page

❓ FAQ

Will formulas be compared?
What is compared is the result calculated by the formula, not the formula itself.
Will different formats count as differences?
No. Only compare cell contents.