I have a series of tables. All share a set number of columns but the number of rows of data varies between each table. Each table has a header and column labels. There is always a blank row between the table heading and the row with column labels and there is always a blank row between the last row of data in a table and the heading for the next table. They look something like this:
Group A Column Label 1 Column Label 2 Column Label 3 Data 1-1 Data 1-2 Data 1-3 Data 2-1 Data 2-2 Data 2-3 Data 3-1 Data 3-2 Data 3-3 Group B Column Label 1 Column Label 2 Column Label 3 Data 4-1 Data 4-2 Data 4-3 Data 5-1 Data 5-2 Data 5-3 Data 6-1 Data 6-2 Data 6-3 Data 7-1 Data 7-2 Data 7-3 Data 8-1 Data 8-2 Data 8-3 Group C Column Label 1 Column Label 2 Column Label 3 Data 9-1 Data 9-2 Data 9-3 Data 10-1 Data 10-2 Data 10-3
I would like to find a way to consolodate everything into one large table with the column headers and spaces between tables removed. I would like to retain the table headers as part of the data.
The desired output is something like:
Data 1-1 Data 1-2 Data 1-3 Group A Data 2-1 Data 2-2 Data 2-3 Group A Data 3-1 Data 3-2 Data 3-3 Group A Data 4-1 Data 4-2 Data 4-3 Group B Data 5-1 Data 5-2 Data 5-3 Group B Data 6-1 Data 6-2 Data 6-3 Group B Data 7-1 Data 7-2 Data 7-3 Group B Data 8-1 Data 8-2 Data 8-3 Group B Data 9-1 Data 9-2 Data 9-3 Group C Data 10-1 Data 10-2 Data 10-3 Group C
I hope I've demonstrated this well enough. I am very inexperienced with Excel's higher functions such as macros but hope that the solution to this problem is one that will help me learn.
Bookmarks