A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Converting a number to hours and minutes



 
 
Thread Tools Display Modes
  #1  
Old April 2nd, 2009, 02:48 PM
dslocum dslocum is offline
Experienced Member
 
First recorded activity by OfficeFrustration: Jul 2005
Location: Wixom, MI
Posts: 74
Default Converting a number to hours and minutes

Sorry, but I couldn't find exactly what I was looking for in any previous thread.
I am using Excel 2007 on a Vista Business box.

I need to simply convert a raw number of minutes into Hours:Minutes format.
We want to monitor the length of time spent on paticular tasks throughout the day. From a drop-down list the end-user selects the Task Category and then Tabs to the adjacent cell and manually enters the number of minutes it took to perform the task. The end-user repeats this process throughout the day for each task.
I have use a SumIf function to track the total number of minutes for each task available on the drop-down listing. I need to convert these SUMs to hh:mm. Example: 120 minutes would return 2:00 and 126 would returen 2:06. Likewise, 45 would return 0:45.
Is this possible?

d.
  #2  
Old April 2nd, 2009, 04:47 PM posted to microsoft.public.excel.worksheet.functions
Alan
external usenet poster
 
Posts: 431
Default Converting a number to hours and minutes

Divide the minutes by 1440 and format the cell as Time,

=126/1440 formatted as time = 2:06

Regards,
Alan.
"dslocum" wrote in message
...

Sorry, but I couldn't find exactly what I was looking for in any
previous thread.
I am using Excel 2007 on a Vista Business box.

I need to simply convert a raw number of minutes into Hours:Minutes
format.
We want to monitor the length of time spent on paticular tasks
throughout the day. From a drop-down list the end-user selects the
Task Category and then Tabs to the adjacent cell and manually enters
the number of minutes it took to perform the task. The end-user
repeats this process throughout the day for each task.
I have use a SumIf function to track the total number of minutes for
each task available on the drop-down listing. I need to convert these
SUMs to hh:mm. Example: 120 minutes would return 2:00 and 126 would
returen 2:06. Likewise, 45 would return 0:45.
Is this possible?

d.




--
dslocum


  #3  
Old April 2nd, 2009, 04:53 PM posted to microsoft.public.excel.worksheet.functions
Dave Peterson
external usenet poster
 
Posts: 19,791
Default Converting a number to hours and minutes

You can use another cell to convert minutes to time.

=a1/60/24
and give it a nice number format (hh:mm:ss)





dslocum wrote:

Sorry, but I couldn't find exactly what I was looking for in any
previous thread.
I am using Excel 2007 on a Vista Business box.

I need to simply convert a raw number of minutes into Hours:Minutes
format.
We want to monitor the length of time spent on paticular tasks
throughout the day. From a drop-down list the end-user selects the
Task Category and then Tabs to the adjacent cell and manually enters
the number of minutes it took to perform the task. The end-user
repeats this process throughout the day for each task.
I have use a SumIf function to track the total number of minutes for
each task available on the drop-down listing. I need to convert these
SUMs to hh:mm. Example: 120 minutes would return 2:00 and 126 would
returen 2:06. Likewise, 45 would return 0:45.
Is this possible?

d.

--
dslocum


--

Dave Peterson
  #4  
Old April 2nd, 2009, 05:02 PM posted to microsoft.public.excel.worksheet.functions
HARSHAWARDHAN. S .SHASTRI[_2_]
external usenet poster
 
Posts: 70
Default Converting a number to hours and minutes

use following formula

=TEXT(A1/1440,"hh:mm")
--
HARSHAWARDHAN.S.SHASTRI

Pl do not forget to press "YES" button if post found useful.


"dslocum" wrote:


Sorry, but I couldn't find exactly what I was looking for in any
previous thread.
I am using Excel 2007 on a Vista Business box.

I need to simply convert a raw number of minutes into Hours:Minutes
format.
We want to monitor the length of time spent on paticular tasks
throughout the day. From a drop-down list the end-user selects the
Task Category and then Tabs to the adjacent cell and manually enters
the number of minutes it took to perform the task. The end-user
repeats this process throughout the day for each task.
I have use a SumIf function to track the total number of minutes for
each task available on the drop-down listing. I need to convert these
SUMs to hh:mm. Example: 120 minutes would return 2:00 and 126 would
returen 2:06. Likewise, 45 would return 0:45.
Is this possible?

d.




--
dslocum

  #5  
Old April 2nd, 2009, 08:13 PM
dslocum dslocum is offline
Experienced Member
 
First recorded activity by OfficeFrustration: Jul 2005
Location: Wixom, MI
Posts: 74
Smile

Thanks Alan, it worked perfect!!!

d.
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:34 AM.


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