Time Calculation

  • Thread starter Thread starter Gary
  • Start date Start date
G

Gary

Hi All,

I have a sheet to track the breaks of the team. in the last column i have
total break that is (In time - Out time).

now when a person enters Out time the total beak shows ###### because In
Time is still not there. I tried ISERROR but it didnt work. any ideas?
 
Not sure if this is what you are after:

You could Conditionally Format the cells with the Sign function
Example: Formula is =SIGN(C1)= -1
(Where C1 is your last column and the first row of subtraction results)

Then Format the cells with a solid black pattern
Instead of ########## you get a solid black cell...
Not sure if one is better than the other. Just a suggestion.
 
If(Or(InTime="",OutTime=""),"",OutTime-InTime)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 

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

Similar Threads


Back
Top