In Google Sheets I try to copy cells B2:B4 depending on values in other cells C2:C4. For example - example.xlsx made in Excel.
But stuck and can't find a solution on how to do it in Google Sheets.
I will be very grateful for the help!
In Google Sheets I try to copy cells B2:B4 depending on values in other cells C2:C4. For example - example.xlsx made in Excel.
But stuck and can't find a solution on how to do it in Google Sheets.
I will be very grateful for the help!
=TRANSPOSE(SPLIT(JOIN(","; ARRAYFORMULA(REPT(SPLIT(
INDIRECT("B2:B"&COUNTA(B2:B)+1); ",")&",";
INDIRECT("C2:C"&COUNTA(C2:C)+1)))); ","))