How do I compare two times to see if one is "late" or "on time"?

G

Guest

I need to compare project 'start time' to project 'deadline time' for daily
projects. The deadline time for Sunday through Friday is the same, 12:00 AM,
but on Saturday the deadline is 12:15 AM. I need to be able to show if the
project is 'on time'--that is on or before the deadline time-- or 'late',
that is after the deadline time.

Any help?
 
B

Bob Phillips

=IF(A2>IF(WEEKDAY(TODAY())=6,TIME(12,15,0),TIME(12,0,0)),"Late","OK")

where A2 is the start time
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top