Thread: time switch
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
bony_tony bony_tony is offline
external usenet poster
 
Posts: 76
Default time switch

assuming you've got =now() in cell A1;

=IF(AND(A1-ROUNDDOWN(A1,0)=0.5833333,A1-ROUNDDOWN(A1,0)<=0.625),B5,"")

Tony
AMP

wildauk wrote:
Hi, I would like to put live time in a cell (I think with NOW) and put in a
formula in say cell a5 that would show the contents of say cell b5 if it is
between 14:00 hrs and 15:00 hrs in the time cell, any ideas???
Thanks in advance, Barry.