View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Randy Randy is offline
external usenet poster
 
Posts: 213
Default Another Time Calulation

Ok...first Thanks to JLatham for my earlier question! Now I have another one...

How would I go about doing this...I am calulating time with this formula:
=IF(D16<C16,1-ABS(D16-C16),D16-C16) works great (thanks again JLatham)...

Senarioa A: I get the reults form the above formlua in cell F16...which for
this example lets say is 2:00 (11:00 PM to 1:00 AM = 2:00)

In cell F15 I would like to state this: If cell F16 (above) is less than (<)
2:00, subtract the value in cell F16 from 2:00. So in other words, something
like this...=IF(F16<2, F16-2)....I just can't seem to get the time format
correct in this formula.

Any suggestins again will be greatly appreciated. Thank you in advance for
your time.
--
Randy Street
Rancho Cucamonga, CA