forginganewone
Board Regular
- Joined
- Mar 14, 2018
- Messages
- 64
Sample data :
[TABLE="width: 597"]
<tbody>[TR]
[TD="align: center"]Site Id[/TD]
[TD="align: center"] Invoice[/TD]
[TD="align: center"]PO[/TD]
[TD="align: center"]Region[/TD]
[TD="align: center"]Amount[/TD]
[TD="align: center"]Quantity[/TD]
[TD="align: center"]Discription[/TD]
[TD="align: center"]Sheet 1[/TD]
[TD="align: center"]Sheet 2[/TD]
[/TR]
[TR]
[TD="align: center"]99[/TD]
[TD="align: center"]A23[/TD]
[TD="align: center"]B22[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]1993[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]cable[/TD]
[TD="align: center"]cables[/TD]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]
there will be lots of data like this.
What i want is to be able to use VBA or excel in a new sheet which will take following criterias : sheet name from H2 column( sheet 1), site from A2 column (99), discription from G2 column (cable) and number of rows from F2 column (3).
The trick here is number of rows, as the site id and description will be same for each row in that sheet but other data will be different so i want it to populate 3 rows without repeating any row.
Please ask if more clarification is needed.
[TABLE="width: 597"]
<tbody>[TR]
[TD="align: center"]Site Id[/TD]
[TD="align: center"] Invoice[/TD]
[TD="align: center"]PO[/TD]
[TD="align: center"]Region[/TD]
[TD="align: center"]Amount[/TD]
[TD="align: center"]Quantity[/TD]
[TD="align: center"]Discription[/TD]
[TD="align: center"]Sheet 1[/TD]
[TD="align: center"]Sheet 2[/TD]
[/TR]
[TR]
[TD="align: center"]99[/TD]
[TD="align: center"]A23[/TD]
[TD="align: center"]B22[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]1993[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]cable[/TD]
[TD="align: center"]cables[/TD]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]
there will be lots of data like this.
What i want is to be able to use VBA or excel in a new sheet which will take following criterias : sheet name from H2 column( sheet 1), site from A2 column (99), discription from G2 column (cable) and number of rows from F2 column (3).
The trick here is number of rows, as the site id and description will be same for each row in that sheet but other data will be different so i want it to populate 3 rows without repeating any row.
Please ask if more clarification is needed.