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

How to fill out X number of cells with one value and then the next X with a second value, etc

$
0
0

I have a list of names:

  1. Alice
  2. Bob
  3. Caleb...

I want column A in rows 1-10 in Google Spreadsheets to be Alice, 11-20 to be Bob, and so on with the rest of the list.

How can I do this automatically? FLOOR((ROW()-1)/10) gets me the "index" of the name that I want? How do I access it with the names are located in column L? (Alice is L1, Bob is L2, etc). I can copy all the names by hand, but I am wondering if there is a function to do that?

Basically I want:

1. Alice2. Alice...10. Alice11. Bob...21. Caleb

Viewing all articles
Browse latest Browse all 9626

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>