+ Reply to Thread
Results 1 to 8 of 8

Error calculating Superannuation deductions

  1. #1
    Registered User
    Join Date
    05-09-2016
    Location
    Australia
    MS-Off Ver
    V10
    Posts
    63

    Unhappy Error calculating Superannuation deductions

    This is what I have come up with to comply with the specifications, Cannot figure out where I am going wrong (quite new to excel so don't drill me if it's crap)

    Specifications: Project managers + Testers (specifically) get a 10% deduction off salary (The salaries in cells H27-H33) , All other employees over 50 get an 8% deduction off salary and employees under 50 get a 6% bonus salary
    Last edited by PistolPete7; 05-10-2016 at 09:46 PM.

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Error calculating Superannuation deductions

    Can you use helper columns? I would suggest doing do if you can because you are going down the right path but it seems you are trying to do too much at once (which also makes the file harder to audit).
    Can you post a sample workbook with a few solved (hard-coded) examples?
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Registered User
    Join Date
    05-09-2016
    Location
    Australia
    MS-Off Ver
    V10
    Posts
    63

    Re: Error calculating Superannuation deductions

    I tried Using column helper but didn't get much benefit out of it, Posted a copy of the workbook, I don't know what a (Hard-coded example is lol)

  4. #4
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Error calculating Superannuation deductions

    Manually type in the answer you are trying to get to and show us where that cell is, so we can see how to automate it with formulas.
    Hard-coded is literally typed in, instead of using a formula.

  5. #5
    Registered User
    Join Date
    05-09-2016
    Location
    Australia
    MS-Off Ver
    V10
    Posts
    63

    Re: Error calculating Superannuation deductions

    Alright will do that now, will re-upload the file with it in

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,862

    Re: Error calculating Superannuation deductions

    See attached:

    Added 2 columns to your job salary table for <50 and > 50. For Project Managers and Testers both columns contain 10%.

    in K5

    =VLOOKUP($C5,$G$28:$J$33,2,0)*VLOOKUP($C5,$G$28:$J$33,IF((TODAY()-$D5)/365<50,3,4),0)

    Copy down
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Error calculating Superannuation deductions

    If I'm understanding you correctly, then try the formula below in K5 (or whichever column, row 5) and fill down. It should return 10% of the corresponding H28:H33 value if the employee is a tester or Project Manager, 8% if he/she is not in one of those roles but is over 50, and 6% if the previous two conditions are both false.

    =IF(OR($C5="Project Manager",$C5="Tester"),VLOOKUP($C5,$G$28:$H$33,2)*0.1,IF(DATEDIF(D5,TODAY(),"Y")>50,VLOOKUP($C5,$G$28:$H$33,2)*0.08,VLOOKUP($C5,$G$28:$H$33,2)*0.06))

  8. #8
    Registered User
    Join Date
    05-09-2016
    Location
    Australia
    MS-Off Ver
    V10
    Posts
    63

    Re: Error calculating Superannuation deductions

    Thank's Cantosh, that worked correctly

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Salary Deductions
    By fareedexcel in forum Excel General
    Replies: 8
    Last Post: 02-28-2015, 02:36 AM
  2. [SOLVED] Help Calculating Deductions In A Single Cell
    By nevintech in forum Excel General
    Replies: 2
    Last Post: 08-13-2012, 04:15 PM
  3. Calculate tax deductions
    By A1596833 in forum Excel General
    Replies: 5
    Last Post: 08-13-2012, 10:01 AM
  4. Calculating deductions from gross income?
    By fredlikes in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 12-06-2010, 05:12 PM
  5. calculating deductions
    By Kmac in forum Excel General
    Replies: 13
    Last Post: 03-31-2010, 05:09 PM
  6. Excel 2007 : tax deductions
    By rennagade03 in forum Excel General
    Replies: 1
    Last Post: 03-09-2009, 05:50 PM
  7. Formula to work out UK Tax deductions?
    By Sepia in forum Excel General
    Replies: 2
    Last Post: 01-11-2008, 09:00 AM

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