Calculating age in Calc
TDF LibreOffice Document Liberation Project Community Blogs Weblate Nextcloud Redmine Ask LibreOffice Donate
The video "Calculating age in Calc - LibreOffice Calc" links to this page here, which provides further information.
This video shows how, with the help of formulas in Calc, the age can be calculated based on the date of birth.
Link to the Video
Link to the Video:
Calculating age in Calc – LibreOffice
See picture "The formula".
DATEDIF(Start date; End date; Interval)
Returns the number of whole days, months or years between "Start date" and "End date".
Interval is a sign.
Value for Interval are the expressions "d", "m", "y", "ym", "md", or "yd".
IF(Test; Then value; Otherwise value)
Results in a Truth check, which is to be carried out.
Returns the current computer system date.
See picture "View of the table from 07.06.2020".
Age calculation - Wikipedia +1
In Wikipedia the definition for the calculation of age is described:
In German_DE :"However, the day of birth shall be included in the calculation of age"
For this case, the formula can be supplemented with +1.
The work file: 20200606_Calculating age.ods
Documentation / Manuals
Here you will find the Documentation / Manuals:
For questions on this topic go to:
Join us today and help us to make it even better!
LibreOffice is Free Software and is made available free of charge.
Your donation, which is purely optional, supports our worldwide community.
If you like the software, please consider a Donation.