Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Time conversion help???

Need to convert "Xh YYm" to excel time format for operations, etc.
Help!

Thanks as always,



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 248
Default Time conversion help???

If you have hours in A1 and minutes in B1
=(A1*60+B1)/(24*60)
will convert it into Excel date/time...

You can split your values into hours and minutes by Data-Text to column by
using space as the delimiter...

If you also have h and mm then either you can search and replace them with
nothing or use LEFT function to extract the numeric part.
--
Pl click the YES button
(if you see it - don''''''''t worry if you don''t),
if this answer was helpful.



"Jon M" wrote:

Need to convert "Xh YYm" to excel time format for operations, etc.
Help!

Thanks as always,



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Time conversion help???

If your entry is in A2, formula to convert:
=TIME(LEFT(A2,FIND("h",A2)-1),MID(A2,FIND(" ",A2)+1,2),0)

Assumed that there is a space in entry, and that you are using the standard
2 digits for minutes (nothing like: 4h 132m)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Jon M" wrote:

Need to convert "Xh YYm" to excel time format for operations, etc.
Help!

Thanks as always,



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
Time Conversion Richard Excel Discussion (Misc queries) 2 June 15th 07 04:04 PM
time conversion thisguy Excel Discussion (Misc queries) 2 January 16th 07 04:29 AM
Time Conversion Dastard Excel Discussion (Misc queries) 1 June 18th 06 09:46 PM
Time conversion PivotMan Excel Worksheet Functions 1 October 14th 05 12:00 AM
time conversion Steane Excel Discussion (Misc queries) 3 August 18th 05 02:34 AM


All times are GMT +1. The time now is 02:18 AM.

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"