+ Reply to Thread
Results 1 to 12 of 12

Creating an ascending number sequence in groups of 6

  1. #1
    Registered User
    Join Date
    08-18-2009
    Location
    Dallas
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    5

    Creating an ascending number sequence in groups of 6

    Need help from the Excel gurus ASAP! Is there a way to automatically create a number sequence in a column like this:

    111111222222333333444444555555666666

    i.e., Ascending numbers in groups of 6. Trying automate the page numbers of personal ads in a magazine (there's six per page). Thanks!
    Last edited by chakotay; 08-19-2009 at 10:56 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Help! Creating an ascending number sequence in groups of 6

    one way:

    =CEILING(ROWS($A$1:$A1)/6,1)

    or

    =ROUNDUP(ROWS($A$1:$A1)/6,0)

    copied down
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    08-18-2009
    Location
    Dallas
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    5

    Re: Help! Creating an ascending number sequence in groups of 6

    Great! But how do I start the number sequence at 30?

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Help! Creating an ascending number sequence in groups of 6

    Try:

    =CEILING(ROWS($A$1:$A175)/6,1) copied down

  5. #5
    Registered User
    Join Date
    08-18-2009
    Location
    Dallas
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    5

    Re: Help! Creating an ascending number sequence in groups of 6

    OMG! You are an Excel super-genius!! Question: what does 175 have to do with it?

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Creating an ascending number sequence in groups of 6

    175 is smallest number divisible by 6 (your group size) that will roundup to 30 and when copied down, will still result in 30 until it reaches 180.... then moves to 31, etc...

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Creating an ascending number sequence in groups of 6

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  8. #8
    Registered User
    Join Date
    08-18-2009
    Location
    Dallas
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    5

    Re: Creating an ascending number sequence in groups of 6

    I would have been here all day figuring that out! One more question: Now I need to sort all 1000 people by last name - how do I disable the formulas in that column so that their page numbers will be sorted with them (i.e., the sequence I (we) just made needs to be jumbled up.)

  9. #9
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Creating an ascending number sequence in groups of 6

    Copy the column and then select the top cell and go to Edit|Paste Special and select Values... Click Ok...

  10. #10
    Registered User
    Join Date
    08-18-2009
    Location
    Dallas
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    5

    Re: Creating an ascending number sequence in groups of 6

    worked like a charm. THANK YOU!!!

  11. #11
    Registered User
    Join Date
    10-03-2016
    Location
    London, England
    MS-Off Ver
    Office 2010
    Posts
    1

    Re: Creating an ascending number sequence in groups of 6

    Hello, I have a sequence of numbers in groups of 11. For example HRE0001, HRE0001.....11 times and then HRE0002, HRE0002....11 times. I need to do this upto number 500, e.g HRE0500, how can I do this easily and not type the numbers?

  12. #12
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Creating an ascending number sequence in groups of 6

    munyaj welcome to the forum

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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