conversion of an id number to the persons age?

Hans100

New Member
Joined
Apr 14, 2003
Messages
24
I'm a 1st time user so I thank all here in advance for what I see will be a huge help for me in the comming weeks !

My question relates to a column of id no's which total 13 numerals eg:6406125128051
I would like to convert this to the persons age eg: 29 yrs.

The first 6 numerals describe the persons birthdate,therefore the first 2 numerals 64 (1964)need to be subtracted from 103 (2003)to give answer.

I have a list of 600 and I need to insert a formula to carry out this functio.
Could anybody assist in suppling me the procedure?
Many thanks 8-)
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Hi Hans100:

Welcome to the Board!

Phantom in his post above has given you a more comprehensive age computation that takes the entire birth date (not just the birth year) into account.

If you want to tke just the birth year into your account as shown in your original question, then the following may of interest to you ...
Book1
ABCD
1640612512805139
2540612512805149
3620612512805141
Sheet6
 
Upvote 0
Thank you very much Phantom & Yogi!
Im sorry but I will not be able to check back till tonite as I have to rush off now.I'll implement the formula and I get back to you later.
ps I presume since the id column is in col Q ,I must insert another column between Q & S and then substitute the A with a Q?

The worksheet has informationon 750 rows but only id's in 670 rows. Where do I exactly put that request in for those cells to be targeted?
Thanks once again
Go well .
Later
Hans
 
Upvote 0
You can try

=INT((TODAY()-DATE(LEFT(A1,2)+1900,MID(A1,3,2)+0,MID(A1,5,2)+0))/365.25)


or if DOB could be in this century revise something like

=INT((TODAY()-DATE(LEFT(A2,2)+1900+(LEFT(A2,2)+0<10)*100,MID(A2,3,2)+0,MID(A2,5,2)+0))/365.25)

Check which numbers are for month and which are for days and revise the above if necessary.
 
Upvote 0
Re: WELCOME TO THE BOARD!

Hi there,
I live in Mauritius, we use the date format : DD/MM/YYY and our ID is as follows : J210282300185F -> 21 (day) - 02 (MM) - 82 (YY) 21-02-1982 is his birth date.
My question is I need your help to convert this person birth date to today's age which is 35 years old.

Can somebody help me please?

Thanks,
Francois
 
Upvote 0

Forum statistics

Threads
1,224,591
Messages
6,179,768
Members
452,940
Latest member
rootytrip

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