Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default time v cost calculation in Excel 2002 (XP)

I want to enter a start time and end time to show number of hour & minutes
spent against a task(done that) then I want to enter an hourly rate and
calculate the cost but I cant find a formula or calculation that converts the
time hours mins into a decimal (eg 5hr 40min = 5.66) to do the time/cost
calculation.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default time v cost calculation in Excel 2002 (XP)

No factor is needed:

say a1 contains 8:50 and a2 contains 3:10 and the formula in a3 is:
=A1-A2

the value 5:40 will be displayed, but if you change the formatting of a3 to
General, then 5.666666667 will be displayed and can be used directly to be
multiplied by a rate.

--
Gary's Student


"matelodave" wrote:

I want to enter a start time and end time to show number of hour & minutes
spent against a task(done that) then I want to enter an hourly rate and
calculate the cost but I cant find a formula or calculation that converts the
time hours mins into a decimal (eg 5hr 40min = 5.66) to do the time/cost
calculation.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default time v cost calculation in Excel 2002 (XP)

<if you change the formatting of a3 to General, then 5.666666667 will be displayed

Only after you've multiplied by 24 (since time is stored as a fraction of a day)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel


"Gary''s Student" wrote in message
...
| No factor is needed:
|
| say a1 contains 8:50 and a2 contains 3:10 and the formula in a3 is:
| =A1-A2
|
| the value 5:40 will be displayed, but if you change the formatting of a3 to
| General, then 5.666666667 will be displayed and can be used directly to be
| multiplied by a rate.
|
| --
| Gary's Student
|
|
| "matelodave" wrote:
|
| I want to enter a start time and end time to show number of hour & minutes
| spent against a task(done that) then I want to enter an hourly rate and
| calculate the cost but I cant find a formula or calculation that converts the
| time hours mins into a decimal (eg 5hr 40min = 5.66) to do the time/cost
| calculation.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default time v cost calculation in Excel 2002 (XP)

Thanks for the correction.
--
Gary''s Student


"Niek Otten" wrote:

<if you change the formatting of a3 to General, then 5.666666667 will be displayed

Only after you've multiplied by 24 (since time is stored as a fraction of a day)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel


"Gary''s Student" wrote in message
...
| No factor is needed:
|
| say a1 contains 8:50 and a2 contains 3:10 and the formula in a3 is:
| =A1-A2
|
| the value 5:40 will be displayed, but if you change the formatting of a3 to
| General, then 5.666666667 will be displayed and can be used directly to be
| multiplied by a rate.
|
| --
| Gary's Student
|
|
| "matelodave" wrote:
|
| I want to enter a start time and end time to show number of hour & minutes
| spent against a task(done that) then I want to enter an hourly rate and
| calculate the cost but I cant find a formula or calculation that converts the
| time hours mins into a decimal (eg 5hr 40min = 5.66) to do the time/cost
| calculation.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default time v cost calculation in Excel 2002 (XP)

thanks guys, it was the multiply by 24 that had me stumped

regards

Matelodave

"Gary''s Student" wrote:

Thanks for the correction.
--
Gary''s Student


"Niek Otten" wrote:

<if you change the formatting of a3 to General, then 5.666666667 will be displayed

Only after you've multiplied by 24 (since time is stored as a fraction of a day)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel


"Gary''s Student" wrote in message
...
| No factor is needed:
|
| say a1 contains 8:50 and a2 contains 3:10 and the formula in a3 is:
| =A1-A2
|
| the value 5:40 will be displayed, but if you change the formatting of a3 to
| General, then 5.666666667 will be displayed and can be used directly to be
| multiplied by a rate.
|
| --
| Gary's Student
|
|
| "matelodave" wrote:
|
| I want to enter a start time and end time to show number of hour & minutes
| spent against a task(done that) then I want to enter an hourly rate and
| calculate the cost but I cant find a formula or calculation that converts the
| time hours mins into a decimal (eg 5hr 40min = 5.66) to do the time/cost
| calculation.



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
Displaying negative time in excel Six Sigma Blackbelt Excel Worksheet Functions 5 November 10th 06 10:42 PM
measure calculation time for multiplication of two matrices Rasoul Khoshravan Excel Worksheet Functions 0 October 24th 06 01:45 PM
Why is my Excel 2002 slow to enter cell? hkrdskh Excel Worksheet Functions 1 July 1st 06 06:25 PM
Excel Calculation of After tax Cost of debt Plz Help Sir Excel Worksheet Functions 0 May 19th 06 01:52 PM
Time Sheet Calculation Help Needed! sax30 Excel Worksheet Functions 2 April 26th 05 08:08 PM


All times are GMT +1. The time now is 12:04 PM.

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"