Hello

Enter following formula in C1
=DATEDIF(A1,B1,"m") This will give u months
=DATEDIF(A1,B1,"y") This will give u years