+ Reply to Thread
Results 1 to 4 of 4

Duplicating Values in a column

  1. #1
    Registered User
    Join Date
    01-05-2010
    Location
    Manchester
    MS-Off Ver
    Excel 2003
    Posts
    21

    Duplicating Values in a column

    I have a sheet which has a list of numbers in column A. Each number appears only once but I need each number to appear 6 times.

    So, this....

    432740093
    412620001
    412620002

    Would become...

    432740093
    432740093
    432740093
    432740093
    432740093
    432740093
    412620001
    412620001
    412620001
    412620001
    412620001
    412620001
    412620002
    412620002
    412620002
    412620002
    412620002
    412620002

    Is there a simple formula for this procedure?

    Any help would be greatly appreciated

    Regards

  2. #2
    Forum Contributor Dave H9's Avatar
    Join Date
    03-10-2011
    Location
    Manchester, England
    MS-Off Ver
    Excel 2007
    Posts
    418

    Re: Duplicating Values in a column

    It can be done quite simply with a helper column (see attached). But if your list is long VBA would be better.

    Let us know if you need further help.

    Dave H
    Attached Files Attached Files
    - Mark your post [SOLVED] if it has been answered satisfactorily, by editing your original post using advanced mode.
    - Thank those that provided useful help, its nice and its very well appreciated...use the star on the lower left of the post

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Duplicating Values in a column

    Using Dave's example sheet, without violotile fumction and without helper column, in B2 use this formula and copy down.

    =INDEX($A$2:$A$12,1+(ROW(A1)-1)/6)
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    01-05-2010
    Location
    Manchester
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: Duplicating Values in a column

    Perfect! Thanks for such quick help with this.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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