ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Is it possible? (https://www.excelbanter.com/excel-worksheet-functions/7785-possible.html)

Daniel

Is it possible?
 
I have 3 columns of times in the hh:mm:ss format. The first column (A1) is
time recieved, the second is time staged (A2, usually blank), and the third
(A3) is time arrived. Is it possible to have a formula that will calculate
elapsed time like:

In A4 (if A2 is not blank than - A1, if it is blank than A3-A1)

I have tried many different examples that I have found on here, but with no
luck. Thank You!!
--
Daniel

Frank Kabel

Hi
do you mean
=IF(A2="",A3-A1,A2-A1)

--
Regards
Frank Kabel
Frankfurt, Germany

Daniel wrote:
I have 3 columns of times in the hh:mm:ss format. The first column
(A1) is time recieved, the second is time staged (A2, usually blank),
and the third (A3) is time arrived. Is it possible to have a formula
that will calculate elapsed time like:

In A4 (if A2 is not blank than - A1, if it is blank than A3-A1)

I have tried many different examples that I have found on here, but
with no luck. Thank You!!




Daniel

Thank You Frank, it worked!!

"Frank Kabel" wrote:

Hi
do you mean
=IF(A2="",A3-A1,A2-A1)

--
Regards
Frank Kabel
Frankfurt, Germany

Daniel wrote:
I have 3 columns of times in the hh:mm:ss format. The first column
(A1) is time recieved, the second is time staged (A2, usually blank),
and the third (A3) is time arrived. Is it possible to have a formula
that will calculate elapsed time like:

In A4 (if A2 is not blank than - A1, if it is blank than A3-A1)

I have tried many different examples that I have found on here, but
with no luck. Thank You!!






All times are GMT +1. The time now is 07:19 PM.

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