I have a workbook that I am creating that does an analysis. The analysis can be done for 1 or 2 companies.
Rather than making changes manually (like adding columns to a worksheet), I would like to be able to type "1" or "2" in to a cell and have a code linked to that cell that will do the changes I need. This text box is located in cell E3 on a tab called "Instructions".
The first change I need is to add two columns to a worksheet.
When "2" is typed in to E3 on the "Instructions" tab, I need to duplicate columns I, J, K, L and paste them right after column L. Note: there is information in column M:Q. Below is an example of what my worksheet looks like (row 1 is the column letters, row 2 is the header names, row 3 is example data):
<tbody>
</tbody>
I need the new table to look like this:
<tbody>
</tbody>
Thanks!
Rather than making changes manually (like adding columns to a worksheet), I would like to be able to type "1" or "2" in to a cell and have a code linked to that cell that will do the changes I need. This text box is located in cell E3 on a tab called "Instructions".
The first change I need is to add two columns to a worksheet.
When "2" is typed in to E3 on the "Instructions" tab, I need to duplicate columns I, J, K, L and paste them right after column L. Note: there is information in column M:Q. Below is an example of what my worksheet looks like (row 1 is the column letters, row 2 is the header names, row 3 is example data):
H | I | J | K | L | M | N | O | P | Q |
Description | Notes | Depth | Breadth | Impact | Score | Rank | Gap | Avg. | Bucket |
TEXT TEXT TEXT | TEXT TEXT | 3 | 2 | 1 | 5 | 4 | 2 | 3 | A |
<tbody>
</tbody>
I need the new table to look like this:
H | I | J | K | L | M | N | O | P | Q | R |
Description | Notes | Depth | Breadth | Impact | Score | Notes 2 | Depth 2 | Breadth 2 | Impact 2 | Score 2 |
<tbody>
</tbody>
Thanks!