Finding someone’s age from their date of birth

Using Excel and need to find someone’s age from their date of birth? There is a function not readily documented by Microsoft, called DATEDIF, which will do just that.

Say the person’s date of birth is in cell B2,

then the syntax required is

= DATEDIF(B2,TODAY(),”y”)

TODAY() enters the current date, so that means that the age will automatically update as time goes by.

“y” tells the function that we want the answer in years.

If we want to find how many months since an event, we could use “m” as the final argument.

Find out more about our Microsoft Excel training London UK or our Microsoft Excel training Sydney Australia.

About jdonbavand

I am a trainer of Microsoft Office, Microsoft Project and Crystal Reports. I have called my blog "If Only I'd Known That...." because I hear it so many times in training sessions. In fact, if only I had a £100 (or 150 Aussie dollars)for every time someone says "If only I'd known that." ....
This entry was posted in Microsoft Excel, Microsoft Excel 2007, Microsoft Excel 2010, Microsoft Excel 2013 and tagged , . Bookmark the permalink.

One Response to Finding someone’s age from their date of birth

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s