+ Reply to Thread
Results 1 to 4 of 4

Multiple 'if' statements

  1. #1
    Registered User
    Join Date
    01-23-2012
    Location
    Oregon
    MS-Off Ver
    Excel 2010
    Posts
    2

    Unhappy Multiple 'if' statements

    I am working on saving myself some troubles when doing commissions in excel. What I am trying to do is when a employee sells less than $600 their commision will be 0 when it is between 600 and 1000 then it is 10% and anything above $1,000 is 15%.

    The equation I have right now is:
    =IF(G6<=599.99, G6*0,IF(G6>=600,G6*0.1,IF(G6>=1000,G6*0.15)))

    The first two parts seem to be working (the 0 and the 10%) but the 15% will not take. When I say it will not take I mean it continues to multiply by 10% not 15%

    Any idea what I'm doing wrong?

    Thanks in advance,
    Josh

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Multiple 'if' statements

    Try
    =IF(G6<=599.99, G6*0,IF(G6<=1000,G6*0.1,G6*.15))
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Multiple 'if' statements

    try this,

    =G6*LOOKUP(G6,{-9E300,600,1000;0,0.1,0.15})

    If you want to get Amount + it's %, use

    =G6*LOOKUP(G6,{-9E300,600,1000;0,1.1,1.15})
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  4. #4
    Registered User
    Join Date
    01-23-2012
    Location
    Oregon
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Multiple 'if' statements

    Marvin you did it! I was stuck trying to make a third 'if' but I see how this should work now.

    Thank you much for you help!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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