+ Reply to Thread
Results 1 to 6 of 6

How do you create duplicate cells quickly?

  1. #1
    Registered User
    Join Date
    06-20-2013
    Location
    SF
    MS-Off Ver
    Excel 2010
    Posts
    14

    How do you create duplicate cells quickly?

    Hi,

    How do I duplicate the values to say 4 times in a column?

    So I have in a column,

    dog
    cat
    bird
    fish

    I want to duplicate the above to look like this below,

    dog
    dog
    dog
    dog
    cat
    cat
    cat
    cat
    bird
    bird
    bird
    bird
    fish
    fish
    fish
    fish

    I'll need to do this for 500 unique values 12 times each, so is there a formula to do this easily?

    Thanks in advance!

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: How do you create duplicate cells quickly?

    With your original list in column A, use in a spearate column

    =INDEX(A:A,ROUNDUP(ROW(A1)/4,0))

    EDIT: Copy and paste formula as far down as needed instead of dragging

    Change highlighted number for number of repeated entries
    Last edited by Ace_XL; 06-20-2013 at 07:12 PM.
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    06-20-2013
    Location
    SF
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: How do you create duplicate cells quickly?

    worked like a charm. Thanks!

    By the way, is there a quick way to send the formula down really far past down the A original column so that I don't have to drag the results manually for a long time?

  4. #4
    Valued Forum Contributor
    Join Date
    09-25-2011
    Location
    Eastbourne, England
    MS-Off Ver
    Excel 2010
    Posts
    1,089

    Re: How do you create duplicate cells quickly?

    Hi kooldis

    How far down do you want to go? How will you communicate this to Excel?

    Assuming that the formula is in column B and you want it to go down to row 1001, in the box just above the column header A B C etc type in B1001 and hit enter. This will take you to B1001. Hold down Ctrl+Shift and press the up arrow. Hold down Ctrl and press d. The formula will be copied down from your entry to B1001.

    Hope this helps

    Alastair

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How do you create duplicate cells quickly?

    if you got headers; make a table of the data before entering the formala.

    Excel 2007 => insert => formula
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  6. #6
    Registered User
    Join Date
    06-20-2013
    Location
    SF
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: How do you create duplicate cells quickly?

    I've been using this formula ' =INDEX(A:A,ROUNDUP(ROW(A1)/4,0)) ' but never actually understood how it worked. I understand the row function gives the reference number of a cell, but why is it that when you divide it by a number like 4 and do a roundup function, it will return 4 duplicates of the word result I want? It works for every number no matter if I put 4 or 22 in red. How is that possible? I imagine that should be a number where the division doesn't work out and you don't get the number of duplicates you want.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1