ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   consolidate 2 different workbooks (https://www.excelbanter.com/excel-discussion-misc-queries/37598-consolidate-2-different-workbooks.html)

JackieB

consolidate 2 different workbooks
 
Can any one help me?

I want to consolidate 26 workbooks into one new summary sheet.

If the same product code and colour exits in the 2 workbook add the values
together, but if the product code has a differnt colour insert into a new
row.


Dave Peterson

Ron de Bruin has lots of sample code at:
http://www.rondebruin.nl
For combining worksheets from various workbooks.

You'll find some code that opens the workbooks, and copies the cells from one
worksheet at the bottom of a summary sheet.

Once you do this, you might be close enough to use Data|pivottable to get your
summaries.



JackieB wrote:

Can any one help me?

I want to consolidate 26 workbooks into one new summary sheet.

If the same product code and colour exits in the 2 workbook add the values
together, but if the product code has a differnt colour insert into a new
row.


--

Dave Peterson


All times are GMT +1. The time now is 06:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com