+ Reply to Thread
Results 1 to 2 of 2

Hours in gnatt spanning midnight

  1. #1
    Registered User
    Join Date
    07-15-2009
    Location
    Evercreech
    MS-Off Ver
    Excel 2003
    Posts
    2

    Hours in gnatt spanning midnight

    Hi All, can someone help please?

    I am making a gnatt chart for daily planning purposes, the format is hours i'm using conditional formatting to show the duration. It works fine apart from when a duration starts before midnight and ends afterwards, at which point anything past midnight will not show.

    =AND(W$6>=B$8, W$6<=C$8)

    W=00:00, B=start time, C=end time
    Last edited by NBVC; 07-15-2009 at 09:58 AM. Reason: added formula from duplicate post

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,681

    Re: Hours in gnatt spanning midnight

    Try

    =(W$6>=B$8)+(W$6<=C$8)+C$8<B$8)=2

+ 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