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.

Convert numbers of days to year/month/day in Excel

How to convert numbers of days to year/month/day in Excel?
Convert numbers of days to year/month/day in Excel

CONVERT NUMBERS OF DAYS TO YEAR/MONTH/DAY — EXCEL FORMULA AND EXAMPLE

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

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

How to convert numbers of days to year/month/day in Google Sheets?
Convert numbers of days to year/month/day in Google Sheets

CONVERT NUMBER WITH TWO DECIMAL — GOOGLE SHEETS FORMULA AND EXAMPLE

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