Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Displaying negative time in excel | Excel Worksheet Functions | |||
measure calculation time for multiplication of two matrices | Excel Worksheet Functions | |||
Why is my Excel 2002 slow to enter cell? | Excel Worksheet Functions | |||
Excel Calculation of After tax Cost of debt Plz Help | Excel Worksheet Functions | |||
Time Sheet Calculation Help Needed! | Excel Worksheet Functions |