I need help with a formula to calculate time. I am working with a table that shows a total amount of time worked by an individual during a particular day, which I total the sum from everyone. We also have a goal per day of the amount of hours we are working and want to have a formula to show the excess of hours worked on the positive side. Right now I am just using the ABS function to calculate which does not do what I want exactly. I want to apply some conditional formatting based on a scale, which works fine up to the goal mark, but then one it goes past the goal, it shows at the bottom of the scale.
<b>Daily Summary</b><br /><br /><table border="1" cellspacing="0" cellpadding="0" style="font-family:Arial,Arial; font-size:11pt; background-color:#ffffff; padding-left:2pt; padding-right:2pt; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:146px;" /><col style="width:119px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >B</td><td >C</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >32</td><td style="background-color:#969696; font-weight:bold; text-align:center; ">Totals</td><td style="background-color:#969696; font-weight:bold; text-align:center; ">74:41</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >33</td><td style="background-color:#ffff00; font-weight:bold; text-align:center; ">Daily Goals</td><td style="background-color:#ffff00; font-weight:bold; text-align:center; ">55:00</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >34</td><td style="background-color:#99cc00; font-weight:bold; text-align:center; ">Remaining</td><td style="background-color:#f8696b; font-weight:bold; text-align:center; ">19:41</td></tr></table><br /><table style="font-family:Arial; font-size:10pt; border-style: groove ;border-color:#00ff00;background-color:#fffcf9; color:#000000; "><tr><td ><b>Spreadsheet Formulas</b></td></tr><tr><td ><table border = "1" cellspacing="0" cellpadding="2" style="font-family:Arial; font-size:9pt;"><tr style="background-color:#cacaca; font-size:10pt;"><td >Cell</td><td >Formula</td></tr><tr><td >C32</td><td >=SUM(C9:C31)</td></tr><tr><td >C33</td><td >=$I$3</td></tr><tr><td >C34</td><td >=ABS(C33-C32)</td></tr></table></td></tr></table> <br /><br /><span style="font-family:Arial; font-size:9pt; font-weight:bold;background-color:#ffffff; color:#000000; ">Excel tables to the web >> </span>
<b>Daily Summary</b><br /><br /><table border="1" cellspacing="0" cellpadding="0" style="font-family:Arial,Arial; font-size:11pt; background-color:#ffffff; padding-left:2pt; padding-right:2pt; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:146px;" /><col style="width:119px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >B</td><td >C</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >32</td><td style="background-color:#969696; font-weight:bold; text-align:center; ">Totals</td><td style="background-color:#969696; font-weight:bold; text-align:center; ">74:41</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >33</td><td style="background-color:#ffff00; font-weight:bold; text-align:center; ">Daily Goals</td><td style="background-color:#ffff00; font-weight:bold; text-align:center; ">55:00</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >34</td><td style="background-color:#99cc00; font-weight:bold; text-align:center; ">Remaining</td><td style="background-color:#f8696b; font-weight:bold; text-align:center; ">19:41</td></tr></table><br /><table style="font-family:Arial; font-size:10pt; border-style: groove ;border-color:#00ff00;background-color:#fffcf9; color:#000000; "><tr><td ><b>Spreadsheet Formulas</b></td></tr><tr><td ><table border = "1" cellspacing="0" cellpadding="2" style="font-family:Arial; font-size:9pt;"><tr style="background-color:#cacaca; font-size:10pt;"><td >Cell</td><td >Formula</td></tr><tr><td >C32</td><td >=SUM(C9:C31)</td></tr><tr><td >C33</td><td >=$I$3</td></tr><tr><td >C34</td><td >=ABS(C33-C32)</td></tr></table></td></tr></table> <br /><br /><span style="font-family:Arial; font-size:9pt; font-weight:bold;background-color:#ffffff; color:#000000; ">Excel tables to the web >> </span>