Introduction: Sheet1 in my excel workbook contains a “complex” table with about 130 columns and 2,5k rows.
First issue:
Based on this table i want to create a simplified table(“View”) in Sheet2, which contains only e.g. columns A,C,F,G,I from the table in Sheet1.
This new “simplified” table should be updated when the table in Sheet1 is changed, e.g. in the form of a cell beeing edited, or a new row beeing inserted. Another way of approaching this would be to auto generate the table in Sheet2 everytime the user saves the workbook, or something similar.
Second issue:
The rows which contains a specific value in column F, lets say the value “XXX”, should not be included in the Sheet2 table.
I’m not very experienced in more “advanced” excel functionality, but after researching the matter im leaning towards approaching this by creating a macro. Is this assumption correct? Or does excel have any other functionality to perform this task?
If creating a macro is the best approach, then any help would be much appreciated. I am currently playing arround with a test table with 4 rows, and copying two of these into a new worksheet. But i am having troubles with how to do this automatically, and exluding the rows with a specific value(Issue #2)
Try the following code: (Placed in the simple sheets module)