+ Reply to Thread
Results 1 to 5 of 5

Help with assigning =sequential number to a unique entry

Hybrid View

  1. #1
    Registered User
    Join Date
    04-17-2014
    Location
    Rotterdam, The Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    17

    Help with assigning =sequential number to a unique entry

    Hello,

    Please help me on how to assign a sequential number to each unique entry.

    I have the list of identifiers for different companies, e.g.:

    A
    A
    A
    AAI
    AAI
    AAPL
    AAPL

    I would like to assign a unique number to each company, e.g.:

    A 1
    A 1
    A 1
    AAI 2
    AAI 2
    AAPL 3
    AAPL 3

    Thank you
    Last edited by SunSpot; 04-17-2014 at 11:19 AM.

  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,466

    Re: Help with assigning =sequential number to a unique entry

    Put the first 1 in manually into B1, then in B2 and copied down:

    =IF(A2=A1,B1,B1+1)
    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
    Registered User
    Join Date
    04-17-2014
    Location
    Rotterdam, The Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Help with assigning =sequential number to a unique entry

    Thank you!

  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,466

    Re: Help with assigning =sequential number to a unique entry

    Quote Originally Posted by SunSpot View Post
    Thank you!
    You are welcome, but in future, please provide a link if you have posted the same question on another forum.

  5. #5
    Registered User
    Join Date
    04-17-2014
    Location
    Rotterdam, The Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Help with assigning =sequential number to a unique entry

    I'll definitely do that. Sorry for the repetition!

+ 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. VBA code for pulling a sequential number from a text file dependent on a form entry.
    By gjwilson1216 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-31-2013, 05:16 AM
  2. Chemical Inventory- Create unique number for each entry to label
    By wijoga in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-17-2013, 12:33 PM
  3. Generating a unique sequential number in Excel
    By JPFreeman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2012, 08:31 PM
  4. get the sum of unique number from multiple entry
    By Datsme_29929 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 08-25-2011, 04:35 PM
  5. unique sequential number excel 2000
    By Ches in forum Excel General
    Replies: 0
    Last Post: 05-13-2005, 06: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