Hi,
I Need Formula to Convert this Date Format 2023.02.28 to this 28-Feb-2023
Many Many Thanks
Hi,
I Need Formula to Convert this Date Format 2023.02.28 to this 28-Feb-2023
Many Many Thanks
No formula. Custom format dd-mmm-yyyy.
Hi Sir,
I tried this but it is not working.
I have attached sample file
Data-->Text to Columns-->Next-->Next-->Date-->YMD-->Finish
In column B
=--SUBSTITUTE(A1,".","/")
format as "dd-mmm-yyyy"
Copy/paste values (in B) then copy to A (or delete column A)
OR as per post #4.
Last edited by JohnTopley; 02-11-2023 at 06:28 AM.
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Select range, use Find (".") and Replace ("/"), then format the range to the desired date format.
It's a rather long and complicated formula; try this in cell B2:
=CONCATENATE(RIGHT($A1,LEN($A1)-FIND(".",$A1,FIND(".",$A1)+1)),"-",TEXT(DATE(LEFT($A1,FIND(".",$A1)-1),MID($A1,FIND(".",$A1)+1,FIND(".",REPLACE($A1,1,FIND(".",$A1),""))-1),RIGHT($A1,LEN($A1)-FIND(".",$A1,FIND(".",$A1)+1))),"MMM"),"-",LEFT($A1,FIND(".",$A1)-1))
Hope this helps!
An alternative is with Power Query
Power Query is a free AddIn for Excel 2010 and 2013, and is built-in functionality from Excel 2016 onwards (where it is referred to as "Get & Transform Data").Please Login or Register to view this content.
It is a powerful yet simple way of getting, changing and using data from a broad variety of sources, creating steps which may be easily repeated and refreshed. I strongly recommend learning how to use Power Query - it's among the most powerful functionalities of Excel.
- Follow this link to learn how to install Power Query in Excel 2010 / 2013.
- Follow this link for an introduction to Power Query functionality.
- Follow this link for a video which demonstrates how to use Power Query code provided.
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks