adding time

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am just learning how to add time but I need to add time from pm to am.
When I do the basic formula, it obviously gives me a negative number. Is
there a different formula so i can have a positive answer. Please help. I
am using Microsoft Excel 2003
 
If you are ADDING, then it won't give a negative number. If you are
SUBTRACTING, then you may need to change =B1-A1 to either
=MOD(B1-A1,1) or
=(B1-A1)+(B1<A1)
 
What is the basic formula?

If I add time I never get a negative result, only if I subtract

If you meant that you subtract end_time minus start_time then you can use

=End-Start+(End<Start)

or

=MOD(End-Start,1)
 

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

Back
Top