View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default Date/Time Question - After 5:30 PM?

Roger either didn't notice the date or didn't think it was part of the same
cell:

=A1<=TIME(17,30,0)
becomes
=mod(a1,1)<=TIME(17,30,0)

=mod(a1,1)
will return just the time in that cell.

=int(a1)
will return just the date.

porter444 wrote:

Doesn't seem to be working.
--
If my posting was helpful, please click the "Yes" button.

ROCK ON!,

Scott

"porter444" wrote:

I am trying to determine if orders are being sent to my fulfilment center
after the designated cut-off time of 5:30 PM.

I have a date/time field that contains the date and time the order was
transmitted.

Ex: 3/9/09 5:39 PM

I'd like to have a worksheet function that lets me know TRUE or FALSE if the
time of order transmit if before 5:30 PM on any given day.

Thanks in advance for your help.

Sincerely,

Scott


--

Dave Peterson