Finding someone’s age from their date of birth

ifonlyidknownthat

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.

To learn more about Excel functions, you may like to attend one of our training courses – see http://www.jmdtraining.co.uk/microsoft-office-training/microsoft-excel-training/ for further details for London UK.

For Excel training in Sydney, Australia, please visit http://www.jmdtraining.com.au/microsoft-office-training/microsoft-excel-training

View original post

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 Uncategorized. Bookmark the permalink.

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