ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   excel time function (https://www.excelbanter.com/excel-worksheet-functions/449425-excel-time-function.html)

Nitya Satheesh

excel time function
 
Hi,
I have a set of dates in one column and a set of different times in another.If the date is same , I need to check if there is a difference of 1 mi in the times. Can someone please help me.

Nitya

joeu2004[_2_]

excel time function
 
"Nitya Satheesh" wrote:
I have a set of dates in one column and a set of different
times in another.If the date is same , I need to check if
there is a difference of 1 mi in the times.


A concrete example might help us understand your requirements more
specifically.

If A1:A100 contains dates and B1:B100 contains times, and if you want to
check only adjacent times and return TRUE (difference of 1 min) and FALSE
(difference of more or less than 1 min), try the following starting in C2
and copying down through C100:

=(A2+B2-(A1+B1)=TIME(0,1,0))

Note: The outer parentheses are not required. But they might make the
intent of the formula easier to understand.



All times are GMT +1. The time now is 02:09 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com