Thread: if question
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default if question

One mo

=IF(A2<B2,"Late ","Early ")&TEXT(ABS(A2-B2),"hh:mm:ss")



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


--

Dave Peterson