Results 1 to 15 of 15

time difference - conditional formatting and fix

Threaded View

  1. #1
    Forum Contributor
    Join Date
    02-09-2014
    Location
    Kamnik, Slovenia
    MS-Off Ver
    Excel 2010
    Posts
    693

    time difference - conditional formatting and fix

    Hi,

    I have start/end cells for entering times on each days (with drop-down lists). In want to highlight end time of first day and start time of next day, if time difference between them is less than 11 hours. In my sample worksheet would that be cells C3 & D3. My current CF formula for that is :

    =IF(TEXT(D3-C3+(D3<C3);"hh:mm")<"11:00";"TRUE";"FALSE")
    First problem is that It only highlights one cell.

    Second problem are my formulas for calculating time difference for each day ( merged cells B4 & D4, in sample). If I leave start cell empty and end cell filled, It correctly calculates. But If start cell is filled and end cell is empty, It calculates wrong

    How can I fix this ?

    Thanks for help !!
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. conditional formatting and difference in time
    By Time to Learn in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-17-2013, 10:37 PM
  2. Replies: 2
    Last Post: 02-04-2013, 02:31 PM
  3. Excel 2007 : Time Formatting and getting a % difference
    By jesz1987 in forum Excel General
    Replies: 4
    Last Post: 12-16-2010, 05:51 AM
  4. Conditional Formatting Difference
    By excel328 in forum Excel General
    Replies: 2
    Last Post: 07-28-2010, 01:33 AM
  5. Conditional Formatting - Difference between dates
    By Gohan51D in forum Excel General
    Replies: 5
    Last Post: 03-14-2006, 06:10 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