I have written VBA that pulls data off Multiple sheets and adds it to an account page, what I need help with please is a VBA that auto sums column G & I up to first empty row above and this to loop, though this until all sections have auto sums in G and I under each different customer. Where it gets tricky is the number of rows each customer has is will change every time.
Sorry cant upload a mini book it a works PC and very restricted, as you can see a Customer can have different departments with different amounts per dept and a different number of rows etc, some have 3 or 4 some can have 50 +, it is dependent on the customer I want to have an auto sum for each department shown by the yellow cells (if I can get them to go yellow as well that would be a bonus) and there could be up to 20 customers on the report so this would be a massive time saver.
If it is possible an overall customer total (green) a few lines below the last entry (but this is not essential)
Sorry cant upload a mini book it a works PC and very restricted, as you can see a Customer can have different departments with different amounts per dept and a different number of rows etc, some have 3 or 4 some can have 50 +, it is dependent on the customer I want to have an auto sum for each department shown by the yellow cells (if I can get them to go yellow as well that would be a bonus) and there could be up to 20 customers on the report so this would be a massive time saver.
If it is possible an overall customer total (green) a few lines below the last entry (but this is not essential)