Hi Everyone,
I have been working on this problem for a while now and can't seem to find a solution, I am hoping one you may be able to help. I am using Excel 2007 on Windows 7.
I have been given a xls file containing multiple worksheets and my task is to combine this data on a summary sheet and where there are duplicates, the quantity value is increased, but no duplicates are added to the summary.
So for example, on sheet 1 I could have :
ID Quantity Description
344303 1 product 1
342910 2 product 2
344411 1 product 3
On sheet 2:
ID Quantity Description
344303 4 product 1
342910 6 product 2
The output on the summary sheet should be:
ID Quantity Description
344303 5 product 1
342910 8 product 2
344411 1 product 3
I am very new to VBA and only have limited experience with Excel. Firstly how can I go about getting all the information from the multiple sheets and add them to the summary sheet? Then how would I be able to loop over them, find duplicates and increase the Quantity column?
Any help you can provide would be greatly appreciated.
I have been working on this problem for a while now and can't seem to find a solution, I am hoping one you may be able to help. I am using Excel 2007 on Windows 7.
I have been given a xls file containing multiple worksheets and my task is to combine this data on a summary sheet and where there are duplicates, the quantity value is increased, but no duplicates are added to the summary.
So for example, on sheet 1 I could have :
ID Quantity Description
344303 1 product 1
342910 2 product 2
344411 1 product 3
On sheet 2:
ID Quantity Description
344303 4 product 1
342910 6 product 2
The output on the summary sheet should be:
ID Quantity Description
344303 5 product 1
342910 8 product 2
344411 1 product 3
I am very new to VBA and only have limited experience with Excel. Firstly how can I go about getting all the information from the multiple sheets and add them to the summary sheet? Then how would I be able to loop over them, find duplicates and increase the Quantity column?
Any help you can provide would be greatly appreciated.