Sample Data
This data shows a start date in A2 and an end date in B2. We want to find the difference between these two dates in years, months, and days using the DATEDIF function.
| Cell | Value |
|---|---|
| A1 | Start Date |
| B1 | End Date |
| C1 | Difference (Years) |
| D1 | Difference (Months) |
| E1 | Difference (Days) |
| A2 | 2020-01-15 |
| B2 | 2023-06-10 |