+ Reply to Thread
Results 1 to 3 of 3

Create a unique ID for rows with same name and date of birth

  1. #1
    Registered User
    Join Date
    10-27-2012
    Location
    Uk
    MS-Off Ver
    Excel 2010
    Posts
    98

    Question Create a unique ID for rows with same name and date of birth

    Hi All

    I wasn't sure whether to post this in the formulas or VBA forum. I'm open to either solution if it's possible
    I am trying (and failing) to add a unique ID field to my employee data set

    Is there any way to calculate a unique ID for those records with the same name and date of birth?
    (I know there could be more than one person with the same name and dob but we don't have any other identifiable data at present so that's all we can do)

    Preferably the ID would have 6 numbers after the prefix 'ID' i.e ID000102 or ID003217 as some the data sets are 15,000+ rows

    All advice welcome
    All the best,
    Vicky
    Attached Images Attached Images

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Create a unique ID for rows with same name and date of birth

    Administrative note

    Welcome to the forum

    in your haste to solve your problem, you probably missed the yellow banner advising how to get answers faster by posting a sheet ?

    Please take a moment to read it and attach a sheet accordingly.

    Thanks you for helping us help you

  3. #3
    Registered User
    Join Date
    03-22-2020
    Location
    Malaysia
    MS-Off Ver
    2013 and 365 Pro Plus
    Posts
    56

    Re: Create a unique ID for rows with same name and date of birth

    As long as you didn't sort the database...maybe a row() formula could work

    at cell A2

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    this is just a suggestion, im sure the is a better way, just wait for others to respond, okay?

+ 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] Combine A Date And A Time To Create A Unique Date
    By Jenn68 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-18-2019, 06:58 AM
  2. [SOLVED] Mid function to create birth dates
    By Desire85 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-28-2016, 04:29 AM
  3. Replies: 2
    Last Post: 11-03-2014, 10:29 AM
  4. Can't create unique rows
    By dataman22 in forum Excel General
    Replies: 3
    Last Post: 10-30-2014, 02:08 PM
  5. Work out Term of Birth by Date of Birth
    By sezza79 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-18-2014, 11:06 AM
  6. Converting Date of Birth to 'Term of Birth'
    By Kungfusal in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-26-2009, 04:12 AM
  7. Replies: 0
    Last Post: 04-11-2005, 01:06 AM

Tags for this Thread

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