Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / March 2004

Tip: Looking for answers? Try searching our database.

[Newbie] time to minutes conversion

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Fabien C. - 30 Mar 2004 20:12 GMT
Hello,

here is my problem : I've got a field that contains a time in the
format hh:mm (by example 01:30) for one hour and a half. I would like
to make a calculation with this (a cost, knowing the price for an
hour) so I need a macro that converts 01:30 in a decimal format (01:30
gives 1,5)... How can I do this... I'm sure there is an internal macro
wich is already implemented... But... I can't find it...

HELP !

thank you,

F.C
___________________________________________________________________
Mesure anti spam : dans mon adresse electronique, remplacer .com par .fr
Chip Pearson - 30 Mar 2004 20:21 GMT
Multiply your time value by 24.

Signature

Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

> Hello,
>
[quoted text clipped - 10 lines]
>
> F.C

_________________________________________________________________
__
> Mesure anti spam : dans mon adresse electronique, remplacer .com par .fr
JE McGimpsey - 30 Mar 2004 20:25 GMT
XL stores time as fractional days (e.g., 03:00 = 8/24 = 0.125), so to
get hours, multiply by 24

A1:     01:30
A2:     =A1 * 24            ==> 1.5

Format A2 as General or another numeric format.

> Hello,
>
[quoted text clipped - 4 lines]
> gives 1,5)... How can I do this... I'm sure there is an internal macro
> wich is already implemented... But... I can't find it...
Fabien C. - 31 Mar 2004 20:12 GMT
Thank you guys ! That's all I needed !!!!

F.
___________________________________________________________________
Mesure anti spam : dans mon adresse electronique, remplacer .com par .fr
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.