I'd like to automatically populate a dynamic list where values are repeated on each row separately. The number of repetitions is in column A
and the value to repeat is in column B
. The formula should go into column C
, like this:
Repeat Values Variable Times on Each Row – Google Sheets
google sheets
Related Topic
- Google-sheets – Make each cell in a column update from the same row of another sheet
- Google Sheets – Solving Issues with ARRAYFORMULA and COUNTIFS Combined
- Google-sheets – Columns populated with the number of times each row has the first, second or third largest value for any given column
- Google-sheets – Google Sheets – Selective Totals
- Google-sheets – Google Sheets: filtering and matching a list treating NON-unique values
- Google-sheets – Duplicate row values to next row, based off specific column
Best Answer
You can repeat values with the
sequence()
function like this:=sequence(1, A2, B2, 0)
...where A2 contains the number of repetitions and B2 contains the value to repeat.
See sequence().