Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello,
I have a problem with counting periods in Excel. When I try to count (A1) 7-5-2007 8:00 and (B1) 10-06-07 8:00 the result is a period of 3:0:00 (dd:hr:min) (formula: B1-A1) and 34:00:00 (dd:hr:min) (formula: =INTEGER(B1-A1)&":"&TEKST(B1-A1;"uu:mm" ) Excel doesn't count over a month. Any solutions for my problem? Thanks |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Works fine for me, using your formula
=INT(B1-A1) returns 34 formatted as General to get the time use MOD(B1-A1,1) =INT(B1-A1)&":"&TEXT(MOD(B1-A1,1),"hh:mm") which would be TEKST(REST(B1-A1;1);"uu:mm") returns 34:00:00 if I change the time in A1 to 12:00 it returns 33:20:00 -- Regards, Peo Sjoblom "Eric" wrote in message ... Hello, I have a problem with counting periods in Excel. When I try to count (A1) 7-5-2007 8:00 and (B1) 10-06-07 8:00 the result is a period of 3:0:00 (dd:hr:min) (formula: B1-A1) and 34:00:00 (dd:hr:min) (formula: =INTEGER(B1-A1)&":"&TEKST(B1-A1;"uu:mm" ) Excel doesn't count over a month. Any solutions for my problem? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2002, MS Query and MSSQL View with periods | Excel Discussion (Misc queries) | |||
periods of time | New Users to Excel | |||
Counting consecutive periods | Excel Worksheet Functions | |||
13 periods | Charts and Charting in Excel | |||
File-Save is grayed out for periods of time in Excel 2003 | Excel Discussion (Misc queries) |