Results 1 to 3 of 3

Thread: Repeating group of specific group of numbers

  1. #1

    Repeating group of specific group of numbers



    Register for a FREE account, and/
    or Log in to avoid these ads!

    I am trying to get excel to repeat a group of numbers. Lets say that in column A is numbers 1 - 10, how do i get excel to repeat the same group 1 - 10 starting from the first blank cell.

  2. #2
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Location
    Nanaimo, BC, Canada
    Posts
    2,091
    Articles
    79
    Blog Entries
    14
    I'd put a 1 in cell A2, then put the following in A3 and copy down:

    =IF(A2+1>10,1,A2+1)

    At that point if you want it to repeat numbers 1-15, change the 10. If you want it to start at 5, change the ,1, to ,5,

    Hope that helps,
    Ken Puls, FCPA, FCMA, MS MVP (Excel)

    Master your data with Power Query: Purchase your copy of my book M is for Data Monkey today!

    Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

  3. #3
    Super Moderator JoePublic's Avatar
    Join Date
    Sep 2011
    Location
    Askew
    Posts
    170
    Articles
    0
    Select the 10 cells then either:
    1. Hold Ctrl, then click and drag the fill handle down as far as required; or
    2. Right-click and drag the fill handle and choose 'Copy cells' after releasing.

Posting Permissions

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