Comparing Data Across Multiple Worksheets

SomethngWicked

Board Regular
Joined
Feb 18, 2015
Messages
79
Hi All,

I have a workbook with four separate worksheets. The data that comprises these worksheets is almost identical, but I know there are a few irregularities that exist between them and that's what I need to find out.

Here's an example of one of the worksheets:
State Park:Wildlife Type #1Wildlife Type 2Wildlife Type 3Wildlife Type 4
StatePark 1
StatePark 2XX
StatePark 3X
StatePark 4XXX

<tbody>
</tbody>

The 'X's are what denote a particular type of wildlife inhabiting a certain state park. The data on each of these worksheets is very similar, but some worksheets will have an 'X' in a cell where other worksheets do not. That is what I'm trying to figure out (the actual worksheets have hundreds of different rows).

Also, to make things slightly more complicated, column 1's values also differ a little over each individual worksheet. (One worksheet may have a 'State Park 3', whereas the other 3 worksheets don't).

What is the best way to gather and summarize this data?

Thanks for your help (using MS Office 2010 if that helps)
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
This solution works, if assuming locations of data on each sheet are exactly the same (e.g. "Wildlife Type 2" is in cell A3 in all 4 sheets). It doesn't matter if there are cells missing or not, but for this solution, cells must "line up".

OK, here's one way to do what you want.

On Sheet5 in Cell A1, put: =IF(AND(Sheet1!A1=Sheet2!A1,Sheet1!A1=Sheet3!A1,Sheet1!A1=Sheet4!A1),"GOOD",Sheet1!A1&","&Sheet2!A1&","&Sheet3!A1&","&Sheet4!A1)

What it does, is test if all 4 cells match, if not, display the contents of the 4 cells so you can see what is different.

You may need to modify the formula a bit to suit your needs. Fill the formula across and down.

To make differences to stand out more, then after the last cell (say the last cell is X1), in Y1 put the formula =IF(COUNTIF(A1:X1,"GOOD")=(COLUMN()-1),"OK","DIFFERENT"). This will check the row for any differences.
 
Upvote 0

Forum statistics

Threads
1,214,565
Messages
6,120,254
Members
448,952
Latest member
kjurney

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