"cliffbellis766@" wrote:
> .. Doing an annual leave calculator which gives as one its results the
> decimal figure of, for example, 33.5 days,
> i.e. thirty three and a half days.
> How can I convert this to read 33 days and 12 hours?
One way which might suffice ..
Assuming the results (33.5, etc) are in A2 down
Put in B2:
=IF(A2=0,"",IF(A2=INT(A2),INT(A2)&" days",INT(A2)&" days and
"&(A2-INT(A2))*24&" hours"))
Copy down
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--