Time Problem
Maybe you could use a formula:
=TEXT(A1,"d ""days"" hh ""hours"" mm ""minutes"" ss ""seconds""")
or
just give the cell a custom format of:
d "days" hh "hours" mm "minutes" ss "seconds"
If you really wanted separate cells, you could use a few formulas:
=int(a1)
=hour(a1)
=minute(a1)
=second(a1)
Thurlow wrote:
Having trouble converting decimal days to days, hours, minutes, & seconds.
For example, I would like to see:
16.4543 Days
become
16 Days
10 hours
54 minutes
12 seconds
Have tried using the RIGHT and CONVERT functions, but the RIGHT logic fails
if I have a whole number for days to start with (no places right of the
decimal).
Any thoughts?
--
Dave Peterson
|