A
A
Alina Shah2021-09-23 14:33:37
Google Sheets
Alina Shah, 2021-09-23 14:33:37

How to calculate age for specific dates?

https://docs.google.com/spreadsheets/d/1sGn0iio9nj...

Dates are entered in merged cells in the ddmmyyy format It is
necessary to calculate the age not on specific dates, given the exact age in years.
For example 20121949 and 20101969 should be 19 years.

The formula in cell E3
= RAZDAT(A1; D1; "Y")
does not work (Invalid value of the parameter Parameter 1 in the DATEDIF function: 56937).
How can I do not to create additional cells with normal dates?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
idShura, 2021-09-23
@Shah_Alina

=DATEDIF(DATE(RIGHT(D1;4);MID(D1;3;2);LEFT(D1;2));DATE(RIGHT(A1;4);MID(A1;3;2);LEFT(A1;2));"Y")

614c8d777fc10060339276.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question