I have 2 columns of dates, say 17/03/2011 09:08 and 17/03/2011 09:36.
I'm trying to figure out a formula that shows "ok" if the 2nd date is 30 minutes either side of the 1st date, but can't quite figure it out.
=IF(MINUTE(DATE2-DATE1)>30,"OK","NOT OK")
I've got so far as the above but this obviously doesn't factor in hours or days :s
Can someone help please?
I'm trying to figure out a formula that shows "ok" if the 2nd date is 30 minutes either side of the 1st date, but can't quite figure it out.
=IF(MINUTE(DATE2-DATE1)>30,"OK","NOT OK")
I've got so far as the above but this obviously doesn't factor in hours or days :s
Can someone help please?