+ Reply to Thread
Results 1 to 8 of 8

help for a IF argument...

Hybrid View

  1. #1
    Registered User
    Join Date
    10-17-2012
    Location
    PP, SA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: help for a IF arguement...

    thanks, yes that works nicely, however, just to complicate matters in this timesheet the time to be paid is for 7 hrs 36mins, regardless of the hours worked. the "accrued TOIL" is only calculated after the total hours worked is over 8 hrs, so somehow I need to show this formula to calculate the difference between hours worked & to be paid minus 24 mins only when the total hours worked is over 8 hours, the way i am doing this the error says I have too many functions...so there is a bit of swearing....

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: help for a IF arguement...

    Try this in K10 cell

    Formula: copy to clipboard
    =IF(TIME(HOUR($J10),MINUTE($J10),SECOND($J10))>TIME(7,36,0),TIME(7,36,0),$J10)


    Try this in M10 cell

    Formula: copy to clipboard
    =IF(TIME(HOUR($J10),MINUTE($J10),SECOND($J10))>TIME(8,0,0),$J10-TIME(8,0,0),TIME(0,0,0))


    Refer the attached file for details.

    Hope that helps!
    Attached Files Attached Files


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    10-17-2012
    Location
    PP, SA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: help for a IF argument...

    more swearing, good swearing......thanks so much this works perfectly....doin' a little dance now

    would love to know more about how to work this out myself, new to excel workings & keen to learn how to do it (self taught) properly

    again, thank you thankyou

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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