Results 1 to 4 of 4

How to use several COUNTA functions to create unique Identification Numbers

Threaded View

  1. #1
    Registered User
    Join Date
    04-08-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    57

    How to use several COUNTA functions to create unique Identification Numbers

    I'm attempting to create a unique ID number for each entry in a long column of data.

    The data set has 96 unique groups-8 main categories with 12 sub categories.
    Each entry in the data set needs to have a unique identification number (ID).
    In my mock ups, this number is a six digit number. This # is highlighted below.
    The first number in the ID to come from the main category (1-8).
    The next two numbers in the ID would come from the sub category (01-12).
    The remaining three numbers are a unique value between 001-999.

    I would like Excel to count each individual entry starting at 1 for each unique group.
    Each time a new entry is made, Excel should look at the categories and decide which of 96 unique groups the entry belongs to, and assign it a number between 001 and 999 in this group.
    I've tried to accomplish this with COUNTA and IF functions, but with 96 different counters running I haven't been successful.

    Any suggestions for an elegant solution?
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [VBA] Create a random unique numbers generator without functions
    By alexgoaga in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-27-2017, 07:33 AM
  2. Stepping stone to create word identification in excel
    By a_driga in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-27-2015, 09:43 AM
  3. How do I format to highlight same names but different identification numbers?
    By officegirl14 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-28-2015, 04:54 PM
  4. Replies: 1
    Last Post: 10-16-2013, 02:46 PM
  5. [SOLVED] create list of unique staff numbers with unique work codes
    By shaz0503 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-01-2013, 08:57 PM
  6. [SOLVED] Identification numbers
    By HelpExc in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-13-2012, 01:39 PM
  7. [SOLVED] I want to create unique randomn numbers
    By charlieking4747 in forum Excel General
    Replies: 5
    Last Post: 02-16-2006, 09:55 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