Hi,
With a lot of help from Hans (amongst others), I have recently designed a few ‘matching models’ that match debits and credits in reconciliations. These have been a massive improvement to the current processes. I need to create a few others for different reconciliation scenario’s, which I am attempting using snippets of previous code, though I am getting a little confused. I’m relatively new to VBA but am learning fast. The attached scenario is pretty different to previous one’s, and the help that I am looking for is the best way to approach the code. Please, I need to write this stuff myself, so to achieve a greater understanding, I would appreciate guidance as to the best approach!
2 tabs – debits and credits, raw data being in columns A-I.
Concatenate formula in K
First match in column L.
If no match in L, different concatenate in M.
If concatenate in M, second match in N.
If no match in N, different concatenate in O.
If concatenate in O, third match in P or overall No Match.
In other words, the second match is only required if there was no first match, the third if there was no second…..
Matches in each case occur when there are equal quantities of identical debits and credits based on each concatenate. Effectively, I want to recreate the formula’s in K-P with code.
The code module 1 is where I am at currently, any pointers greatfully received!
In what order would the looping need to be set out, or does that matter?
Many Thanks
Nath