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.