Closed Thread
Results 1 to 9 of 9

Rounding Timesheet to quarter hour

  1. #1
    Registered User
    Join Date
    10-19-2008
    Location
    Texas
    Posts
    4

    Rounding Timesheet to quarter hour

    I have made a time sheet and am trying to have the total hours and grand total- round up to the nearest quarter hour, I.E. (.25, .50, .75. 00), if anyone can help me please it will greatly be appreciated, this is what i have now, in my totals fields:

    ROUND(IF((OR(B13="",C13="")),0,IF((C13<B13),((C13-B13)*24)+24,(C13-B13)*G1424))+IF((OR(E13="",F13="")),0,IF((F13<E13),((F13-E13)*24)+24,(F13-E13)*24)),2)

    I Have also attached the file so you can see it completely, if you can help me fix it i would really really appreciate it.
    Attached Files Attached Files
    Last edited by djknight2007; 10-19-2008 at 02:23 PM. Reason: Solved

  2. #2
    Registered User
    Join Date
    09-01-2008
    Location
    Houston, TX
    Posts
    70
    I replaced the formua you had in Column G with =ROUND(SUM((F13-B13)-(E13-C13))*96,0)/96 and it appears to work as you requested.
    Hope this helps, GMc

  3. #3
    Registered User
    Join Date
    10-19-2008
    Location
    Texas
    Posts
    4
    Thank You very much Works Perfect

  4. #4
    Registered User
    Join Date
    09-01-2008
    Location
    Houston, TX
    Posts
    70
    You're welcoome! I notice you're location is Texas - where? I'm in Spring.
    GMc

  5. #5
    Registered User
    Join Date
    10-19-2008
    Location
    Texas
    Posts
    4
    am in Killeen, TX i used to live in Houston on Little York Rd. I also used to work in spring TX in a Company called Well Dynamics.

  6. #6
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    You don't really need SUM

    If you want the times in decimal format, i.e. 8.5 rather than 8:30 then try

    =ROUND((F13-B13-E13+C13)*96,0)/4

  7. #7
    Registered User
    Join Date
    10-19-2008
    Location
    Texas
    Posts
    4
    thanks daddylonglegs that works perfect ....helped alot

  8. #8
    Registered User
    Join Date
    04-30-2010
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Rounding Timesheet to quarter hour

    Hi, I am running into a similar problem, however I am trying to transition from California Timecard management to Texas. The overtime doesnt seem to work right with this sheet. I inherited this from my predecessor.

    =ROUND(IF((OR(C24="",D24="")),0,IF((D24<C24),((D24-C24)*24)+24,(D24-C24)*24))+IF((OR(F24="",G24="")),0,IF((G24<F24),((G24-F24)*24)+24,(G24-F24)*24)),2)

  9. #9
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Rounding Timesheet to quarter hour

    Please take a few minutes to read the forum rules, and then start your own thread.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Rounding time up and down with a deadline (I did a search)
    By russellabjr in forum Excel General
    Replies: 6
    Last Post: 10-04-2013, 12:32 PM
  2. Replies: 2
    Last Post: 02-14-2008, 05:02 PM
  3. Time w/in Each Hour of Day btwn a Time Range
    By gbrogmus in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-30-2007, 03:01 AM
  4. Showing what Quarter we are in?
    By nickm687 in forum Excel General
    Replies: 4
    Last Post: 08-01-2007, 11:41 AM
  5. matching hour in one sheet to same hour in another sheet
    By oakman in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-31-2007, 01:16 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1