ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   date & time formulas HELP !! (https://www.excelbanter.com/excel-programming/443095-date-time-formulas-help.html)

Mayte

date & time formulas HELP !!
 
Hi -
i have to find out how long did it take to solve a case. the formaul is
(time completed) - (time created) my problem is when files are closed at
midnight because of the format ... any ideas how to fix it???

Column A = time created
Column B = time completed
Column C = Duration (in hours only)

timeCreated timeCompleted Duration
04/07/2010 15:00:00 04/07/2010 00:00:00 should be 9:00:00

Cheers,
Mayte

Jackpot

date & time formulas HELP !!
 
04/07/2010 15:00:00 is bigger than 04/07/2010 00:00:00

Try

04/07/2010 23:59:59 in A1 and 00:00:01 in cell B1 and try formula A1+B1

04/07/2010 23:59:59 is followed by 04/08/2010 00:00:00


So the below formula should work fine.
=B1-A1

and format the formula cell to [h]:mm:ss


"Mayte" wrote:

Hi -
i have to find out how long did it take to solve a case. the formaul is
(time completed) - (time created) my problem is when files are closed at
midnight because of the format ... any ideas how to fix it???

Column A = time created
Column B = time completed
Column C = Duration (in hours only)

timeCreated timeCompleted Duration
04/07/2010 15:00:00 04/07/2010 00:00:00 should be 9:00:00

Cheers,
Mayte


Mayte

date & time formulas HELP !!
 
it wooooooooooooorks!!!!

thanks mate!


All times are GMT +1. The time now is 10:19 AM.

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