Hello Everyone,
I appreciate any help that can be provided as I am new to VBA. I want to consolidate data in a table where Column A is the reference number. The other columns are related to payment and commission charges. I am wanting to automate the manual process of me sorting the statement into a format that is easier to receipt from as some statements can have over 2000 transactions. A reference number could appear several times in the statement as it determines how often payment is being received from an individual. I have worked out most of the coding needed to automated this task except for consolidating the data. I have used Record Macro, but won't be able to use this as the range is fixed. The range of data can change depending on how many transactions are in the statement.
Below is a screenshot. On the left side is the unconsolidated data and on the right side is the data that has been consolidated.
Screenshot 2022-01-26 124231.png
I have also attached a spreadsheet with fake information in it, as it shows what I have done and what code I am working within trying to accomplish consolidating the data. The code is in module 3.
Thanks for any help.
Bookmarks