+ Reply to Thread
Results 1 to 7 of 7

Hep filling column with a number sequence whenever value changes

  1. #1
    Registered User
    Join Date
    04-28-2014
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2012
    Posts
    2

    Cool Hep filling column with a number sequence whenever value changes

    Hello, I am trying to fill a column with a number series starting with 1 whenever a value changes in the adjacent column. So for instance I am trying to do something like this :

    87 1
    87 2
    87 3
    88 1
    88 2
    88 3
    88 4
    89 1
    89 2
    90 1
    91 2
    92 1
    92 2
    92 3
    92 4
    92 5
    92 6

    Any help would be greatly appreciated, thanks!

  2. #2
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: Hep filling column with a number sequence whenever value changes

    Please Login or Register  to view this content.
    Or see example workbook formula B2

    I forgot to mention the data would have to start in row two for this formula to work.
    Attached Files Attached Files
    Last edited by Jack7774; 04-28-2014 at 05:44 PM. Reason: additonal information needed
    Thank those who have helped you by clicking the Star * below their name and please mark your post [SOLVED] if it has been answered satisfactorily.

  3. #3
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: Hep filling column with a number sequence whenever value changes

    Did this work for you?

  4. #4
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: Hep filling column with a number sequence whenever value changes

    If this brought you the desired solution please give rep to those involved and mark thread as solved.

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

    Re: Hep filling column with a number sequence whenever value changes

    And if the numbers not following, you can use this one.

    =countif($G$2:$G2,$G2)

    See the attached file.
    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
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: Hep filling column with a number sequence whenever value changes

    Quote Originally Posted by oeldere View Post
    And if the numbers not following, you can use this one.

    =countif($G$2:$G2,$G2)

    See the attached file.
    Very nice! I learned something new.

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

    Re: Hep filling column with a number sequence whenever value changes

    @jessebranum777

    Glad to help.

+ 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. auto- sequence number based on another column?
    By maynard in forum Excel General
    Replies: 6
    Last Post: 07-29-2016, 10:31 PM
  2. Replies: 1
    Last Post: 03-13-2013, 03:36 PM
  3. Filling cells in a number sequence with blanks inserted
    By peteatlab in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-09-2011, 06:39 PM
  4. Find next avaliable number in out of sequence column
    By Kudos247 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-25-2008, 09:21 PM
  5. Repeating number sequence in a column
    By Nexan in forum Excel General
    Replies: 3
    Last Post: 03-31-2005, 03:06 PM

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