I need a formula to calculate age today based on a person's date of birth. I used to know this but I have not used it for awhile. Please help if you can.
I need a formula to calculate age today based on a person's date of birth. I used to know this but I have not used it for awhile. Please help if you can.
Last edited by dominicb; 12-10-2009 at 05:44 PM.
Good evening Squint
Simply enough, if you were to put the person's DoB in A1, and the formula =NOW() in B1, then =B1-A1 will give you the answer - just remember to format the cell as a number - it may well default to a date.
To put the age in more human friendly form, use the DATEDIF function, a tutorial of which you can find here.
HTH
DominicB
Please familiarise yourself with the rules before posting. You can find them here.
Thanks dominicb! That worked great. Is there a way I am now suposed to flag this as solved? I have not been on in quite awhile and I see some are flagged as solved.
Go to Edit your original post and then click on Advanced and change the prefix to Solved.![]()
ChemistB
My 2?
substitute commas with semi-colons if your region settings requires
Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)
Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble
Hi Squint
ChemistB is spot on - but I've marked it solved for you this time.
DominicB
Thank you dominicb for the info on how to calculate DOB to age! However, the link you posted regarding how to use the DATEDIF Function does not work properly and will not show any information. Would you be able to explain to me on this forum how to properly use the DATEDIF Function, in conjunction with the =NOW() formula? or would you happen to have another site to refer me to so i can learn how to use it? Any information is greatly appreciated and thank you for the help!
![]()
http://www.cpearson.com/excel/datedif.aspx it does work it just slow at the moment when it freezes try a refresh
http://www.cpearson.com/excel/datedif.aspx
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks