+ Reply to Thread
Results 1 to 2 of 2

Format cells problem with separating Date and Time

  1. #1
    Registered User
    Join Date
    03-13-2009
    Location
    London, England
    MS-Off Ver
    Excel 2016
    Posts
    98

    Format cells problem with separating Date and Time

    in Cell A1, is a field containing Date and Time. I want to be able to separate the date and time and display in another cell. I used the functions Left and Right to separate them and then format the cells to display it in date and time format individually

    Cell C1=40350 is the numerical value of the date 21/06/2010
    Cell C2=.375 is the numerical value of the time 09:00

    However I cannot apply format cells on these cells to get it to display data and time.
    Attached Files Attached Files

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,601

    Re: Format cells problem with separating Date and Time

    You can:

    =A1 formated as date and in other cell formated as time

    or this

    =INT(A1) formated as date
    =A1-INT(A1) OR =MOD(A1;INT(A1)) formated as time

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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