Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

How to duplicate a row containing formulas x times based on numeric value of another celll?

$
0
0

I have a sheet that I need to have things completed on in the following order:

  1. remove rows in a variable range (to make room for the new rows). This will be depend on how many rows are in the table to start with. The top 2 rows will need to be kept.
  2. Duplicate (or copy down) a single row a specified number of times (number of times is specified in a cell on the sheet).

The row contains formulas that need to change relatively when copied (ie: C3 is changed to C4 when copied to the next row).

The rows in the example are as follows:

  • the area between rows 5 to 7 are to be removed first. There is only on row in the example (row 5), but this number will change.
  • Then copy down row 4 the number of times specified in cell N2

Example: Google Sheet


Viewing all articles
Browse latest Browse all 9782

Trending Articles