Is there a way to generate lines, in another tab and fill them with data?

BBelmans

New Member
Joined
Jun 19, 2019
Messages
1
[FONT=&quot]I have a line of data in one tab, I like to copy it to another tab, in the last cell there is a code in the same row like so: H789, that’s a reference the other sheet, where there is a number from 1….9999, that’s the amount of copies I have to make.[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]The sheet I have the data is looks like this:[/FONT]
CODE
ROWS
SOURCES
POSITIONS
A123
4​
CN,CN,CN,FL
IN,OU,MA,BN
X456
2​
FL,FL
IN,OU
Y789
3​
CN,CN,CN
IN,OU,BN
H789
4​
CN,CN,CN, FL
IN,OU,MA,BN
IL12
2​
FL,FL
IN,OU
KFT5
3​
CN,CN,CN
IN,OU,BN
BNT5
4​
CN,CN,CN,CS
IN,OU,MA,BN

<tbody style="box-sizing: inherit; border: 0px; margin: 0px; padding: 0px; vertical-align: top; -webkit-font-smoothing: antialiased; text-size-adjust: none;">
</tbody>
[FONT=&quot] [/FONT]
[FONT=&quot]In the copied rows there has to be put in the data from the sources and positions.[/FONT]
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
I have a line of data in one tab, I like to copy it to another tab, in the last cell there is a code in the same row like so:


You can put how this information is on the sheet.
H789, that’s a reference the other sheet, where there is a number from 1….9999, that’s the amount of copies I have to make.


The sheet I have the data is looks like this:
CODEROWSSOURCESPOSITIONS
A123
4​
CN,CN,CN,FLIN,OU,MA,BN
X456
2​
FL,FLIN,OU
Y789
3​
CN,CN,CNIN,OU,BN
H789
4​
CN,CN,CN, FLIN,OU,MA,BN
IL12
2​
FL,FLIN,OU
KFT5
3​
CN,CN,CNIN,OU,BN
BNT5
4​
CN,CN,CN,CSIN,OU,MA,BN

<tbody>
</tbody>


You can also give an example of what the result of the copy would be like.
In the copied rows there has to be put in the data from the sources and positions.


I am waiting for your information
 
Upvote 0

Forum statistics

Threads
1,214,978
Messages
6,122,549
Members
449,089
Latest member
davidcom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top