+ Reply to Thread
Results 1 to 11 of 11

Remove time from date

  1. #1
    Forum Contributor
    Join Date
    05-09-2015
    Location
    Thailand
    MS-Off Ver
    MS365
    Posts
    308

    Remove time from date

    Hi Guru

    how i can use formula to remove time from this date format. I tried to use =Text(cell,"mm/dd/yyyy") but not run.
    Please help.

    9/9/2022, 12:17 AM

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Remove time from date

    Are these real dates? If so, then:

    =INT(cell)

    and format as a short date.

    However, I don;t think they are, so try this:

    =LEFT(cell,FIND(",",cell)-1)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    05-09-2015
    Location
    Thailand
    MS-Off Ver
    MS365
    Posts
    308

    Re: Remove time from date

    Hi, Align
    Not work for both formula.
    Attached Files Attached Files

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Remove time from date

    with a bit modification then format as date

    9/9/2022, 12:17 AM
    09/09/2022
    =DATEVALUE(LEFT(G3,FIND(",",G3)-1))

  5. #5
    Valued Forum Contributor
    Join Date
    06-23-2021
    Location
    Romania
    MS-Off Ver
    2021, 365 v 2208
    Posts
    722

    Re: Remove time from date

    You can use Text to columns with comma delimiter and keep only a column with date
    Diana Tanase


    If the solutions offered helped you to solve your problem, then mark the thread as SOLVED (thread tools in the top menu) and you can click on * to add reputation to those who helped you, as a way to say thank you !

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Remove time from date

    Quote Originally Posted by kimudao View Post
    Hi, Align
    Not work for both formula.
    Well, that's because you didn't change 'cell' to the correct reference!!!

    =LEFT(A2,FIND(",",A2)-1)
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    05-09-2015
    Location
    Thailand
    MS-Off Ver
    MS365
    Posts
    308

    Re: Remove time from date

    ้Hi, All
    Text to column is done but show different format between mm-dd , mm/dd

    For this formula is done but some cell show error "#VALUE!"
    9/9/2022, 12:17 AM
    09/09/2022
    =DATEVALUE(LEFT(G3,FIND(",",G3)-1))

    For Align
    i tried to change format to Short date.
    i will tried your file again.
    Thanks.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Remove time from date

    Try this:

    =DATE(MID(A2,FIND(",",A2)-4,4),LEFT(A2,FIND("/",A2)-1),SUBSTITUTE(MID(A2,FIND("/",A2)+1,2),"/",""))
    Attached Files Attached Files

  9. #9
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Remove time from date

    so try Power Query (XL2010 require Power Query add-in)

    Please Login or Register  to view this content.
    Attached Files Attached Files

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Remove time from date

    or shorter

    Please Login or Register  to view this content.
    Attached Files Attached Files

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Remove time from date

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

+ 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. excel remove time from date
    By kisanvikas2015 in forum Excel General
    Replies: 12
    Last Post: 07-15-2015, 12:22 PM
  2. [SOLVED] Remove time from date macro
    By jockey in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-14-2012, 06:41 AM
  3. Remove time portion in date
    By angie.chang in forum Excel General
    Replies: 2
    Last Post: 06-13-2012, 12:19 AM
  4. Remove Time on Date/Time Stamp
    By pinoydarv in forum Excel General
    Replies: 8
    Last Post: 11-02-2011, 08:47 AM
  5. Replies: 3
    Last Post: 04-22-2009, 11:49 AM
  6. Remove Time Element of a Date
    By jennie in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 09-06-2005, 12:05 PM
  7. [SOLVED] Remove time from a date and time field? Format removes the displa.
    By oaoboc in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-16-2005, 03:35 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