Hi
In Excel column i have value in dd/mm/yyyy and i want same value in another column in format yyyy-MM-dd.
in all rows
Column A Column B
27/08/1978 1978-08-27
Thanks
Hi
In Excel column i have value in dd/mm/yyyy and i want same value in another column in format yyyy-MM-dd.
in all rows
Column A Column B
27/08/1978 1978-08-27
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ramco RamcoRank #462 · 5.4K reputationPosted May 1, 2023, 6:23 AM EDT
Hi Mohamed
If a string it is to be stored. How it can be done
Thanks
Rajkiran SwainRank #165 · 14.4K reputationPosted May 2, 2023, 3:37 AM EDT
Hello,
You can convert the date format in Column A to yyyy-MM-dd format using the following formula in Column B:
=TEXT(A1,"yyyy-mm-dd")
Then drag the formula down to apply to all the rows in Column B.
Alternatively, you can use the "Text to Columns" feature in Excel to convert the date format. Here's how:
1. Select the column with the date values (Column A)
2. Go to the "Data" tab and click on "Text to Columns"
3. In the "Convert Text to Columns Wizard", choose "Delimited" and click "Next"
4. In the next screen, uncheck all the delimiter options and click "Next"
5. In the next screen, select "Date" as the column data format, and choose "DMY" for the source format. Then select "YMD" for the destination format. Click "Finish" to complete the process.
This will convert the date format in Column A to yyyy-MM-dd format in a new column.
Mohamed ShifanRank #303 · 8.3K reputationPosted May 1, 2023, 6:14 AM EDT
Select all the cells and then change the date format.
Mohamed ShifanRank #303 · 8.3K reputationPosted May 1, 2023, 6:33 AM EDT
You have to convert to date format
Mohamed ShifanRank #303 · 8.3K reputationPosted May 1, 2023, 6:42 AM EDT
https://www.automateexcel.com/how-to/convert-string-to-date/
This url will help you to Convert String to Date in Excel