May 01 2022 07:26 AM
I need to calculate age in years between two dates. Help says use datedif, but the function does not appear in excel! I know there is a way to create a function that does this, but I haven't the algebraic ability.
Can someone help me with a formula?
May 01 2022 07:31 AM
@Lisainnj Which version of Excel are you using, on which platform? It is available in most versions, but not well documented in some of them.
Let's say you have dates in A2 and B2. Try entering =DATEDIF(A2,B2,"y") in another cell.
May 01 2022 08:23 AM
SolutionIn addition, there is no tooltip for DATEDIF(). You shall type it on your own, Excel shows nothing while you are entering function.
Alternatively you may use YEARFRAC function (microsoft.com)
May 01 2022 09:19 AM
May 01 2022 09:21 AM
Jun 06 2022 04:02 PM