How to Effortlessly Compare Two Sheets in Google Sheets for Mismatch

Are you searching for a way to compare two sheets in Google Sheets and easily discover any differences between them? Whether you have valid reasons for doing so or simply want to ensure accuracy, comparing two similar sheets for mismatches is a breeze. While Google Sheets doesn’t have a built-in option for this, fear not! We have a simple formula that will get the job done.

Compare Two Tables Side by Side on the Same Sheet

If you have two tables on the same sheet and want to compare them side by side to identify any differences, follow these steps:

  1. Use either of the following formulas:
  • =ArrayFormula(if(A1:A=C1:C,"","X"))
  • =ArrayFormula(SWITCH(A1:A,C1:C," ","X"))
  1. Enter the formula in a cell other than columns A and C, starting from Row 1.

By using these formulas with the ArrayFormula function, you only need to enter the formula once, and it will automatically expand below. Any mismatches in the corresponding rows will be marked with an ‘X’.

Find Mismatch in Two Columns Side by Side

Compare Two Tables Side by Side in Google Sheets

To compare multiple tables with more than two columns side by side in Google Sheets, you can use the following formula:

=ArrayFormula(IF(ArrayFormula(A1:A&B1:B)=ArrayFormula(D1:D&E1:E),"","X"))

Make sure to change the data ranges in the formula to match your needs. For example, if you’re comparing three columns, the range would look like A1:A&B1:B&C1:C for the first table and D1:D&E1:E&F1:F for the second table.

Compare Two Tables Side by Side in Google Sheets

Comparing Two Sheets for Mismatch

To compare the entire two sheets for differences, follow these steps:

  1. Create a third sheet where the differences or mismatches will be pointed out.
  2. Use the following formula in the very first cell of the third sheet:
    =IF(Sheet1!A1<>Sheet2!A1, Sheet1!A1&" | "&Sheet2!A1, "")
  3. Copy and paste the formula to each cell in the third sheet, adjusting the copy-paste range based on your data ranges in Sheet 1 and Sheet 2.

The formula will compare each cell in the two sheets and display any mismatches in the corresponding cells, with values from Sheet 1 and Sheet 2 separated by a pipe symbol (|).

Comparing Two Sheets in Google Sheets

Conclusion

Congratulations! You now have the knowledge to effortlessly compare different data tables in Google Sheets:

  1. Compare two columns in the same sheet for differences.
  2. Compare multiple columns in the same sheet to find differences.
  3. Compare two sheets in Google Sheets for mismatches.

Now you can ensure accuracy and quickly identify any discrepancies between your sheets. For more helpful tips and tricks for Google Sheets, visit Crawlan.com. Happy analyzing!

Related posts