+ Reply to Thread
Results 1 to 2 of 2

Extracting Hour from M/D/Y hh:mm

  1. #1
    Registered User
    Join Date
    08-27-2003
    Location
    Seattle, Washington
    Posts
    17

    Extracting Hour from M/D/Y hh:mm

    I import a data file from another program with the date and time in the format M/DD/YYYY hh:mm. I need to extract the Hour from that field. The Hour function has worked on this type of data previously (from the same source). Now using =Hour(cell) returns 1/0/1900 0:00.

    Attached is a sample portion of the file.

    Your assistance would be appreciated.
    Attached Files Attached Files
    Best regards,
    Lram

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Extracting Hour from M/D/Y hh:mm

    Try...

    =MOD(A5,1)

    and format as time
    HTH
    Regards, Jeff

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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