View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Rick Rothstein Rick Rothstein is offline
external usenet poster
 
Posts: 5,934
Default Shift Result from Start Time Formula

The FALSE part of an IF function acts as the "else" in a programmer's If
statement. If you would tell us the range cut-offs, I'm sure someone here
would show you the formula to use.

--
Rick (MVP - Excel)


"Dan" wrote in message
...
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