
- MS Excel Basics
- Excel - Home
- Excel - Getting Started
- Excel - Explore Window
- Excel - Backstage
- Excel - Entering Values
- Excel - Move Around
- Excel - Save Workbook
- Excel - Create Worksheet
- Excel - Copy Worksheet
- Excel - Hiding Worksheet
- Excel - Delete Worksheet
- Excel - Close Workbook
- Excel - Open Workbook
- Excel - Context Help
- Editing Worksheet
- Excel - Insert Data
- Excel - Select Data
- Excel - Delete Data
- Excel - Move Data
- Excel - Rows & Columns
- Excel - Copy & Paste
- Excel - Find & Replace
- Excel - Spell Check
- Excel - Zoom In-Out
- Excel - Special Symbols
- Excel - Insert Comments
- Excel - Add Text Box
- Excel - Undo Changes
- Formatting Cells
- Excel - Setting Cell Type
- Excel - Setting Fonts
- Excel - Text Decoration
- Excel - Rotate Cells
- Excel - Setting Colors
- Excel - Text Alignments
- Excel - Merge & Wrap
- Excel - Borders and Shades
- Excel - Apply Formatting
- Formatting Worksheets
- Excel - Sheet Options
- Excel - Adjust Margins
- Excel - Page Orientation
- Excel - Header and Footer
- Excel - Insert Page Breaks
- Excel - Set Background
- Excel - Freeze Panes
- Excel - Conditional Format
- Working with Formula
- Excel - Creating Formulas
- Excel - Copying Formulas
- Excel - Formula Reference
- Excel - Using Functions
- Excel - Builtin Functions
- Advanced Operations
- Excel - Data Filtering
- Excel - Data Sorting
- Excel - Using Ranges
- Excel - Data Validation
- Excel - Using Styles
- Excel - Using Themes
- Excel - Using Templates
- Excel - Using Macros
- Excel - Adding Graphics
- Excel - Cross Referencing
- Excel - Printing Worksheets
- Excel - Email Workbooks
- Excel- Translate Worksheet
- Excel - Workbook Security
- Excel - Data Tables
- Excel - Pivot Tables
- Excel - Simple Charts
- Excel - Pivot Charts
- Excel - Keyboard Shortcuts
- MS Excel Resources
- Excel - Quick Guide
- Excel - Useful Resources
- Excel - Discussion
How to Convert Numbers to Year/Month/Day or Date in Excel?
Have you ever tried to convert the number of days to years, months, and days in Excel? If we try to do this by hand, it can be a time-consuming process because we need to divide to get the year, age it to get the months, and then repeat the process to get the days. We can solve this process in a more straightforward and time-efficient manner. Read this tutorial to learn how you can convert numbers to years, months, and days in Excel.
Converting Numbers to Year/Month/Day in Excel
Here we will use the DATEDIF formula to get any one of the results, then use the auto-fill handle to get all the results. Let's go over a simple procedure for converting numbers to years, months, and days in Excel using formulas.
Step 1
Consider the following image of an excel sheet with a list of numbers.

Now, in our case, cell B2, click on an empty cell and enter the following formula −
=DATEDIF(0,A2,"y"), "years"; +DATEDIF(0,A2,"ym"), "months"; +DATEDIF(0,A2,"md"), "days" and press enter to get our first result. In the formula, A2 is the address of our value in the Excel sheet.

Step 2
Now drag from the first result using the auto-fill handle to get all the results and our final output will be similar to the below image.

Converting Numbers to Date in Excel
Here we will use the short date function to complete our task. Let's go over a simple procedure for converting numbers to dates in Excel.
Step 1
Let us consider the same data that we used in the above example. Now, to convert the numbers to dates, select the date, then click on the number and select the short date from the list.
Select date > Home > Number > Short date

And the end result will be similar to the image below.

Conclusion
In this tutorial, we used a simple example to demonstrate how you can convert numbers to data in Excel.
- Related Articles
- Format MySQL date and convert to year-month-day
- How to convert year, month, and day of the month into a complete date in R?
- Convert day of year to day of month in Java
- How to calculate average age by year/month/date in Excel?
- How to get a Date from year, month and day in Java?
- Finding day of week from date (day, month, year) in JavaScript
- Create date from day, month, year fields in MySQL?
- How to get the same or first day of next month on a given date in Excel?
- How to calculate days left in a month or year in Excel?
- How to calculate the percentage of year or month passed in Excel?
- How to get day of month, day of year and day of week in android using offset date time API class?
- How to calculate number of days in a month or a year in Excel?
- Combine three strings (day, month, year) and calculate next date PHP?
- How to get current day, month and year in Java 8?
- How to Convert Week Number to Date or Vice Versa in Excel?
