How to extract date of birth from the NISS in Excel
Ziomzbelgii
-
tontong Posted messages 2575 Registration date Status Member Last intervention -
tontong Posted messages 2575 Registration date Status Member Last intervention -
Hello,
I'm unable to solve the following problem:
I need to have a list of birth dates of the employees working for our company. In Excel, I have all the national registry numbers. There are 700 of them, and unfortunately, I only have the NISS and I need to extract the birth dates.
Is it possible to do that?
I thank in advance the person who can help me (if there will be one, of course)
Szymon
Configuration: Windows 7 / Firefox 17.0
I'm unable to solve the following problem:
I need to have a list of birth dates of the employees working for our company. In Excel, I have all the national registry numbers. There are 700 of them, and unfortunately, I only have the NISS and I need to extract the birth dates.
Is it possible to do that?
I thank in advance the person who can help me (if there will be one, of course)
Szymon
Configuration: Windows 7 / Firefox 17.0
2 answers
-
NISS ????
Michael -
Hello
Thank you for the clarification because I was about to go with the French INSEE code
A custom function after setting the extraction column to date format
Function dater_naissance(niss As String) As Date niss = Left(niss, 6) dater_naissance = CDate(Right(niss, 2) & "/" & Mid(niss, 3, 2) & "/" & Left(niss, 2)) End Function
But we can do it with a formula if you are resistant to VBA
Michel