+ Reply to Thread
Results 1 to 5 of 5

Sequential numbering based on same event

  1. #1
    Registered User
    Join Date
    11-15-2011
    Location
    Gold Coast, Australia
    MS-Off Ver
    Excel 2016
    Posts
    15

    Sequential numbering based on same event

    Hello

    I have a list of of numbers which after I sort them by ascending order, I want to have a new column beside it with their order number, starting at 1.

    As per the attached file though, there is an event ID column which I sort by first, and then sort by the column in Blue.

    So for each new event ID, I would like the numbers to start from 1 again and so on.

    Example is the pre-filled column in yellow...

    Screenshot (60).png

    Is this possible?

    Further, if the numbers in the blue column are identical, is it possible to have the sequential numbers the same? If not this is no real issue...

    Thanks heaps
    Dan
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,475

    Re: Sequential numbering based on same event

    Put this formula in F2:

    =IF(COUNTIFS(A$2:A2,A2,D$2:D2,D2)=1,COUNTIF(A$2:A2,A2),F1)

    then copy down.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    11-15-2011
    Location
    Gold Coast, Australia
    MS-Off Ver
    Excel 2016
    Posts
    15

    Re: Sequential numbering based on same event

    Pete, you are a genius... thank you, this works perfectly.

    Much appreciated
    Dan

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,922

    Re: Sequential numbering based on same event

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,475

    Re: Sequential numbering based on same event

    Glad it worked for you - thanks for the rep.

    Pete

+ 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. [SOLVED] Auto sequential numbering based on a cell text
    By GAG24 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-10-2017, 07:34 AM
  2. Generate Sequential Numbering based on Combobox selection
    By MzBranch in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-24-2015, 01:09 PM
  3. Sequential numbering
    By antony moseley in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-08-2009, 09:49 AM
  4. Sequential Numbering
    By justin68 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-27-2007, 02:17 AM
  5. [SOLVED] Sequential Numbering
    By Mel in forum Excel General
    Replies: 10
    Last Post: 05-09-2006, 10:15 AM
  6. sequential numbering
    By super in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-29-2005, 10:39 AM
  7. Sequential Numbering.
    By Rodney in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 05-02-2005, 05: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