Time Completed

  • Thread starter Thread starter hawaiiham2000
  • Start date Start date
H

hawaiiham2000

I am trying to figure out a formula to use to show if a project is completed
on time. If the due time is 11pm and the project is completed at 9pm it
could show that it was on time by 2 hours; and if the project is not
completed until 1am, how could I show that it was 2 hours late? Any help
would be appreciated. Thanks.
 
Try this:
Enter start time in A1 and completed time in B1 (enter hours and minutes
seperated by :)
In C1 enter formula:
=IF(B1>A1,TEXT(B1-A1,"h:mm")&" late",TEXT(A1-B1,"h:mm")&" early")
Hope this helps
 
We are getting warmer... but if the due time is 11pm and it is completed at 1
am, we want that to be 2 hrs late, not 22 hrs early. Do we have to include a
date?
 
But why isn't it early? How does excel know you want it to be 2hrs late? A
simple solution would be to enter the date and time: Format the time input
cells to dd/mm/yy hh:mm. But be aware the formula will only calculate up to
23 hours 59 minutes.
 
Thanks so much! It shouldn't be later than 23 hrs. 59 min. so we're on the
right track. How could we convert it so it shows only minutes and have late
in negative minutes so that they can be added and averaged? Also, I
formatted the cells in the
format you recommended (dd/mm/yy hh:mm) but what would be an easy way to
enter the data?

Thanks for your patience!
 
You're right. I think a date has to be included.

This is the scenario:

The deadline is 11 p.m. each night. We want to figure the out the total
minutes late or early for each project and eventually then be able to Sum
those and come up with an average.
 
Back
Top