+ Reply to Thread
Results 1 to 2 of 2

If statement off cells that are time formatted

  1. #1
    Registered User
    Join Date
    06-18-2012
    Location
    Philadelphia
    MS-Off Ver
    Excel 2007
    Posts
    14

    If statement off cells that are time formatted

    I have to build an "IF" statement off time card punches. Its a pain in the *** and I figured Id come on here and look for help.

    Below is an example of what I am working on. I would need the if statement to analyze the punches. Specifically something that says "if,D2(CLOCK OUT
    CELL)<5:00PM,"PICKUP","DROPOFF".
    Trying to see the history of deliveries....

    Hopefully someone may be able to assist as I keep getting errors....


    Date Clock In In Code Clock Out Out Code
    Monday, August 10, 2015 8:03AM 4:37PM
    Tuesday, August 11, 2015 9:06AM 5:45PM
    Wednesday, August 12, 2015 9:37AM 5:52PM
    Thursday, August 13, 2015 8:09AM 4:44PM
    Friday, August 14, 2015 9:13AM 5:29PM

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: If statement off cells that are time formatted

    Does
    D2 contain TIME only, or is it Date+Time ?

    This will return TRUE if it's time only, False if its both
    =AND(ISNUMBER(D2),D2<1)

+ 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. All empty cells in the spreadsheet formatted as time
    By imakosov in forum Excel General
    Replies: 2
    Last Post: 12-10-2014, 09:02 PM
  2. AUTO SUM will not work with cells formatted as time
    By Vindauga in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-09-2014, 01:22 PM
  3. [SOLVED] Calculating time differences with pre formatted cells
    By kmahesh in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-08-2014, 02:23 AM
  4. [SOLVED] IF Statements Involving Time Formatted Cells
    By excelarator in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-07-2013, 12:41 PM
  5. How to totalise time formatted cells
    By olafurbj in forum Excel General
    Replies: 13
    Last Post: 09-16-2011, 12:32 PM
  6. Nested If Statement using Time formatted cells
    By tcowen61 in forum Excel General
    Replies: 5
    Last Post: 09-04-2011, 05:52 AM
  7. Add values to time formatted cells
    By Chutney in forum Excel General
    Replies: 1
    Last Post: 11-30-2009, 07:52 AM

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