+ Reply to Thread
Results 1 to 5 of 5

Number rows multiple entries of the same number.

  1. #1
    Registered User
    Join Date
    08-01-2018
    Location
    San Francisco, USA
    MS-Off Ver
    Microsoft Office 365 ProPlus, Excel 2013
    Posts
    6

    Number rows multiple entries of the same number.

    I need to create a list of numbers running down a column in excel. However, I need the list to only change number every 7 rows. Is there a way to do this?
    i.e.
    1
    1
    1
    1
    1
    1
    1
    2
    2
    2
    2
    2
    2
    2
    etc...
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,369

    Re: Number rows multiple entries of the same number.

    Your sample does not change every seven rows - can you please clarify?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,369

    Re: Number rows multiple entries of the same number.

    If you really mean what you say, here's a way:

    Excel 2016 (Windows) 32 bit
    B
    1
    1
    2
    1
    3
    1
    4
    1
    5
    1
    6
    1
    7
    1
    8
    2
    9
    2
    10
    2
    11
    2
    12
    2
    13
    2
    14
    2
    15
    3
    16
    2
    17
    3
    18
    3
    19
    3
    20
    3
    21
    3
    22
    4
    23
    3
    Sheet: Sheet1

    Excel 2016 (Windows) 32 bit
    B
    1
    1
    2
    =IF(MOD(ROW()-1,7)=0,A1+1,A1)
    Sheet: Sheet1

  4. #4
    Registered User
    Join Date
    08-01-2018
    Location
    San Francisco, USA
    MS-Off Ver
    Microsoft Office 365 ProPlus, Excel 2013
    Posts
    6

    Re: Number rows multiple entries of the same number.

    Awesome thank you!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,369

    Re: Number rows multiple entries of the same number.

    You’re welcome!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 08-23-2016, 03:39 PM
  2. how to sort by number when cells have multiple entries
    By angelman in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 06-25-2016, 04:18 AM
  3. [SOLVED] Count number of entries based on multiple criteria
    By jturner12 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-05-2015, 09:52 AM
  4. Replies: 8
    Last Post: 04-03-2012, 01:25 PM
  5. Replies: 3
    Last Post: 03-13-2008, 06:11 AM
  6. Creating a certain number of entries based on a number in a cell
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 09-06-2005, 07:05 AM
  7. [SOLVED] Creating a certain number of entries based on a number in a cell
    By PPV in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM

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