Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
cny2
 
Posts: n/a
Default Converting Hours and Minutes to Just Minutes


Does anyone have a formula for converting for example 1 hr 20 m to 80
minutes? Thanks for your help. Karen.


--
cny2
------------------------------------------------------------------------
cny2's Profile: http://www.excelforum.com/member.php...o&userid=25679
View this thread: http://www.excelforum.com/showthread...hreadid=498409

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave O
 
Posts: n/a
Default Converting Hours and Minutes to Just Minutes

The answer depends on the format of your data, and perhaps how the data
is stored. For instance, is it in the format of your example, 1 hr 20
m, contained as text in a single cell? If yes then you'll need to
parse the 1 and the 20 out separately so you can perform the math on
them.

Please post examples of your actual data!

  #3   Report Post  
Posted to microsoft.public.excel.misc
cny2
 
Posts: n/a
Default Converting Hours and Minutes to Just Minutes


Here is what I am trying to accomplish:

In Column A (Time In) the cells are custom formatted using h:mm
In Column B (Time Out) the cells are also custom formatted using h:mm
In the Total Time Used Column the cells are custom formatted using
h:mm

The problem is for example:

Time in: 9:40 Time out: 11:15 Total time used:
1:35

I need the total time used column to format it as 95 minutes.

I will also be using military time. For example:

Time in: 14:05 Time out: 16:30 Total time used:
2:25

Total time column needs to format it as 145 minutes.

Thanks for your help! Karen.


--
cny2
------------------------------------------------------------------------
cny2's Profile: http://www.excelforum.com/member.php...o&userid=25679
View this thread: http://www.excelforum.com/showthread...hreadid=498409

  #4   Report Post  
Posted to microsoft.public.excel.misc
Pete
 
Posts: n/a
Default Converting Hours and Minutes to Just Minutes

Format the "total time used" cell as Custom "[m] minutes", i.e.
everything within the quotes.

Pete

  #5   Report Post  
Posted to microsoft.public.excel.misc
cny2
 
Posts: n/a
Default Converting Hours and Minutes to Just Minutes


It worked well! Thanks a lot for your help. Karen.


--
cny2
------------------------------------------------------------------------
cny2's Profile: http://www.excelforum.com/member.php...o&userid=25679
View this thread: http://www.excelforum.com/showthread...hreadid=498409

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
Adding hours and minutes Patrick Excel Worksheet Functions 16 June 18th 08 09:24 PM
Converting hours to minutes KSGORE Excel Worksheet Functions 3 January 1st 06 02:34 PM
adding rows of hours and minutes to get a total Tipps Excel Worksheet Functions 1 November 4th 05 07:03 PM
converting hours to hours & minutes Excel Hack Excel Discussion (Misc queries) 2 November 3rd 05 05:58 AM
Problem converting Hours to Days, Hours, Minutes Zyzzx Excel Worksheet Functions 4 October 24th 05 04:19 PM


All times are GMT +1. The time now is 01:56 PM.

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

About Us

"It's about Microsoft Excel"