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

VickyW

New Member
Joined
Mar 1, 2020
Messages
9
Office Version
  1. 365
  2. 2013
  3. 2010
Platform
  1. Windows
Hi All

This is a cross-post from another forum that I'd not had much luck from
Fingers crossed someone here will be able to help

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?

Ideally the ID would have at least 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
 

Attachments

  • ID Column.PNG
    ID Column.PNG
    10.8 KB · Views: 84

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
I'd first recommend removing duplicates based on name and DOB, that way you'd have a unique list of people. Then you can insert 'ID000001' into cell A1 of your ID field and fill down which will increment it by one for each row
 
Upvote 0
Hi Denzo36

Thanks. That does seem like a much more sensible approach!

Each row contains a different type of appointment for the employee, so I still need the info, but I can create a unique list of names+dob's, assign each one an ID, then link the remaining the data back with =INDEX(MATCH

Thank you!
 
Upvote 0

Forum statistics

Threads
1,214,826
Messages
6,121,795
Members
449,048
Latest member
greyangel23

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top