+ Reply to Thread
Results 1 to 6 of 6

I need a formula in excel for my Salary slip ....!

  1. #1
    Registered User
    Join Date
    02-15-2012
    Location
    Lahore, Pakistan
    MS-Off Ver
    Excel XP
    Posts
    10

    I need a formula in excel for my Salary slip ....!

    Hello
    Dears

    I need a formula in excel for my Salary slip.
    here is the details


    If Total Salary >= 25000 and = 29999 then - Income Tax 6% of Total Salary
    If Total Salary >= 30000 and = 34999 then - Income Tax 7% of Total Salary
    If Total Salary >= 35000 and = 39999 then - Income Tax 8% of Total Salary


    Thanks
    Abdullah

  2. #2
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: I need a formula in excel for my Salary slip ....!

    If your salary is in A1 then you could try this formula:

    =A1*CHOOSE(MATCH(A1,{25000,30000,35000},1),0.06,0.07,0.08)

    However, you don't specify what you want to do if the salary is below 25,000 or above 40,000. This formula will return an error for a salary less than 25,000 and tax salaries over 40,000 at 8%. If you want it to do something different then let me know.

  3. #3
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: I need a formula in excel for my Salary slip ....!

    Try

    =INDEX({0,0.06,0.07,0.08},MATCH(A1,{0,15000,30000,35000},1))

  4. #4
    Registered User
    Join Date
    02-15-2012
    Location
    Lahore, Pakistan
    MS-Off Ver
    Excel XP
    Posts
    10

    Re: I need a formula in excel for my Salary slip ....!

    Thanks Andrew-R
    your this formula is working in giving conditions but my salary starts from below 1,000 and maximum 100,000 here is the details
    now can you give me final formula ?

    If Total Salary >= 1000 and = 24999 then - Income Tax = 0% Total Salary
    If Total Salary >= 25000 and = 29999 then - Income Tax = 6% Total Salary
    If Total Salary >= 30000 and = 34999 then - Income Tax = 7% Total Salary
    If Total Salary >= 35000 and = 39999 then - Income Tax = 8% Total Salary
    If Total Salary >= 40000 and = 45999 then - Income Tax = 9% Total Salary
    If Total Salary >= 45000 and = 49999 then - Income Tax = 10% Total Salary
    If Total Salary >= 50000 and = 54999 then - Income Tax = 11% Total Salary
    If Total Salary >= 55000 and = 64999 then - Income Tax = 12% Total Salary
    If Total Salary >= 65000 and = 100000 then - Income Tax = 14% Total Salary

  5. #5
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: I need a formula in excel for my Salary slip ....!

    OK, you can just expand my formula:

    =A1*CHOOSE(MATCH(A1,{0,25000,30000,35000,40000,45000,50000,55000,65000},1),0,0.06,0.07,0.08,0.09,0.1,0.11,0.12,0.14)

    However, you're reaching the point where it may be easier to set-up a look-up table in another group of cells and use VLOOKUP to return the tax rate.

  6. #6
    Registered User
    Join Date
    02-15-2012
    Location
    Lahore, Pakistan
    MS-Off Ver
    Excel XP
    Posts
    10

    Re: I need a formula in excel for my Salary slip ....!

    Big Thanks Andrew-R
    its working

+ 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