+ Reply to Thread
Results 1 to 8 of 8

Need Formula to Convert this Date Format 2023.02.28 to this 28-Feb-2023

  1. #1
    Registered User
    Join Date
    07-10-2022
    Location
    Canada
    MS-Off Ver
    2021
    Posts
    3

    Need Formula to Convert this Date Format 2023.02.28 to this 28-Feb-2023

    Hi,

    I Need Formula to Convert this Date Format 2023.02.28 to this 28-Feb-2023

    Many Many Thanks

  2. #2
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,287

    Re: Need Formula to Convert this Date Format 2023.02.28 to this 28-Feb-2023

    No formula. Custom format dd-mmm-yyyy.

  3. #3
    Registered User
    Join Date
    07-10-2022
    Location
    Canada
    MS-Off Ver
    2021
    Posts
    3

    Re: Need Formula to Convert this Date Format 2023.02.28 to this 28-Feb-2023

    Hi Sir,
    I tried this but it is not working.

    I have attached sample file
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,287

    Re: Need Formula to Convert this Date Format 2023.02.28 to this 28-Feb-2023

    Data-->Text to Columns-->Next-->Next-->Date-->YMD-->Finish
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,146

    Re: Need Formula to Convert this Date Format 2023.02.28 to this 28-Feb-2023

    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.

  6. #6
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,039

    Re: Need Formula to Convert this Date Format 2023.02.28 to this 28-Feb-2023

    Select range, use Find (".") and Replace ("/"), then format the range to the desired date format.

  7. #7
    Registered User
    Join Date
    02-09-2020
    Location
    United States
    MS-Off Ver
    Microsoft Office Home and Business 2021
    Posts
    19

    Re: Need Formula to Convert this Date Format 2023.02.28 to this 28-Feb-2023

    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!

  8. #8
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,855

    Re: Need Formula to Convert this Date Format 2023.02.28 to this 28-Feb-2023

    An alternative is with Power Query

    Please Login or Register  to view this content.
    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").

    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Call in the Cavalry 2023
    By Glenn Kennedy in forum The Water Cooler
    Replies: 81
    Last Post: 01-13-2024, 12:55 AM
  2. Replies: 1
    Last Post: 02-03-2023, 04:54 PM
  3. After Excel January 2023 update VBA Macro not working
    By tommyjon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-19-2023, 11:34 PM
  4. Run-Time Error 2023
    By SKINRIP in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-23-2022, 09:52 AM
  5. [SOLVED] Can't Scroll to Year 2023
    By BobBrown60 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 05-28-2021, 03:23 PM
  6. [SOLVED] Error 2023: How to identify cell in For Each Loop?
    By VAer in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-12-2018, 12:21 AM
  7. [SOLVED] Error 2023 - triggered by variable - Cant find mistake
    By Taktiker in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-22-2012, 09:11 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1