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

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

marstonk

Active Member
Joined
Jan 30, 2003
Messages
273
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
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,152,093
Messages
5,768,047
Members
425,451
Latest member
JohnBrooksBiddle

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
Top