+ Reply to Thread
Results 1 to 4 of 4

Colour Coding Cells If Contracted Hours Not Met

  1. #1
    Registered User
    Join Date
    08-06-2011
    Location
    North West
    MS-Off Ver
    Excel 2003
    Posts
    25

    Colour Coding Cells If Contracted Hours Not Met

    Hi,
    I want to create a time card which will generate colour coded warning if someone works either more, or less than their weekly contracted minuets.

    Required:

    If someone works less than 2,250 minutes (37.5 Hours), then wherever that employees name appears in the 5 time cards, the cell glows RED
    If someone works more than 2,250 minutes (37.5 Hours), then cell glows GREEN
    If someone works 2,250 minutes (37.5 Hours) exactly, then cell remains unchanged

    The cell to be coloured is the cell in column B containing the name

    Cells which have been greyed out will be hidden from view

    Please see attached sample sheet.

    Many Thanks,

    Sean
    Attached Files Attached Files
    Last edited by suma; 01-03-2012 at 07:25 PM.

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Colour Coding Cells If Contracted Hours Not Met

    Use conditional formatting with formulae of

    =SUMIF($X:$X,$X6,$AH:$AH)<2250

    and

    =SUMIF($X:$X6,$AH:$AH)>2250

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Colour Coding Cells If Contracted Hours Not Met

    Hi

    If i understoond well your point, then AH6>2250=1ST CONDITION and AH6<2250, IS THE SECOND CONDITION.

    Hope to helps you.
    Attached Files Attached Files
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    08-06-2011
    Location
    North West
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: Colour Coding Cells If Contracted Hours Not Met

    Thanks for your sugestions. Unfortunatly, I uploaded the wrong version of the sheet. I have replaced it with the correct sheet, and I would be grateful if you could take another look.

    As one employee could be moved from one machine to another half way through a shift, what I really need is the color coding to apply to the total mins worked through the week, being 2250 mins.

    Thanks

+ Reply to Thread

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