counting periods Excel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top