+ Reply to Thread
Results 1 to 2 of 2

Adding the next number to a name to create unique number

  1. #1
    Registered User
    Join Date
    02-18-2011
    Location
    Boston, USA
    MS-Off Ver
    Excel 2003
    Posts
    41

    Adding the next number to a name to create unique number

    Hi
    I want to add a formula to cell A2 and then the rest of column A so that when the initials are entered into cell B2the formula in A2 take the initals and add the nect sequential number to create a unique request ID. The trick is that there can be diffrent sets of initials so I need it to give the next number for those initals not just count the cells. See below example. thanks

    Request ID Auditor Initials /Requestor Initials
    CE/RG1 CE/RG
    ER/RG1 ER/RG
    CE/RG2 CE/RG
    BG/RG1 BG/RG
    CE/RG3 CE/RG

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Adding the next number to a name to create unique number

    With your list in Col_B, starting in cell B2
    this regular formula begins the sequence you're asking for:
    A2: =B2&COUNTIF(B$1:B2,B2)

    Copy that formula down as far as you need.

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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