In Excel, the date and time are stored as numbers. This allows the user to perform calculations with these dates and times. However, you might want these dates to behave like text at times. You’ll need to know how to convert a date to text in these situations. Assume you have a set of dates in mmddyyyy format that you wish to convert date to text yyyymmdd format, as seen in the screenshot below. In this article, I’ll show you how to rapidly convert date to text yyyymmdd format.
Download Practice Workbook
Download this practice workbook to exercise while you are reading this article.
3 Easy Ways to Convert Date to Text YYYYMMDD
In this section, we will discuss three different methods to convert date to text yyyymmdd.
Method 1: Use TEXT Function to Convert Date to Text YYYYMMDD
The TEXT function converts a numeric number to a text string and displays it in the format you define.
Here’s an example of how dates and text can be blended. The dates lose their formatting and appear as digits in the merged text.
Let’s first see how the formula works for the TEXT Function,
=TEXT(value, format_text)
Arguments Explanation:
Arguments
Required/Optional
Explanation
value
Required
The number you’d want to convert to text. This can be a number, a cell reference to a number, or a formula result with a number.
format_text
Required
The format in which you prefer the number to be displayed Within double quotations, the format must be given.
Now we will apply this function to complete our task. Let’s follow these instructions below.
Step 1:
- Select a blank cell next to your date, for instance, C5.
- Type this following formula,
=TEXT(C5, "yyyy-mm-dd").
Step 2:
- Press Enter
- Then drag the AutoFill handle over the cells needed this formula.
Read More: How to Convert Date to Text Month in Excel (8 Quick Ways)
Method 2: Apply Format Cells to Convert Date to Text YYYYMMDD
If you’re not a fan of Excel formulas, there is another cool way to quickly convert date to text in Excel – the Format Cells feature. Excel’s Format Cells function can quickly convert date to yyyymmdd format.
Step 1:
- Select the dates you want to convert to yyyy-mm-dd.
- Right-click to show the context.
- Choose Format Cells.
Step 2:
- In the Format Cells dialog, under the Number tab, select Custom from the Category list.
- Type yyyy-mm-dd into the textbox of type in the right section.
Step 3:
- Press Enter to see the results
Read More: How to Convert Number to Text in Excel (4 Ways)
Similar Readings
- How to Convert a Numeric Value into English Words in Excel
- Convert Number to Text in Excel with Apostrophe
- How to Convert Number to Words in Excel in Rupees
- Convert Number to Text with Green Triangle in Excel
- Excel VBA: Convert Number to Text with Format (A Total Guide)
Method 3: Use the TODAY Function to Convert Date to Text YYYYMMDD
If you wish to convert the current date to text, use the TEXT function in Excel in conjunction with the TODAY function, which returns the current date. The following formula describes how the function works,
=TEXT(TODAY(), “yyyy-mm-dd”)
Steps:
- Select a blank cell.
- Type the formula. The formula is
=TEXT(TODAY(), "yyyy-mm-dd")
Read More: How to Convert Number (YYYYMMDD) to Date Format in Excel
✍ Things to Remember
✎ Make sure your values are formatted as Date. It will not change into yyyymmdd or any format until the value is in Date Format.
✎ The first clue that indicates a date formatted as text is the TEXT formula, which is oriented to the left. Aside from cell alignment, there are a few more signs in Excel that might help you distinguish between dates and text strings.
Conclusion
To conclude, I hope this article has given you some useful information about how to apply the Text function and Format Cell to convert date to text in Excel. All of these procedures should be learned and applied to your dataset. Take a look at the practice workbook and put these skills to the test. We’re motivated to keep making tutorials like this because of your valuable support.
If you have any questions – Feel free to ask us. Also, feel free to leave comments in the section below.
We, The Exceldemy Team, are always responsive to your queries.
Stay with us & keep learning.
Related Articles
- Excel Convert Number to Text with Leading Zeros: 10 Effective Ways
- How to Convert Numbers to Texts/Words in Excel
- Convert Text to Numbers in Excel
- How to Convert Number to Words in Excel (4 Suitable Ways)
- Excel VBA to Convert Number to Text (4 Examples)
- How to Convert Number to Words in Excel Without VBA
- Convert Peso Number to Words in Excel (With Easy Steps)