+ Reply to Thread
Results 1 to 6 of 6

Overtime Wages

  1. #1
    Registered User
    Join Date
    10-04-2006
    Posts
    5

    Overtime Wages

    Hiya,

    I'm having some problems with a function of mine, I'm making a VERY basic program with Excel and I'm trying to get some functions done in it which are what I'm assuming pretty simple.

    What I'm trying to do is simply caculate Hours * Wage and if the person works over 40 hours they get 1.5x their pay in their extra hours. I have everything working, besides the over time part could anyone help me? Thanks so much!

    My basic layout is this:
    ..|A.........B............C............D........................E..........................F
    1|Name...Wage..... Hours..... Gross Pay.............Taxes (22%)........ Net Pay
    2|
    3|Smith...$12.00... 50..........$600.00 (should be $660.00)

    And my formula which isn't calculating overtime:
    =IF((C3<="40"),B3*C3,IF((C3>"40"),B3*C3*1.5))

    Also if you'd like you could help me with Taxes and Net Pay, but I *think* I can handle it Thanks!

    EDIT: Added what the gross should be.
    Last edited by derekg1023; 10-04-2006 at 10:57 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    07-11-2004
    Posts
    851
    This should do it - note I assumed the 1.5 times pay only applied to > 40 hours.

    =B3*C3+IF(C3<=40,0,(C3-40)*B3*1.5)
    not a professional, just trying to assist.....

  3. #3
    Registered User
    Join Date
    10-04-2006
    Posts
    5
    hmm not quite. Also you're assumption was correct. But when I put in your function it said the Gross pay was $780.00 when it should be $660 (which I just edited on my original post) Thanks for your help though

  4. #4
    Valued Forum Contributor
    Join Date
    07-11-2004
    Posts
    851
    yes, my oversight

    =B3*C3+IF(C3<=40,0,(C3-40)*B3*0.5)

  5. #5
    Registered User
    Join Date
    10-04-2006
    Posts
    5
    Thank you very much! Just curious, why does B3 get multiplied by 0.5 and not 1.5? Just wondering is all, mostly because I'm planning on getting certified in Excel soon (I'm already certified in Word) and I'm just trying to get some extra knowledge on Excel, rather then knowing just the basics. Again, Thank you very much!

  6. #6
    Valued Forum Contributor
    Join Date
    07-11-2004
    Posts
    851
    =B3*C3+IF(C3<=40,0,(C3-40)*B3*0.5)


    b3 get multiplied by 1 for any number of hours, and by 0.5 (more) for hours over 40

+ 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