Compare two sheets

Curious

Board Regular
Joined
Aug 22, 2003
Messages
77
Good Morning Folks;

I have a sheet with 15 columns that I will be using to populate a SQL database. I order to make sure that the DB has been populated correctly I would like to copy the contents of the db into another spreadsheet and then compare the the original spreadsheet to the one that I copied from the db.

To make a long story short is there a way I can compare two sheets and find out the differences in them without having to go and compare one column at a time??????????

(y) (y) (y)
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
A quick way would just to put if statements in a blank worksheet it if(sheet1!a1=Sheet2!a1,0,Error) And just copy the formula across the whole sheet. It will not take long. Therefore if something is different you get error. This could only work if your sheets are the same format with the data on.

Hope this helps.

kittyg
 
Upvote 0

Forum statistics

Threads
1,213,522
Messages
6,114,112
Members
448,549
Latest member
brianhfield

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top