+ Reply to Thread
Results 1 to 3 of 3

I need a box to tell me if I have enough hours to complete my task by turning green or red

  1. #1
    Forum Contributor
    Join Date
    02-02-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    249

    I need a box to tell me if I have enough hours to complete my task by turning green or red

    I have a formula that tells me how long it will take to complete my task. I need it to tell whether or not I will be able to finish before a certain time.

    Say it is 1 pm right now.
    The task take 3 hours to complete
    I need it done at 6 pm b/c that is when I will ship it.

    I need the box that says 3 hours to light up in green that I can finish before 6 pm.
    If the task would take longer than being ready at 6 pm then it would turn red.

    Thanks.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: I need a box to tell me if I have enough hours to complete my task by turning green or

    You can do this with Conditional Formatting.

    Give this a try...

    1. highlight the range you want to apply the conditional formatting to (the cell with 3 hours in it)
    2. on the home tab, styles, select CF
    3. select new rule, select use formula
    4. enter =MOD(NOW(),1)+A1<=0.75

    A1 contains the 3 hours (in TIME format)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    02-02-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    249

    Re: I need a box to tell me if I have enough hours to complete my task by turning green or

    j4 amount of parts - 200 (B4 +c4 = j4)
    q4 is finished goods - 0
    r4 parts per hour 105

    s4 (((B4+C4)-Q4)/R4)*60/60 which is 1.9

    200 - 0 /105 * 60 / 60 to get how many hours it will take. I want to put in T4 when I need to have it by. so it is due by 3 pm. So from now to 3 pm can I do 1.9 hours of work to finish it. If I can it will turn green or not then it will turn red.

    hope this helps

+ 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. Replies: 1
    Last Post: 08-17-2012, 07:33 AM
  2. turning ranges red, amber or green
    By tinkerbelle in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-10-2008, 09:36 AM
  3. task complete macro
    By B1123 in forum Excel General
    Replies: 0
    Last Post: 06-07-2007, 08:48 AM
  4. Excel cannot complete this task
    By starguy in forum Excel General
    Replies: 7
    Last Post: 04-14-2006, 06:52 AM
  5. Sharing Worksheet cannot complete task
    By Spirit130 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-06-2005, 09:05 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