#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default time formula

I need to enter time in hours and minutes and have the result equal time in
hrs and 100th minutes. ie; 1650-800=8.83 or 1045-800=2.75

any help anyone
--
bob
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default time formula

Hi Bob.

Assuming that you have 2:50AM entered in cell A1, use this formula:

=(HOUR(A1)*60)+(MINUTE(A1)/60)

Make sure the cell that you are entering the formula in is formatted as
numeric with 2 decimal places.

"vdmbqb" wrote:

I need to enter time in hours and minutes and have the result equal time in
hrs and 100th minutes. ie; 1650-800=8.83 or 1045-800=2.75

any help anyone
--
bob

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default time formula

"vdmbqb" wrote in message
...
I need to enter time in hours and minutes


Assuming that by that you mean you are entering the times as XL times ie
hh:mm, then:

XL stores dates as the number of days since the start *date* of January 00
1900, ie day 1 is January 1 1900. Times are just fractions of days so being
as 1 hour is 1/24th of a day, multiplying a *time* by 24 will result in
decimal hours. Therefore with 16:50 in A1 and 8:00 in A2,

=(A1-A2)*24 results in 8.833333

and with 10:45 in A1 it results in 2.75

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"vdmbqb" wrote in message
...
I need to enter time in hours and minutes and have the result equal time in
hrs and 100th minutes. ie; 1650-800=8.83 or 1045-800=2.75

any help anyone
--
bob



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default time formula

Take 2. Please ignore my first solution. Here is what you will need:

=HOUR(A1)+(MINUTE(A1)/60)

This will return 2.83 (also the equivalent of 2 hours and 50 minutes).

Hope this helps and sorry for the mixup on Take 1!

"BriSwy" wrote:

Hi Bob.

Assuming that you have 2:50AM entered in cell A1, use this formula:

=(HOUR(A1)*60)+(MINUTE(A1)/60)

Make sure the cell that you are entering the formula in is formatted as
numeric with 2 decimal places.

"vdmbqb" wrote:

I need to enter time in hours and minutes and have the result equal time in
hrs and 100th minutes. ie; 1650-800=8.83 or 1045-800=2.75

any help anyone
--
bob

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 to time range formula??? Tasha Excel Worksheet Functions 11 July 23rd 07 10:34 PM
Formula to find Stop Time from Start Time and Total Minutes Jonathan Bickett Excel Worksheet Functions 5 March 7th 07 05:22 PM
template or formula for start time -finish time -total hours ple cc New Users to Excel 1 March 27th 06 06:06 PM
How do I set up a formula on a time sheet to calculate time in 1/. gschmid Excel Discussion (Misc queries) 2 January 18th 05 01:48 PM
Time / Formula to look at time difference carl Excel Worksheet Functions 5 November 8th 04 06:59 PM


All times are GMT +1. The time now is 07:31 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"