{h}:mm to display x hours and x minutes

J

Josh

i want to make a cell display text and numbers. i want to take time from one
cell, say A1 is 227:23 as [h]:mm and make it say in A2 227 hours 23 minutes.
how can i do this?
 
T

T. Valko

Try this:

In chunks so line wrap doesn't break at the needed spaces:

=INT(A1*24)&" hour"&IF(INT(A1*24)=1," ","s ")&MINUTE(A1)
&" minute"&IF(MINUTE(A1)=1,"","s")
 

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

Top