Reconciliation concept

regresss

Board Regular
Joined
May 20, 2015
Messages
68
2 matrices with two categorical variables/columns (product and country) and up to ten real-valued variables to be reconciled (they can be also negative). Datasets can have unique categorical variables, i.e. matrix A with product B, which is nowhere to be found in matrix B or for instance country C for product B in only one of the matrices. That means, I have to extract all unique combinations of product-country from both datasets upon which a reconciliation is to be made.

My current solution
0) create third categorical variable prodcountry as a combination of product ID and country in both datasets
1) sort data in pivot table by prodcountry (a product can be sold in a country more times)
2) vlookup all prodcountries from dataset A in the dataset B and return its numerical value MINUS numerical value from dataset A. Do this for all variables/columns and all rows. Then vlookup prodcountries from dataset B in dataset A and do the same. Unfortunately, this results in duplicates, but I haven't found an automatic (formula-based or simple macro) way of converting all unique prodcountries from two columns into one.


What I would like to achieve:

recon.jpg
 
Last edited:

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

SpillerBD

Well-known Member
Joined
Jul 2, 2014
Messages
2,851
Office Version
  1. 365
Platform
  1. Windows
Pivot Table on Multiple consolidation ranges.
Filter Blanks or omissions where matches should occur.
Use calculated field to return the Difference you are looking for.
 
Upvote 0

regresss

Board Regular
Joined
May 20, 2015
Messages
68
1) Pivot Table on Multiple consolidation ranges.
2) Filter Blanks or omissions where matches should occur.
3) Use calculated field to return the Difference you are looking for.

Wow, this is very valuable, because now, after a research, this seems like a way to approach my problem. Thank you!

I am not able figure out things since step 2, how to filter out blanks and incomplete data. Could you elaborate on this, please?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,195,849
Messages
6,011,955
Members
441,657
Latest member
Diupsy

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