Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default how to calcurate work hours? Please?

I have
start time end time work time
17:00 18:00 01:00

Now, I have to convert this 01:00 to 1,00! How?

Work time is calculated on 00:15min parts
so I could have for example:

start time end time work time
17:00 18:15 01:15

And I have to convert it to 1,25

if 01:00h = 1,00
if 00:30min = 0,50
fi 00:15min = 0,25

I round it on 00:15min as smallest unit of hour!

Must have this to sum total number of work time so I can multiply it with
fee per hour... Or is there any formula what can do that directly from the
hour time

If I put work time column to sum all time, when sum is over 24h it starts
again from 0! So if total sum is example 34h it will show 10h or if its 49h
it will show only 1h....

I'll send document if someone doesn't understand what I need?

Thanx in advance

--
"They say people don't believe in heroes any more...
Well damn them!!!... You and me, Max.
We gonna give'm back their heroes!"


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default how to calcurate work hours? Please?

Hi
just multiply this value with 24 and format the resulting cell as
number

--
Regards
Frank Kabel
Frankfurt, Germany


Mike Torello D.E.A. wrote:
I have
start time end time work time
17:00 18:00 01:00

Now, I have to convert this 01:00 to 1,00! How?

Work time is calculated on 00:15min parts
so I could have for example:

start time end time work time
17:00 18:15 01:15

And I have to convert it to 1,25

if 01:00h = 1,00
if 00:30min = 0,50
fi 00:15min = 0,25

I round it on 00:15min as smallest unit of hour!

Must have this to sum total number of work time so I can multiply it
with fee per hour... Or is there any formula what can do that
directly from the hour time

If I put work time column to sum all time, when sum is over 24h it
starts again from 0! So if total sum is example 34h it will show 10h
or if its 49h it will show only 1h....

I'll send document if someone doesn't understand what I need?

Thanx in advance


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default how to calcurate work hours? Please?

Mike Torello D.E.A. wrote:
I have
start time end time work time
17:00 18:00 01:00

Now, I have to convert this 01:00 to 1,00! How?

Work time is calculated on 00:15min parts
so I could have for example:

start time end time work time
17:00 18:15 01:15

And I have to convert it to 1,25

if 01:00h = 1,00
if 00:30min = 0,50
fi 00:15min = 0,25

I round it on 00:15min as smallest unit of hour!

Must have this to sum total number of work time so I can multiply it
with fee per hour... Or is there any formula what can do that
directly from the hour time

If I put work time column to sum all time, when sum is over 24h it
starts again from 0! So if total sum is example 34h it will show 10h
or if its 49h it will show only 1h....

I'll send document if someone doesn't understand what I need?

Thanx in advance


Hi
just multiply this value with 24 and format the resulting cell as
number



If I have sum of 49h, that's 2 days & 1hour but Excel displays it like
01:00h (but it's actually 2 days and 1hour) and if I multiply that with 24 I
will have only 24h

But it will show same result if the sum is 25h it will display 01:00h... and
if you even try to multiply 00:00 typ of noumber vith something you get some
stupid value... please try and you'll see...

If you wish I'll send you my worksheet so you can try it by yourself...

--
"They say people don't believe in heroes any more...
Well damn them!!!... You and me, Max.
We gonna give'm back their heroes!"


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default how to calcurate work hours? Please?

Hi
first format the cell with the time with the custom format
[hh]:mm
to display hours 24
after this just multiply this cell with 24 and format the resulting
cell as number.
Note: The multiplication would do with your original cells. Though
Excel display 01:00 internally it has stored the complete value

--
Regards
Frank Kabel
Frankfurt, Germany


Mike Torello D.E.A. wrote:
Mike Torello D.E.A. wrote:
I have
start time end time work time
17:00 18:00 01:00

Now, I have to convert this 01:00 to 1,00! How?

Work time is calculated on 00:15min parts
so I could have for example:

start time end time work time
17:00 18:15 01:15

And I have to convert it to 1,25

if 01:00h = 1,00
if 00:30min = 0,50
fi 00:15min = 0,25

I round it on 00:15min as smallest unit of hour!

Must have this to sum total number of work time so I can multiply

it
with fee per hour... Or is there any formula what can do that
directly from the hour time

If I put work time column to sum all time, when sum is over 24h it
starts again from 0! So if total sum is example 34h it will show

10h
or if its 49h it will show only 1h....

I'll send document if someone doesn't understand what I need?

Thanx in advance


Hi
just multiply this value with 24 and format the resulting cell as
number



If I have sum of 49h, that's 2 days & 1hour but Excel displays it

like
01:00h (but it's actually 2 days and 1hour) and if I multiply that
with 24 I will have only 24h

But it will show same result if the sum is 25h it will display
01:00h... and if you even try to multiply 00:00 typ of noumber vith
something you get some stupid value... please try and you'll see...

If you wish I'll send you my worksheet so you can try it by
yourself...


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default how to calcurate work hours? Please?

Hi
first format the cell with the time with the custom format
[hh]:mm
to display hours 24
after this just multiply this cell with 24 and format the resulting
cell as number.
Note: The multiplication would do with your original cells. Though
Excel display 01:00 internally it has stored the complete value

--
Regards
Frank Kabel
Frankfurt, Germany



Thanx, I did it ;))) It's working ;)))

--
"They say people don't believe in heroes any more...
Well damn them!!!... You and me, Max.
We gonna give'm back their heroes!"




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 136
Default how to calcurate work hours? Please?

In C1:
=INT((B1-A1)*24)+ROUNDDOWN(MOD((B1-A1)*24,1)*4,0)/4
This does not credit for any time less than 1/4 hour.
Change to =INT((B1-A1)*24)+ROUND(MOD((B1-A1)*24,1)*4,0)/4
and if 8 minutes past 1/4 hour are worked, the whole 1/4 is credited.
Change both 4s to 5s and you round to 12 minute intervals
Change both 4s to 6s and you round to 10 minute intervals
Format the cell with the formula to a number format.

Mike Torello D.E.A. wrote:

I have
start time end time work time
17:00 18:00 01:00

Now, I have to convert this 01:00 to 1,00! How?

Work time is calculated on 00:15min parts
so I could have for example:

start time end time work time
17:00 18:15 01:15

And I have to convert it to 1,25

if 01:00h = 1,00
if 00:30min = 0,50
fi 00:15min = 0,25

I round it on 00:15min as smallest unit of hour!

Must have this to sum total number of work time so I can multiply it with
fee per hour... Or is there any formula what can do that directly from the
hour time

If I put work time column to sum all time, when sum is over 24h it starts
again from 0! So if total sum is example 34h it will show 10h or if its 49h
it will show only 1h....

I'll send document if someone doesn't understand what I need?

Thanx in advance

--
"They say people don't believe in heroes any more...
Well damn them!!!... You and me, Max.
We gonna give'm back their heroes!"


  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default how to calcurate work hours? Please?

I have
start time end time work time
17:00 18:00 01:00

Now, I have to convert this 01:00 to 1,00! How?


In C1:
=INT((B1-A1)*24)+ROUNDDOWN(MOD((B1-A1)*24,1)*4,0)/4
This does not credit for any time less than 1/4 hour.
Change to =INT((B1-A1)*24)+ROUND(MOD((B1-A1)*24,1)*4,0)/4
and if 8 minutes past 1/4 hour are worked, the whole 1/4 is credited.
Change both 4s to 5s and you round to 12 minute intervals
Change both 4s to 6s and you round to 10 minute intervals
Format the cell with the formula to a number format.


Time is allready rounded on 1/4 hour so dont worry about that...
I tried to enter your formula but it doesnt work ;(

Can you fix some formula for this conversion column? :

start time end time work time Conversion
17:00 18:00 01:00 1,00
17:00 19:45 02:45 2,75
17:00 18:30 01:30 1,50
17:00 19:15 02:15 1,25

If there is formula for that I'll make another column for it...


THANX a lot!
--
"They say people don't believe in heroes any more...
Well damn them!!!... You and me, Max.
We gonna give'm back their heroes!"


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
work out how many trucks came in between the hours of 9am and 3pm hotlh Excel Discussion (Misc queries) 1 April 13th 10 12:25 AM
Converting work hours to day/hours/minutes WxmanPrice Excel Discussion (Misc queries) 3 October 20th 09 03:08 PM
Determining work hours between dates / hours Andrew Excel Worksheet Functions 3 July 30th 08 06:38 PM
calculating hours work has taken Marty Excel Discussion (Misc queries) 9 April 21st 08 07:36 PM
Work Hours Kamper Excel Worksheet Functions 1 January 31st 08 03:35 AM


All times are GMT +1. The time now is 02:08 AM.

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"