So here's what I want to do. I am trying to create a macro that would compile all the claim numbers (strings) and check amounts from the various source tabs into a list in the "ClaimList" tab. However, I want to add the check amounts for duplicate claim numbers (like a pivot table).
Part of the issue is that the "claim #" column consists of a claim number, then anywhere from 1-4 empty rows, then another claim number, and so on to the end. Fortunately, there are only check amounts in the rows where there is a claim number. Furthermore, the "claim #" column varies from source to source, as does the column for check amount. However, the columns are both always titled, and the column titles are always in row 4.
What is the most efficient way to do this? I set out to do it on my own, but I don't know enough VBA to do it in a reasonable amount of time. Furthermore, it would probably be a very poor algorithm, and I'd rather use something more efficient. I have the tabs set up in excel as follows:
'ClaimList', 'Source_1', 'Source_2', 'Source_3', etc.
Thanks
Part of the issue is that the "claim #" column consists of a claim number, then anywhere from 1-4 empty rows, then another claim number, and so on to the end. Fortunately, there are only check amounts in the rows where there is a claim number. Furthermore, the "claim #" column varies from source to source, as does the column for check amount. However, the columns are both always titled, and the column titles are always in row 4.
What is the most efficient way to do this? I set out to do it on my own, but I don't know enough VBA to do it in a reasonable amount of time. Furthermore, it would probably be a very poor algorithm, and I'd rather use something more efficient. I have the tabs set up in excel as follows:
'ClaimList', 'Source_1', 'Source_2', 'Source_3', etc.
Thanks