Results 1 to 7 of 7

Conditional Formatting using midnight

Threaded View

  1. #1
    Registered User
    Join Date
    08-30-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    6

    Conditional Formatting using midnight

    Hi All, Hoping I can get some help here. I have successfully used this forum many times for answers but am having trouble with this one so thought I best post my own question.

    I am trying to use conditional formatting for employee's shift hours. If they work between 22:00 to midnight they get 1.25 penalty rates. And if they work between Midnight to 7am they get 1.50 penalty.

    I am basically trying to highlight cells a particular colour if an end time finishes between specific times as per below. This is so Managers can clearly see who is working at what penalties however I am having trouble as it runs through midnight.

    This is the conditions I am after.
    Between 22:15 to 00:00 = Highlighted Red
    Between 00:15 to 6:45 = Highlighted Yellow
    Between 7:00 to 22:00 = no formatting required

    As per attached example, I can only get between 22:15 to 23:45 to work. Not sure if I am on the right track or completely off the mark!

    It would be greatly appreciated if anyone has some answers for me.

    Thanks
    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. Opening xlsm files with conditional formatting opens with removed conditional formatting
    By Martijn.Steenbakker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 05:38 AM
  2. Replies: 1
    Last Post: 09-20-2013, 06:23 PM
  3. Replies: 4
    Last Post: 01-11-2012, 07:59 PM
  4. [SOLVED] Conditional Formating Time FunctionOver Midnight
    By AlexRoberts in forum Excel General
    Replies: 1
    Last Post: 10-31-2010, 05:32 AM
  5. Formatting time after midnight
    By Jessica.Bush in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-09-2010, 04:26 AM

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