bobshah2010
New Member
- Joined
- Nov 29, 2016
- Messages
- 39
Hi Guys,
I would like some help in making a macro that pulls columns from a BIG table (e.g 40 rows x 50 Cols) to a smaller table (40 rows x 5 cols) into a new sheet, and those 5 columns that it converts the table to are based of identically matching headers in a list i've created on another sheet.
So essentially i will have 3 sheets -
The reason I need this is to create a correlation matrix based on the smaller table as opposed to making a correlation matrix from the larger table. The smaller table will also be constantly updated i.e number columns from the Big table may be added to the end of the smaller table i.e today it might be 5 rows, but as the list from the first sheet increases so does the smaller table.
If it is possible could the step that involves generating the smaller table be improved by also performing a correlation matrix based on the size of the smaller table - and include the headers preferably in the matrix output.
Thanks a lot guys, your help is always much appreciated.
Kind regards
I would like some help in making a macro that pulls columns from a BIG table (e.g 40 rows x 50 Cols) to a smaller table (40 rows x 5 cols) into a new sheet, and those 5 columns that it converts the table to are based of identically matching headers in a list i've created on another sheet.
So essentially i will have 3 sheets -
- One with the list of headers of the columns i'd like to extract from the master table sheet
- Master table sheet (the big table with 40 rows x 50 cols)
- Macro derived table that when i push a button it will generate the new smaller table into this sheet with the same amount of rows, but different number of columns.
The reason I need this is to create a correlation matrix based on the smaller table as opposed to making a correlation matrix from the larger table. The smaller table will also be constantly updated i.e number columns from the Big table may be added to the end of the smaller table i.e today it might be 5 rows, but as the list from the first sheet increases so does the smaller table.
If it is possible could the step that involves generating the smaller table be improved by also performing a correlation matrix based on the size of the smaller table - and include the headers preferably in the matrix output.
Thanks a lot guys, your help is always much appreciated.
Kind regards