+ Reply to Thread
Results 1 to 3 of 3

Convert text date to Excel format

  1. #1
    Registered User
    Join Date
    12-03-2020
    Location
    England
    MS-Off Ver
    2016
    Posts
    2

    Convert text date to Excel format

    Hi all,

    Is there a quick way to convert Thursday, December 3, 2020 11:03:18 AM GMT to dd/mm/yyyy?

    Thanks

    Mitesh

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Convert text date to Excel format

    one possible option - based on UK settings and assuming you always have a time zone etc

    B1:
    =REPLACE(SUBSTITUTE(LEFT(A1,LEN(A1)-4),",",MID(A1,FIND(",",A1)+1,4),2),1,MIN(INDEX(FIND(ROW($1:$9),$A1&123456789),0))-1,"")+0
    where A1 holds your string
    format resulting datetime value as per requirements using standard formatting options

  3. #3
    Registered User
    Join Date
    12-03-2020
    Location
    England
    MS-Off Ver
    2016
    Posts
    2

    [Solved] Re: Convert text date to Excel format

    XLent, This is perfect!

    Thank you.

+ 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. Replies: 2
    Last Post: 11-10-2015, 10:51 AM
  2. [SOLVED] Convert 1 List into 5 and Convert 5 lists into 1
    By brainzlp in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-25-2015, 01:54 PM
  3. Replies: 1
    Last Post: 12-15-2014, 08:46 PM
  4. Convert Cell Formula to Convert Text to VBA Code
    By PY_ in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-08-2014, 05:51 PM
  5. [SOLVED] convert decimal number to time : convert 1,59 (minutes, dec) to m
    By agenda9533 in forum Excel General
    Replies: 22
    Last Post: 09-15-2013, 10:43 AM
  6. Convert Text Dates, Perform Calculation, Convert back to Text
    By Orada in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-13-2012, 05:25 PM
  7. what function to convert convert 34234 to 99999
    By archiles in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-04-2008, 11:26 PM

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