Add or Subtract Time

S

Steved

Hello from Steved

1209:48 1211:01 = 1:13 is this formula B1-A1
1211:01 1209:48 = -1:13

Okay If you look at the above how do I put a formula in C1
that will reflect, A1 may be Less than B1 in this case it
will return 1:13 however if A1 is greater than B1 it will
return -1:13 is it possible for a If Argument please. Or
Can you please sugguest what Formula.

Thankyou.
 
E

Earl Kiosterud

Steved,

There isn't a question in here. Do you want 1:13 (positive) in either case?
If so, use:

=ABS(B1 - A1)
 
S

Steved

Hello Earl from Steved

Thankyou very much.

Yes this is what I asked, but If the sum =1:13 fine
but if sums =1:13 negative is it possible using your
formula =ABS(B1 - A1)to show as -1:13, my reasoning is that
other staff look at this file.

Thankyou
 
E

Earl Kiosterud

Steved,

You can switch to the 1904 date system, which allows negative time values.
Forget the ABS. Tools - Options - Calculation. If there are any dates in
your cells, they'll have to be corrected. This will affect all the sheets
in the workbook.
 
S

Steved

Thanks Earl
-----Original Message-----
Steved,

You can switch to the 1904 date system, which allows negative time values.
Forget the ABS. Tools - Options - Calculation. If there are any dates in
your cells, they'll have to be corrected. This will affect all the sheets
in the workbook.
--
Earl Kiosterud
mvpearl omitthisword at verizon period net
-------------------------------------------




.
 

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