View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default Shift Result from Start Time Formula

With time in Col A the below formula will return the smallest

=SMALL(A:A,1)
'format it to time

=SMALL(A:A,2)
will return the 2nd smallest

If this post helps click Yes
---------------
Jacob Skaria


"Dan" wrote:

I am looking for a formula that will return "1st", "2nd" or "3rd" depending
on the start time of a shift. I am almost there but since there is no Else I
am having a hard time programming it with just And and If functions.

e.g. 7:25 returns 1st
15:42 returns 2nd
23:45 returns 3rd.

Thanks