Compare two tables row by row in Excel

santoshks

New Member
Joined
Dec 1, 2016
Messages
2
Hi,

I need a help to solve a problem. It seems easy but it seems its really hard.

Let me explain little bit first.

I have two tables in an excel sheet.

Table 1 is Order table where orders are placed.

For example in give order table Order 1 has 4 different kinds of shirt with total 6 shirt and so on.

Similarly table 2 is invoice table which represent the invoice for previous order. It is similar to Order Table.

Now my problem is Invoice Table might be different because of following reasons,

1. Item Unavailability
2. Wrong item in order
3. More item in order and so on.

Now what I want to do is compare those two tables and see differences.

Now if you look at table there are **** in some cells, which means those rows are different in some ways compare to other table.

Can some one help me to indicate the different rows, may be by highlighting or adding new color or so on.


I shall be highly grateful.

Order Table
Order IDSKUQuanity
1Shirt Small Blue ****2
1Shirt Medium Red1
1Shirt XL Blue1
1Shirt Large Yellow2
2Shirt Small Blue1
2Shirt Medium Red1
2Shirt Large Blue *****1
3Shirt Large Black1
3Shirt Large Red2
3Shirt XL Black1
3Shirt XL Blue1

<tbody>
</tbody>

Invoice Table
InvoiceIDSKUQuantity
1Shirt Small Blue3
1Shirt Medium Red1
1Shirt XL Blue1
1Shirt Large Yellow2
2Shirt Small Blue1
2Shirt Medium Red1
3Shirt Large Black1
3Shirt Large Red2
3Shirt XL Black1
3Shirt XL Blue1
3Shirt XL Red****1
3Shirt XL Green****1

<tbody>
</tbody>
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Hi,

I need a help to solve a problem. It seems easy but it seems its really hard.

Let me explain little bit first.

I have two tables in an excel sheet.

Table 1 is Order table where orders are placed.

For example in give order table Order 1 has 4 different kinds of shirt with total 6 shirt and so on.

Similarly table 2 is invoice table which represent the invoice for previous order. It is similar to Order Table.

Now my problem is Invoice Table might be different because of following reasons,

1. Item Unavailability
2. Wrong item in order
3. More item in order and so on.

Now what I want to do is compare those two tables and see differences.

Now if you look at table there are **** in some cells, which means those rows are different in some ways compare to other table.

Can some one help me to indicate the different rows, may be by highlighting or adding new color or so on.


I shall be highly grateful.

Order Table
Order IDSKUQuanity
1Shirt Small Blue ****2
1Shirt Medium Red1
1Shirt XL Blue1
1Shirt Large Yellow2
2Shirt Small Blue1
2Shirt Medium Red1
2Shirt Large Blue *****1
3Shirt Large Black1
3Shirt Large Red2
3Shirt XL Black1
3Shirt XL Blue1

<tbody>
</tbody>

Invoice Table
InvoiceIDSKUQuantity
1Shirt Small Blue3
1Shirt Medium Red1
1Shirt XL Blue1
1Shirt Large Yellow2
2Shirt Small Blue1
2Shirt Medium Red1
3Shirt Large Black1
3Shirt Large Red2
3Shirt XL Black1
3Shirt XL Blue1
3Shirt XL Red****1
3Shirt XL Green****1

<tbody>
</tbody>

Hie,
But which order you want to make it as a base, i mean in which order you like to make changes highlighted?
 
Upvote 0
Hie,
But which order you want to make it as a base, i mean in which order you like to make changes highlighted?

I don't understand what you mean but let me simplify little bit more.

There are 2 tables as shown above.

Each table has many rows and most of the rows are similar, but there might be some rows which are different.

In order table rows which have **** are different as they are not in invoice table and vice versa with invoice table.

So I just want to highlight those rows in each table which are not in both table.

Or create new table in same sheet which will have rows those are not in both table.

I hope you understand what I mean.

And thanks for your response.
 
Upvote 0

Forum statistics

Threads
1,214,853
Messages
6,121,935
Members
449,056
Latest member
denissimo

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