Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
CRobey4393
 
Posts: n/a
Default Help with Time Sheet


Hi, My name is Chuck and I am trying to write a spreadsheet to be used
as a daily timesheet.

The way it is set is: c6 is Time In, d6 Time out for Lunch, e6 Time in
from lunch and f6 is Time Out.

The formula I am using for total time is (d6-c6)+(f6-e6)

I need to round this to the 1/4 hour.

Any help is appreciated.
Chuck


--
CRobey4393
------------------------------------------------------------------------
CRobey4393's Profile: http://www.excelforum.com/member.php...o&userid=28257
View this thread: http://www.excelforum.com/showthread...hreadid=478463

  #2   Report Post  
bpeltzer
 
Posts: n/a
Default Help with Time Sheet

=ROUND(((D6-C6)+(F6-E6))*96,0)/4
Times in Excel are just fractions of a day, so you'd normally multiply by 24
to convert a time (or a time difference) to a number of hours. Multiply by
another 4, round, and divide by 4 to get the nearest quarter-hour.
HTH. --Bruce

"CRobey4393" wrote:


Hi, My name is Chuck and I am trying to write a spreadsheet to be used
as a daily timesheet.

The way it is set is: c6 is Time In, d6 Time out for Lunch, e6 Time in
from lunch and f6 is Time Out.

The formula I am using for total time is (d6-c6)+(f6-e6)

I need to round this to the 1/4 hour.

Any help is appreciated.
Chuck


--
CRobey4393
------------------------------------------------------------------------
CRobey4393's Profile: http://www.excelforum.com/member.php...o&userid=28257
View this thread: http://www.excelforum.com/showthread...hreadid=478463


  #3   Report Post  
JRod
 
Posts: n/a
Default Help with Time Sheet

Suppose that the result is in D2. Try the formula:
=INT(D2*1440/15+0.4999)/1440*15

--
JRod
Microsoft MVP - Excel
http://EXCELer.blogspot.com

"CRobey4393"
escreveu na mensagem
...

Hi, My name is Chuck and I am trying to write a spreadsheet to be used
as a daily timesheet.

The way it is set is: c6 is Time In, d6 Time out for Lunch, e6 Time in
from lunch and f6 is Time Out.

The formula I am using for total time is (d6-c6)+(f6-e6)

I need to round this to the 1/4 hour.

Any help is appreciated.
Chuck


--
CRobey4393
------------------------------------------------------------------------
CRobey4393's Profile:
http://www.excelforum.com/member.php...o&userid=28257
View this thread: http://www.excelforum.com/showthread...hreadid=478463



  #4   Report Post  
JRod
 
Posts: n/a
Default Help with Time Sheet

Another approach, brought By Norman Harker sometimes ago:
=ROUND((D2)/"00:15:00";0)*"00:15:00"

P.S.- don't forget, in both cases, to format the cell as Time hh:mm

Regards

--
JRod
Microsoft MVP - Excel
http://EXCELer.blogspot.com

"JRod" escreveu na mensagem
...
Suppose that the result is in D2. Try the formula:
=INT(D2*1440/15+0.4999)/1440*15

--
JRod
Microsoft MVP - Excel
http://EXCELer.blogspot.com

"CRobey4393"
escreveu na mensagem
...

Hi, My name is Chuck and I am trying to write a spreadsheet to be used
as a daily timesheet.

The way it is set is: c6 is Time In, d6 Time out for Lunch, e6 Time in
from lunch and f6 is Time Out.

The formula I am using for total time is (d6-c6)+(f6-e6)

I need to round this to the 1/4 hour.

Any help is appreciated.
Chuck


--
CRobey4393
------------------------------------------------------------------------
CRobey4393's Profile:
http://www.excelforum.com/member.php...o&userid=28257
View this thread:
http://www.excelforum.com/showthread...hreadid=478463





  #5   Report Post  
Sandy Mann
 
Posts: n/a
Default Help with Time Sheet

"JRod" wrote in message
...
=INT(D2*1440/15+0.4999)/1440*15


Seems like an awful lot of calculating, why not just:

=ROUND(D2*96,0)/96

--
Regards


Sandy

Replace@mailinator with @tiscali.co.uk


"JRod" wrote in message
...
Suppose that the result is in D2. Try the formula:
=INT(D2*1440/15+0.4999)/1440*15

--
JRod
Microsoft MVP - Excel
http://EXCELer.blogspot.com

"CRobey4393"
escreveu na mensagem
...

Hi, My name is Chuck and I am trying to write a spreadsheet to be used
as a daily timesheet.

The way it is set is: c6 is Time In, d6 Time out for Lunch, e6 Time in
from lunch and f6 is Time Out.

The formula I am using for total time is (d6-c6)+(f6-e6)

I need to round this to the 1/4 hour.

Any help is appreciated.
Chuck


--
CRobey4393
------------------------------------------------------------------------
CRobey4393's Profile:
http://www.excelforum.com/member.php...o&userid=28257
View this thread:
http://www.excelforum.com/showthread...hreadid=478463







  #6   Report Post  
JRod
 
Posts: n/a
Default Help with Time Sheet

Sandy,
This is really another approach, ok!! But all of the solutions they seem
that have the same problem: the rounding is made by deffect (I don't know if
this is the right word...perhaps "down"?) I found another approach presented
by Jon Peltier, that seems work better, because if it is, for instance
17:02, goes to 17:15 and not to 17:00... The formula is: =CEILING(D2,D3)
D2 is the result and D3 has the content: 0:15... In that case, the formula
gets a rounded up value.

Regards.
--
JRod
Microsoft MVP - Excel
http://EXCELer.blogspot.com

"Sandy Mann" escreveu na mensagem
...
"JRod" wrote in message
...
=INT(D2*1440/15+0.4999)/1440*15


Seems like an awful lot of calculating, why not just:

=ROUND(D2*96,0)/96

--
Regards


Sandy

Replace@mailinator with @tiscali.co.uk


"JRod" wrote in message
...
Suppose that the result is in D2. Try the formula:
=INT(D2*1440/15+0.4999)/1440*15

--
JRod
Microsoft MVP - Excel
http://EXCELer.blogspot.com

"CRobey4393"
escreveu na mensagem
...

Hi, My name is Chuck and I am trying to write a spreadsheet to be used
as a daily timesheet.

The way it is set is: c6 is Time In, d6 Time out for Lunch, e6 Time in
from lunch and f6 is Time Out.

The formula I am using for total time is (d6-c6)+(f6-e6)

I need to round this to the 1/4 hour.

Any help is appreciated.
Chuck


--
CRobey4393
------------------------------------------------------------------------
CRobey4393's Profile:
http://www.excelforum.com/member.php...o&userid=28257
View this thread:
http://www.excelforum.com/showthread...hreadid=478463







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
Time Sheet S.E. Excel Discussion (Misc queries) 2 October 14th 05 07:22 PM
Formula to deduct unpaid breaks in time sheet Rick Excel Discussion (Misc queries) 3 August 26th 05 11:53 PM
time sheet calculations emmcee Excel Worksheet Functions 7 August 20th 05 12:26 PM
Excel formula for a time sheet HRMSN Excel Worksheet Functions 1 August 10th 05 03:07 PM
Time Sheet calculations dkostel Excel Worksheet Functions 2 November 23rd 04 10:11 PM


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