View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
David Biddulph[_2_] David Biddulph[_2_] is offline
external usenet poster
 
Posts: 8,651
Default Cell value determined by the current time and date

Wouldn't that give 3rd shift for times up to 12:59:59.999 ?
You could try
=IF(MOD(NOW(),1)<=0.5,"3rd Shift","1st Shift")
--
David Biddulph

"Jacob Skaria" wrote in message
...
=IF(HOUR(NOW())<=12,"3rd Shift","1st Shift")

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


"jschae" wrote:

I need a cells value to be displayed depending on the what the current
time
of day it is. If the current time is between midnight and noon, then I
want
the cell to equal "3rd Shift". If not, then the cell should be "1st
Shift".
Any ideas on the best way to accomplish this?