Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 103
Default {h}:mm to display x hours and x minutes

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?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default {h}:mm to display x hours and x minutes

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


--
Biff
Microsoft Excel MVP


"Josh" wrote in message
...
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?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default {h}:mm to display x hours and x minutes

=A1 and format as [h]" hours "mm" minutes"
--
David Biddulph

"Josh" wrote in message
...
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?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting total minutes into hours and minutes in Excel colette Excel Worksheet Functions 11 December 26th 07 07:24 PM
Hours and minutes display as date in formula box Dave Excel Discussion (Misc queries) 13 July 28th 06 07:47 PM
how to change a decimal number (minutes) into hours and minutes? Erwin Excel Discussion (Misc queries) 2 November 5th 05 04:22 PM
add hours & minutes to other hours & minutes to receive total hou. Wes Excel Worksheet Functions 2 March 1st 05 11:33 PM
add column of minutes, show total in hours & minutes glider pilot Excel Worksheet Functions 1 December 30th 04 10:27 PM


All times are GMT +1. The time now is 10:07 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"