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

Our office follows the seven minute rule when calculating time on our time
sheets. To make this automated time sheet I've designed work properly, I
need a function that will round each time entry to the nearest quarter hour.
Thus for example, 7:26 AM would need to be rounded to 7:30 AM, and 12:37 PM
would need to be rounded to 12:30 PM. Once someone helps me figure that out,
I have everything else that will calculate everything correctly.
  #2   Report Post  
Alan
 
Posts: n/a
Default

=ROUND(A1*96,0)/96
Regards,
Alan.
"HRMSN" wrote in message
...
Our office follows the seven minute rule when calculating time on our time
sheets. To make this automated time sheet I've designed work properly, I
need a function that will round each time entry to the nearest quarter
hour.
Thus for example, 7:26 AM would need to be rounded to 7:30 AM, and 12:37
PM
would need to be rounded to 12:30 PM. Once someone helps me figure that
out,
I have everything else that will calculate everything correctly.



  #3   Report Post  
HRMSN
 
Posts: n/a
Default

I put this formula in, but in a cell where nothing was written it came up
12:00am. What do I add to the formula below, to keep it from putting
anything there if no time is entered?

"Alan" wrote:

=ROUND(A1*96,0)/96
Regards,
Alan.
"HRMSN" wrote in message
...
Our office follows the seven minute rule when calculating time on our time
sheets. To make this automated time sheet I've designed work properly, I
need a function that will round each time entry to the nearest quarter
hour.
Thus for example, 7:26 AM would need to be rounded to 7:30 AM, and 12:37
PM
would need to be rounded to 12:30 PM. Once someone helps me figure that
out,
I have everything else that will calculate everything correctly.




  #4   Report Post  
Alan
 
Posts: n/a
Default

That's because no value in the cell returns a zero value.
Try
=IF(A1<0,ROUND(A1*96,0)/96,"")
or
=IF(A1<0,ROUND(A1*96,0)/96,0)
in the latter, go Tools Options View and uncheck 'Zero Values'
Obviously I don't know the rest of your formulas, but usually a zero value
in a range that a formula applies to wont affect the result,
Regards,
Alan.
"HRMSN" wrote in message
...
I put this formula in, but in a cell where nothing was written it came up
12:00am. What do I add to the formula below, to keep it from putting
anything there if no time is entered?

"Alan" wrote:

=ROUND(A1*96,0)/96
Regards,
Alan.
"HRMSN" wrote in message
...
Our office follows the seven minute rule when calculating time on our
time
sheets. To make this automated time sheet I've designed work properly,
I
need a function that will round each time entry to the nearest quarter
hour.
Thus for example, 7:26 AM would need to be rounded to 7:30 AM, and
12:37
PM
would need to be rounded to 12:30 PM. Once someone helps me figure
that
out,
I have everything else that will calculate everything correctly.






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
how can i secuire Sheet Same time Update the Pivot Table Michael H.M.Mikhail Excel Worksheet Functions 0 July 25th 05 08:18 AM
TIME function used in Excel jeramy Excel Worksheet Functions 1 July 2nd 05 02:59 AM
How to set up weekly time sheet with flexi time. Chris Excel Worksheet Functions 0 June 9th 05 02:30 AM
Is there a time sheet template that calculates hours? CTG Excel Discussion (Misc queries) 2 February 16th 05 09:27 AM
Naming & renaming a sheet tab Cgbilliar Excel Worksheet Functions 1 November 7th 04 05:57 PM


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