Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dminkov
 
Posts: n/a
Default Convert Hours to Decimal


Hi everybody!

I have in a cell 40:23:04, which is number of hours and equals to 40.38
hours or to 2423.07 minutes. To convert the first value, I wrote the
following formula: =HOUR(A1567)+MINUTE(A1567)/60+SECOND(A1567)/3600.
I dont think this formula is appropriate, moreover it doesn't work
properly for values greater than 24h.
My final goal is to convert 40:23:04 hours to 2423.07 minutes
So, which function should I use and how to solve the problem?

Thank you in advance.


--
dminkov
------------------------------------------------------------------------
dminkov's Profile: http://www.excelforum.com/member.php...o&userid=17757
View this thread: http://www.excelforum.com/showthread...hreadid=499663

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete
 
Posts: n/a
Default Convert Hours to Decimal

Just multiply your value by 24 and by 60, as follows:

= A1 * 24 * 60

if your value is in cell A1.

Format as number with 2 decimal places.

Pete

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Stefi
 
Posts: n/a
Default Convert Hours to Decimal

Assume your cell is A1, try this formula in A2:

=ROUND(A1*1440,2)

N.B. 1440=24*60

Regards,
Stefi

dminkov ezt *rta:


Hi everybody!

I have in a cell 40:23:04, which is number of hours and equals to 40.38
hours or to 2423.07 minutes. To convert the first value, I wrote the
following formula: =HOUR(A1567)+MINUTE(A1567)/60+SECOND(A1567)/3600.
I dont think this formula is appropriate, moreover it doesn't work
properly for values greater than 24h.
My final goal is to convert 40:23:04 hours to 2423.07 minutes
So, which function should I use and how to solve the problem?

Thank you in advance.


--
dminkov
------------------------------------------------------------------------
dminkov's Profile: http://www.excelforum.com/member.php...o&userid=17757
View this thread: http://www.excelforum.com/showthread...hreadid=499663


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
Convert decimal degree (lattitude/longitude) into Degree, Tim Ashcom Excel Discussion (Misc queries) 5 August 17th 05 04:53 PM
Convert decimal hour into time format? ramdalen Excel Discussion (Misc queries) 2 June 20th 05 06:21 PM
Convert hours and minutes in time format into fractions of hours.. Akern Excel Worksheet Functions 4 April 21st 05 02:56 PM
How do I sum hours in Excel and convert to decimal numbers? Heinsohn Excel Discussion (Misc queries) 2 March 5th 05 07:48 PM
how to convert total hours (HH:MM) into decimal number Greg T Excel Worksheet Functions 1 November 17th 04 03:07 PM


All times are GMT +1. The time now is 05:59 AM.

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"

 

ExcelBanter Database Error
Database Error Database error
The ExcelBanter database has encountered a problem.

Please try the following:
  • Load the page again by clicking the Refresh button in your web browser.
  • Open the www.excelbanter.com home page, then try to open another page.
  • Click the Back button to try another link.
The www.excelbanter.com forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.