Is it possible to automatically clone rows when creating new rows in another table.

MRDBS

New Member
Joined
Nov 7, 2014
Messages
7
Hei guys

I have a nut I am just not able to crack.

I have two tables.
Both tables are similar.
One for input and output.
One for calculation.

I did this to protect my formulas, I know I know....

So my question is: Can I create a rule to add a line with formulas in my calc. table, when I copy/add a line in my input table?

So to say I create a new line for inputs, (insert copied fields) and then automatically create a new row to calculate the output.

Alternatively can I add a field in my Form which determines the amount of rows I would need?

Edit:

Example:

Table 1
NirtdBo.jpg


Table 2
81ePnzx.jpg



ALTERNATIVE 2 would be to add a field that auto creates as many rows as requested like, let's say we enter 2 in cell Z2

That then creates 2rows in table1 and two corresponding rows in table2
 

Some videos you may like

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

MRDBS

New Member
Joined
Nov 7, 2014
Messages
7
One suggestion in r/excel was:

=OFFSET(Sheet1!$A$3;0;0;COUNTA(Sheet1!$A3:$A1048576);COUNTA(Sheet1!$3:$3))

Which i did not get to work.
 

Watch MrExcel Video

Forum statistics

Threads
1,123,206
Messages
5,600,317
Members
414,376
Latest member
NickYOW

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
Top