Monday, January 4, 2021

Combine or Append Tables | Same Workbook | Multiple Worksheets

You want to use Excel to combine tables in different worksheet tabs in the same workbook file. You also want to preserve the title in those worksheets to use for a new column value in the combined output. Luckily the tables are all structured the same and have the same column headings. The catch is that the worksheet tabs are the generic name (i.e, Sheet1 or Sheet2) and there is a common field that houses the value that categorizes the tables. One worksheet will be California data and another worksheet would be New York data. If these were small data sets, then copy/paste and some column movements would suffice. However if these are large tables, you do this on a recurring basis or this is something you get from someone else on a recurring basis, it would be a chore. This is a great opportunity to use Power Query and this video will show how. This is a tip I learned from Gil Raviv's book. Get the book at https://amzn.to/2Zj9ADY

No comments:

Post a Comment