Results 1 to 8 of 8

Extract Date/Time to Date and Time

Threaded View

  1. #1
    Registered User
    Join Date
    07-02-2005
    Posts
    53

    Extract Date/Time to Date and Time

    Hi have this simple problem but I do not know the solution.

    In Cell A1 = 01/12/2008 12:00:00 AM

    I am trying to extract in cell A2 = 01/12/2008 and A3 = 12:00:00 AM.

    But I will end up having a string of numbers each time I try to right (A1,11).

    My end result is I will use the values in A3 if between 12am to 5am, assign a value in A4 as "Night Shift"

    A1 = 01/12/2008 12:00:00AM
    A2 = 01/12/2008
    A3 = 12:00:00Am
    A4 = if(And(A3>12,A3<5),"Night Shift","Day Shift")

    Thanks in advance for helping!
    Last edited by ernestgoh; 01-09-2010 at 02:53 PM.

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