BTEC Education Learning

How To Convert Yyyymmddhhmmss Date Format To Normal Datetime In Excel Datetime In Excel

MS Excel

How To Convert Yyyymmddhhmmss Date Format To Normal Datetime In Excel Datetime In Excel

Learn how to effortlessly convert the Yyyymmddhhmmss date format to a regular datetime format in Excel. Make your Excel data more understandable and usable.


In the realm of data manipulation, Excel is a powerhouse. It allows us to perform various tasks with data effortlessly. However, sometimes, we encounter date formats that are not quite user-friendly, like Yyyymmddhhmmss. In this comprehensive guide, we will explore how to convert the Yyyymmddhhmmss date format to a more conventional datetime format in Excel. By the end of this article, you'll be equipped with the knowledge to transform your data into a more readable and usable format.

1. Understanding the Yyyymmddhhmmss Format

Before we dive into the conversion process, let's understand the Yyyymmddhhmmss format. This format represents dates and times in a concatenated manner. For example: 20230918123045 would translate to September 18, 2023, at 12:30:45 PM.

2. Why Convert Yyyymmddhhmmss to Normal Datetime?

Converting the Yyyymmddhhmmss format to a regular datetime format makes your data more comprehensible and usable. It's essential for , reporting, and visualization purposes.

3. Using Excel Functions

Excel provides us with powerful functions to convert date formats. Here's how to do it:

3.1. Text Function

The TEXT function allows you to convert the Yyyymmddhhmmss format to a readable datetime format. Use the following formula:

=TEXT(A1,"yyyy-mm-dd hh:mm:ss")

Replace A1 with the cell containing the Yyyymmddhhmmss value.

3.2. Date and Time Functions

Excel's date and time functions, such as DATE, TIME, and MID, can also be used for conversion. Here's a step-by-step guide:

  1. Extract the year, month, day, hour, minute, and second using the MID function.
  2. Combine them using the DATE and TIME functions.

4. Formatting Cells

Another way to convert the format is by using Excel's cell formatting options.

  1. Select the cell or range with the Yyyymmddhhmmss values.
  2. Right-click and choose “Format Cells.”
  3. Under the “Number” tab, select “Date” or “Time,” and choose the desired format.

5. Using Power Query

Power Query is a robust tool in Excel for . Follow these steps to convert the format using Power Query:

  1. Import your data into Power Query.
  2. Add a custom column with the following formula:
= DateTime.FromText(Text.From([YourColumn]),"yyyyMMddhhmmss")
  1. Replace [YourColumn] with the column containing Yyyymmddhhmmss values.


Can I convert Yyyymmddhhmmss to other date formats?

Yes, you can. Excel offers flexibility in choosing different date and time formats according to your preference.

Does the order of Yyyymmddhhmmss matter?

Yes, the order matters. Yyyymmddhhmmss should always follow the Year-Month-Day-Hour-Minute-Second sequence.

Can I convert multiple cells at once?

Certainly. You can apply the conversion formulas to entire columns or ranges for bulk conversion.

Are there any limitations to cell formatting?

Cell formatting may not be suitable for large datasets as it requires manual intervention. For extensive transformations, consider using formulas or Power Query.

Can I revert the changes after conversion?

Yes, you can. Simply reformat the cells to the desired date and time format.

Are there any Excel add-ins for date conversions?

Yes, some Excel add-ins provide advanced date conversion features, simplifying the process further.


In this article, we've learned how to convert the Yyyymmddhhmmss date format to a normal datetime format in Excel. Whether you're working with small datasets or large volumes of data, mastering this conversion is a valuable skill. It enhances the readability and usability of your data, making it more accessible for analysis and reporting.

Now, go ahead and apply these techniques to your Excel projects. Say goodbye to cryptic date formats and embrace the simplicity of normal datetime in Excel.

Leave your thought here

Your email address will not be published. Required fields are marked *

Alert: You are not allowed to copy content or view source !!