Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,059
Default difference between two dates and before a certain time

"Jackajoo" wrote:
What formula can I use to show that the date/time in column 2
is no later than 08:00 the following day of the first column?


One way:

=IF(B1<=INT(A1+1)+"08:00", "no later", "later")

But note that returns "no later" even if B1 is the same day as A1 or even
some day before A1.

If you really meant to say that what a formula that returns "no later" if B1
is between midnight and 8:00 of the following day, then:

=IF(AND(INT(B1)=INT(A1+1), B1<=INT(A1+1)+"08:00", "no later", "earlier or
later")


----- original message -----

"Jackajoo" wrote in message
...
I have two columns of dates and I need to know if the 2nd column happened
before 8am of the second column date. So, I have 01/01/09 18:34 in the
first
column and in the second column I have 01/02/09 09:17. What formula can I
use to show that the date/time in column 2 is no later than 08:00 the
following day of the first column?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between 2 dates&time(format 0000), and excludes weekend YY san.[_2_] Excel Worksheet Functions 2 April 15th 09 02:40 AM
subtract the time difference from another time difference Dannigirl Excel Discussion (Misc queries) 3 September 30th 07 03:47 PM
Time difference calculations, daylight savings time, Excel Tim Excel Discussion (Misc queries) 1 December 28th 06 04:18 PM
Negative time should be allowed in Excel, eg time difference Bengt-Inge Larsson Excel Discussion (Misc queries) 2 October 13th 05 12:59 PM
HOURS DIFFERENCE IN TIME BETWEEN DIFFERENT DATES AND TIMES tankerman Excel Worksheet Functions 1 September 13th 05 04:31 PM


All times are GMT +1. The time now is 12:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"