Formatting cells to show length of time in Days and hours

  • Thread starter Thread starter Forum Freak
  • Start date Start date
F

Forum Freak

Hi all

Is it possible to format cells to show length of time as "Days and Hours"?

I tried [d]:h (based on [h]:m) but this does not work. d:h gives a false
result if the value is a few months!

The majority of cells time value are around a couple of days but
occasionally some values are months or even over a year.

I do not want to format as "y:m:d:h" to cover every eventuality.

I am using excel2003

TIA

Kenny
 
Have you read a book on how Excel keeps days and times. I'll be glad to
charge you $150. to answer your question. You can have the answer for the
price of a $4 0 book.

tyro
 
Many thanks David - it worked a treat!

Kenny


David Biddulph said:
You could do something like =INT(A2)&" days "&TEXT(A2,"hh")&" hours"
--
David Biddulph

Forum Freak said:
Hi all

Is it possible to format cells to show length of time as "Days and
Hours"?

I tried [d]:h (based on [h]:m) but this does not work. d:h gives a false
result if the value is a few months!

The majority of cells time value are around a couple of days but
occasionally some values are months or even over a year.

I do not want to format as "y:m:d:h" to cover every eventuality.

I am using excel2003

TIA

Kenny
 

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