Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default TimeSheet! Working PM to AM

I'm making a timesheet and it's working good.
But I can't work out how to calculate mu working time from ex: 15:00 to
18:30 lunchbreak and then 19:20 to 02:00. The calculated anser I get is
"-13.83"

I hope somebody can help me

Thanx
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default TimeSheet! Working PM to AM

Try this for a time result

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Kjaltrik" wrote in message
...
I'm making a timesheet and it's working good.
But I can't work out how to calculate mu working time from ex: 15:00 to
18:30 lunchbreak and then 19:20 to 02:00. The calculated anser I get is
"-13.83"

I hope somebody can help me

Thanx



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default TimeSheet! Working PM to AM

Try what?

Bob Phillips skrev:

Try this for a time result

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Kjaltrik" wrote in message
...
I'm making a timesheet and it's working good.
But I can't work out how to calculate mu working time from ex: 15:00 to
18:30 lunchbreak and then 19:20 to 02:00. The calculated anser I get is
"-13.83"

I hope somebody can help me

Thanx




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default TimeSheet! Working PM to AM

Kjaltrik,

With the first two times in C3 & D3 and the secong two in E3 & F3 try:

=D3-C3+MOD(F3-E3,1)

or

=D3-C3+F3-E3+(E3F3)

and format as time.

If you are adding up several day's times custom format the SUM() cell as
"[h]:mm" (without the brackets)


--
HTH

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


with @tiscali.co.uk


"Kjaltrik" wrote in message
...
Try what?

Bob Phillips skrev:

Try this for a time result

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Kjaltrik" wrote in message
...
I'm making a timesheet and it's working good.
But I can't work out how to calculate mu working time from ex: 15:00 to
18:30 lunchbreak and then 19:20 to 02:00. The calculated anser I get is
"-13.83"

I hope somebody can help me

Thanx






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default TimeSheet! Working PM to AM

Assuming
A1= 15:00
B1= 18:30
C1= 19:20
D1= 02:00

E1 =(B1-A1)+(D1-C1+1)

"Kjaltrik" wrote:

I'm making a timesheet and it's working good.
But I can't work out how to calculate mu working time from ex: 15:00 to
18:30 lunchbreak and then 19:20 to 02:00. The calculated anser I get is
"-13.83"

I hope somebody can help me

Thanx



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default TimeSheet! Working PM to AM

Sorry I meant

=(B1-A1)+MOD(D1-C1,1)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Kjaltrik" wrote in message
...
Try what?

Bob Phillips skrev:

Try this for a time result

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Kjaltrik" wrote in message
...
I'm making a timesheet and it's working good.
But I can't work out how to calculate mu working time from ex: 15:00

to
18:30 lunchbreak and then 19:20 to 02:00. The calculated anser I get

is
"-13.83"

I hope somebody can help me

Thanx






  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default TimeSheet! Working PM to AM

"mama no teeth" wrote in message
...

E1 =(B1-A1)+(D1-C1+1)


A word of caution. Whilst this works for the times given, if the last time
was in the same day as the other times, for example at 23:00, then it would
be adding one day to the time, giving an actual result of 31:10 masked by
the formatting to show as only 7:10. (Reformat the cell as [h]:mm to see).
5 days would add up to 155.50 hours (formatted as [h]:mm), instead of the
correct result result 35:50.

--
Regards,

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


with @tiscali.co.uk


"mama no teeth" wrote in message
...
Assuming
A1= 15:00
B1= 18:30
C1= 19:20
D1= 02:00

E1 =(B1-A1)+(D1-C1+1)

"Kjaltrik" wrote:

I'm making a timesheet and it's working good.
But I can't work out how to calculate mu working time from ex: 15:00 to
18:30 lunchbreak and then 19:20 to 02:00. The calculated anser I get is
"-13.83"

I hope somebody can help me

Thanx




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
Highlighted Reference Cell for a Working Cell Mr. Low Excel Worksheet Functions 0 June 22nd 06 04:27 PM
Working spreadsheet highlighting function for Excel 2007 Mr. Low Excel Worksheet Functions 4 June 16th 06 06:12 PM
Calling another workbook not working malik641 Excel Worksheet Functions 2 June 24th 05 07:36 PM
overtime on timesheet kimmyrt Excel Worksheet Functions 4 January 26th 05 07:33 PM
timesheet with running total of overtime kimmyrt Excel Worksheet Functions 2 January 26th 05 06:15 PM


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