Convert numbers of days to year/month/day in Excel and Google Sheets

=DATEDIF(0,A2,"y")&" years " &DATEDIF(0,A2,"ym")&" months "&DATEDIF(0,A2,"md")&" days"

A2 = data cell

Check below for a detailed explanation with pictures and how to use formulas in Excel and Google Sheets.