+ Reply to Thread
Results 1 to 3 of 3

Change part of date format

Hybrid View

  1. #1
    Registered User
    Join Date
    06-29-2020
    Location
    Harriman, NY
    MS-Off Ver
    Excel 365 Desktop
    Posts
    24

    Change part of date format

    Hello!

    I am a beginner when it comes to creating formulas in Excel.

    I have a column which consists of date and time in the same cell.

    Original data:
    2015-07-25 00:00:00 UTC

    What I am trying to do is come up with a formula to change the date format to MM/DD/YYYY and not use the time stamp at all.

    New format after formula:
    7/25/2015

    Any insights will be much appreciated!

    Thank you so much in advance!

    Carol
    Last edited by Carol Diedolf; 10-27-2020 at 03:44 PM.

  2. #2
    Registered User
    Join Date
    06-29-2020
    Location
    Harriman, NY
    MS-Off Ver
    Excel 365 Desktop
    Posts
    24

    Re: Change part of date format

    I forgot to mention that the original data is in General format - not date format.

    Thanks!

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,108

    Re: Change part of date format

    is it seen as a date in the cell , if so , then you should be able to change format to just the date
    or if text , you can use a formula in another column BUT not in the same column without VBA
    =Left(cell, 10)
    should extract just the date
    =DATEVALUE(LEFT(A1,10))
    then format the cell to how you want to display the date

    then you could copy and paste value back to the original column
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ 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. [SOLVED] Need to get time format without the Date part
    By rpinxt in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 10-08-2019, 12:46 PM
  2. Change format to date format if cell populated with a date
    By Lbelden78 in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 07-22-2019, 08:26 AM
  3. Excel wants to change part of the formula to a date?
    By Rickthefish in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-08-2016, 03:00 PM
  4. [SOLVED] change format of part of column
    By stielo in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-01-2015, 09:50 AM
  5. [SOLVED] Splitting date fails for a part of date column due to different cell format
    By Moriexcel in forum Excel Programming / VBA / Macros
    Replies: 32
    Last Post: 11-21-2014, 01:00 PM
  6. Not able to change date format into proper excel date format
    By excel5111987 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-18-2011, 08:19 AM
  7. Simple Question, display only part of a date in Number format
    By DB Explorer in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-17-2006, 07:50 AM

Tags for this Thread

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