Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default how do I show the total of difference between two times in decima.

How do I show the total of difference between two times in decimals (numbers)
to calculate charges.

Example: time elapsed between 10.15 am to 12.15 pm = 2 hours.

Suppose a charge of $ 3/hr to be charged the total to be charged would 2*3 =
$6.

Excel does not give that answer if one enters that formula.

Will someone please help me with this question?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default how do I show the total of difference between two times in decima.

Hi


A1= 10:15
B1= 12:15
C1 = 3

formula in another cell
=((B1-A1)*24)*C1
Format as general

Mike

"E. Lewis" wrote:

How do I show the total of difference between two times in decimals (numbers)
to calculate charges.

Example: time elapsed between 10.15 am to 12.15 pm = 2 hours.

Suppose a charge of $ 3/hr to be charged the total to be charged would 2*3 =
$6.

Excel does not give that answer if one enters that formula.

Will someone please help me with this question?

Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default how do I show the total of difference between two times in decima.

Times in Excel are stored as fractions of a day.
So 1 hour is 1/24th of a day.
Multiply your time difference by 24 and you get an integer/decimal # of hours

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"E. Lewis" wrote in message ...
| How do I show the total of difference between two times in decimals (numbers)
| to calculate charges.
|
| Example: time elapsed between 10.15 am to 12.15 pm = 2 hours.
|
| Suppose a charge of $ 3/hr to be charged the total to be charged would 2*3 =
| $6.
|
| Excel does not give that answer if one enters that formula.
|
| Will someone please help me with this question?
|
| Thanks.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default how do I show the total of difference between two times in decima.

Sorry format the formula as Currency

Mike

"E. Lewis" wrote:

How do I show the total of difference between two times in decimals (numbers)
to calculate charges.

Example: time elapsed between 10.15 am to 12.15 pm = 2 hours.

Suppose a charge of $ 3/hr to be charged the total to be charged would 2*3 =
$6.

Excel does not give that answer if one enters that formula.

Will someone please help me with this question?

Thanks.

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
show time difference between start and end times erighter Excel Discussion (Misc queries) 6 July 23rd 07 10:22 PM
Difference between two times Jester Excel Discussion (Misc queries) 4 August 31st 06 01:36 PM
calculate difference between two times Ken Excel Worksheet Functions 6 July 21st 06 09:05 PM
Difference in Times bcbjork Excel Discussion (Misc queries) 6 August 27th 05 03:42 PM
how do I figure the difference between two times when one is in p. tammyj Excel Worksheet Functions 2 March 15th 05 08:15 PM


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