Comparing 2 excel sheets which does not have same values

Tester12

New Member
Joined
Oct 18, 2016
Messages
2
Hi All,
I am trying to compare two excel workbooks using excel formula. The data in both the excel workbook is not same always.
Example:
Excel workbook1 has the below columns and the data
Task Name Job Department Wing Shift Hours Cost
Assign Wing 1 Joe Technician ABC Wing 1 Day 10 100
John Tech level I IT Wing 1 Night 20 120
30 220
Assign Wing 2 Mary IVR 1 XYZ Wing2 Evening 100 100
Iris IVR2 DDD Wing1 Day 20 20
120 120
Excel workbook2 has the below columns and the data
Task Name Job Department Wing Shift Hours Cost
Assign Wing 1 Joe Technician ABC Wing 1 Day 50 100
John Tech level I IT Wing 1 Night 10 100
Pete Tech level 3 IT Wing2 Eve 10 100
70 300
Assign Wing 2 Mary IVR 1 XYZ Wing2 Evening 100 100
Iris IVR2 DDD Wing1 Day 20 20
120 120
Assign Wing 3 Fran IVR3 CCC Wing3 Day 100 250
100 250
In the above example if you see workbook values differs, Workbook 2 Assign wing 1 has 3 rows where as workbook1 has only 2 rows and also there is new row in workbook2 for assign wing3 which is not present in workbook1.
The mismatches can be in either of the excel sheets if this is the case how will I find the difference in data as well as matching data between both the excel sheets. Please help me out.

Thanks,
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
In the previous thread the table values are not clear, updated table values here. Please help me out.

Excel worrkbook1 has the below columns:

[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 122"]
<tbody>[TR]
[TD="class: xl65, width: 122"]Task[/TD]
[/TR]
[TR]
[TD="class: xl65, width: 122"][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl65, width: 64"]Name[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 77"]
<tbody>[TR]
[TD="class: xl65, width: 77"]Job[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl65, width: 64"]Department[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl65, width: 64"]Wing[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl65, width: 64"]Shift[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl65, width: 64"]Hours[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl65, width: 64"]Cost [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 122"]
<tbody>[TR]
[TD="class: xl65, width: 122"]Assign Wing 1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Joe[/TD]
[TD]Technician[/TD]
[TD]ABC[/TD]
[TD]WingI[/TD]
[TD]Day[/TD]
[TD]10[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]John[/TD]
[TD]Tech level I[/TD]
[TD]IT[/TD]
[TD]WingI[/TD]
[TD]Night[/TD]
[TD]20[/TD]
[TD]120[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]30[/TD]
[TD]220[/TD]
[/TR]
[TR]
[TD][TABLE="width: 122"]
<tbody>[TR]
[TD="class: xl65, width: 122"][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Assign Wing 2 [/TD]
[TD]Mary[/TD]
[TD]IVRI[/TD]
[TD]XYZ[/TD]
[TD]Wing2[/TD]
[TD]Eve[/TD]
[TD]100[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Iris[/TD]
[TD]IVR2[/TD]
[TD]DDD[/TD]
[TD]WingI[/TD]
[TD]Day[/TD]
[TD]20[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]120[/TD]
[TD]120[/TD]
[/TR]
</tbody>[/TABLE]

Excel Workbook2 has the below columns
[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 122"]
<tbody>[TR]
[TD="class: xl65, width: 122"]Task[/TD]
[/TR]
[TR]
[TD="class: xl65, width: 122"][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl65, width: 64"]Name[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 77"]
<tbody>[TR]
[TD="class: xl65, width: 77"]Job[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl65, width: 64"]Department[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl65, width: 64"]Wing[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl65, width: 64"]Shift[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl65, width: 64"]Hours[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl65, width: 64"]Cost [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 122"]
<tbody>[TR]
[TD="class: xl65, width: 122"]Assign Wing 1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Joe[/TD]
[TD]Technician[/TD]
[TD]ABC[/TD]
[TD]WingI[/TD]
[TD]Day[/TD]
[TD]50[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]John[/TD]
[TD]Tech level I[/TD]
[TD]IT[/TD]
[TD]WingII[/TD]
[TD]Night[/TD]
[TD]10[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Pete[/TD]
[TD]Tech level II[/TD]
[TD]IT[/TD]
[TD]WingII[/TD]
[TD]Eve[/TD]
[TD]10[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD][TABLE="width: 122"]
<tbody>[TR]
[TD="class: xl65, width: 122"][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]70[/TD]
[TD]300[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Assign Wing2[/TD]
[TD]Mary[/TD]
[TD]IVRI[/TD]
[TD]XYZ[/TD]
[TD]Wing2[/TD]
[TD]Eve[/TD]
[TD]100[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Iris[/TD]
[TD]IVR2[/TD]
[TD]DDD[/TD]
[TD]Wing1[/TD]
[TD]Day[/TD]
[TD]20[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]120[/TD]
[TD]120[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Assign Wing3[/TD]
[TD]Fran[/TD]
[TD]IVR3[/TD]
[TD]CCC[/TD]
[TD]Wing3[/TD]
[TD]Day[/TD]
[TD]100[/TD]
[TD]250[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]100[/TD]
[TD]250[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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