Hello,
I am hoping you can help.
I have two sets of data that I pull into a spreadsheet.
Data1 and Data2.
I am looking to create a macro, which recs the two sets of data and spits out only errors.
I have attached an example spreadsheet and coloured in examples of various errors I might come across.
The data should be reconciled using a concatenation of ACCOUNT and REFERENCE.
Example 1 (highlighted in green) - Data1 has Value 1 as -226, however, Data2 has Value 1 as -225
I would highlight this as an error on the Rec sheet as Incorrect Value 1 and display the Account, Reference and the Data2 Value 1
The procedure would then run through again and notice Data1 has a Value 2 as -229, however, Data2 has a Value 2 as -228.
I would highlight this as an error on the Rec sheet as Incorrect Value 2 and display the Account, Reference and the Data2 Value 2
Example 2 (highlighted in orange) - Data1 has a CCY of GBP, however, Data2 has a CCY of EUR
I would highlight this as an error on the Rec sheet as Incorrect CCY and display the Account, Reference and the Data2 CCY value
The same would apply to date etc.
If the Account & Reference concatenation cannot be found on the Data2 sheet an error should be displayed advising the Account and Reference, which is missing. (highlighted in yellow)
Is anyone able to help?
Thanks
Bookmarks