Thread: if question
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
puiuluipui puiuluipui is offline
external usenet poster
 
Posts: 468
Default if question

Thanks alot.

"FSt1" wrote:

hi
try this....
=IF(A2<B2,"Late " &TEXT(B2-A2,"hh:mm:ss"),"Early "&TEXT(A2-B2,"hh:mm:ss"))

regards
FSt1

"puiuluipui" wrote:

Hi, i have something like this

A B D
8:00:00 8:05:14 LATE 00:05:14
8:00:00 7:53:00 EARLY 00:07:00

I need the same formula to work for late and for early.
If i write something smaller than 8:00:00 to show early and the difference.
If i write something bigger than 8:00:00 to show late, and the diferences.
How can i do this?
Thaks in advance