This is a formula that is in another part of the worksheet before minutes are converted to hundreths:=ROUND(B9/(LOOKUP(MINUTE(B9),{0,15;8,1;23,15;38,1;53,15})/1440),0)*(LOOKUP(MINUTE(B9),{0,15;8,1;23,15;38,1;53,15})/1440) The rule I am trying to capture is if an employee sigs out 7minutes(or .12) before or after the hour the time is rounded to the nearest hour in hundreths.