+ Reply to Thread
Results 1 to 6 of 6

Auto sequential numbering based on a cell text

  1. #1
    Registered User
    Join Date
    08-10-2017
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    2

    Auto sequential numbering based on a cell text

    Hello
    I am looking for a formula for auto sequential numbering based on a cell text, for example starting from :

    Apple
    Apple
    Apple
    Plum
    Plum
    Plum
    Plum
    Tomato
    Tomato
    Pear
    Pear
    Pear

    to achieve:

    1 Apple
    2 Apple
    3 Apple
    1 Plum
    2 Plum
    3 Plum
    4 Plum
    1 Tomato
    2 Tomato
    1 Pear
    2 Pear
    3 Pear

    Thank you

  2. #2
    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. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,266

    Re: Auto sequential numbering based on a cell text

    In the same cell? Or numbers in A and fruit in B?
    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.

  3. #3
    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. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,266

    Re: Auto sequential numbering based on a cell text

    See below:

    Excel 2016 (Windows) 32 bit
    A
    B
    C
    1
    1
    Apple 1 Apple
    2
    2
    Apple 2 Apple
    3
    3
    Apple 3 Apple
    4
    1
    Plum 1 Plum
    5
    2
    Plum 2 Plum
    6
    3
    Plum 3 Plum
    7
    4
    Plum 4 Plum
    8
    1
    Tomato 1 Tomato
    9
    2
    Tomato 2 Tomato
    10
    1
    Pear 1 Pear
    11
    2
    Pear 2 Pear
    12
    3
    Pear 3 Pear
    Sheet: Sheet2

    Excel 2016 (Windows) 32 bit
    A
    1
    =COUNTIF($B$1:$B1,B1)
    1
    =COUNTIF($B$1:$B1,B1)&" "&B1
    Sheet: Sheet2

  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. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,266

    Re: Auto sequential numbering based on a cell text

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

  5. #5
    Registered User
    Join Date
    08-10-2017
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    2

    Re: Auto sequential numbering based on a cell text

    Awesome
    Thank you very much

  6. #6
    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. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,266

    Re: Auto sequential numbering based on a cell text

    You're very welcome!

    Please mark the thread solved.

+ 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 populate sequential ID numbers based on any text entered into adjacent cells
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-27-2017, 11:41 PM
  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. [SOLVED] Generate sequential numbering when cell values are larger than
    By Carlsbergen in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-31-2014, 07:21 AM
  4. Auto numbering based on cell reference value
    By miteshan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-14-2014, 01:58 AM
  5. Auto Fill/Sequential Numbering
    By tjh in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-01-2006, 10:35 AM
  6. Data tracking and auto sequential numbering
    By rajeshparikh64 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-27-2006, 10:08 PM
  7. sequential numbering of pages in a cell
    By John in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-10-2005, 03:06 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