Help on matching columns with many identical data

blizzstorm

New Member
Joined
Jan 4, 2009
Messages
35
Hi all,

Need your kind help in this problem, not sure where to start.

to describe my issue in a simple way: I have two columns with tons of identical data and i need to match each datacell in column A with an identical datacell in column b.

The thing is there are many identical data such as "1000" each "1000" needs to match with another "1000" in column B and i need to display whats left unmatched eg. 5 "1000" in column A and 6 "1000" in column B should show a leftover of 1 "1000" for column B and vice versa.

Hope you guys can point me a direction where i can follow.

Appreciate it alot!
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Another example:

Column A
--------
1000
1000
1000
999
999
444
444

Column B
---------
444
999
444
1000
1000
1000
1000

So display should be showing unmatched "Column A: 999" & "column B:1000"

Doing this i would like to preserve the raw data as well
 
Upvote 0
I would probably actually do this in Microsoft Access.

I would do an Aggregate Query of each table which counts the instances of each value.

I would then perform a few queries against these two Aggregate Queries:
1. An unmatched query of the values from one table to the other;
2. An unmatched query like the first going the other way;
3. A matched query between the two (matching on values) and then subtracting the number of one instances in one table from the number of instances in the other (and adding criteria to only display this if the difference is something other than 0).

I believe that you may be able to do something similar in Excel using Pivot Tables (or Subtotals) and maybe some VLOOKUPs (though Pivot Tables really aren't my forte). So you may want to investigate Excel's built-in help on Pivot Tables and or Subtotals.
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,694
Members
448,979
Latest member
DET4492

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