+ Reply to Thread
Results 1 to 5 of 5

Nested IF(OR Formula not calculating

  1. #1
    Registered User
    Join Date
    03-25-2013
    Location
    Palm Beach, FL
    MS-Off Ver
    Excel 2010
    Posts
    4

    Nested IF(OR Formula not calculating

    Hello Forum! I'm trying to create a sales tracking worksheet that will calculate a commission that is to be paid if the rep meets one of two variables, i.e., if they sell either 10 policies or $15000 total, they will receive $300 for that week. If they sell 15 or $20000, $500, etc. I created the formula:

    =IF(OR(J18<10,J17<15000),0, IF(OR(J18<15,J17<20000),300, IF(OR(J18<20,17<25000),500, IF(OR(J18<25,J17<30000),800))))

    But will calculate based on the policy count, but not on the premium. What am I doing wrong? See pic below.

    Thanks for your help!!!
    Attached Images Attached Images

  2. #2
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Nested IF(OR Formula not calculating

    Is the problem that you simply didn't have the J in a part of the formula?

    =IF(OR(J18<10,J17<15000),0, IF(OR(J18<15,J17<20000),300, IF(OR(J18<20,J17<25000),500, IF(OR(J18<25,J17<30000),800))))
    Please click the * icon below if I have helped.

  3. #3
    Registered User
    Join Date
    03-25-2013
    Location
    Palm Beach, FL
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Nested IF(OR Formula not calculating

    Thank you for replying! My excitment was very shortlived when I found, unfortunately, even with the J in the formula, it still is not calculating. I've included the excel file as an attachment if that helps anyone. Thanks again!
    Attached Files Attached Files

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Nested IF(OR Formula not calculating

    Your logic is based on salesperson 'failing to meet' either of the criteria rather than 'meeting' either of the crtiteria.

    Try something on these lines

    =IF(OR(J18>25,J17>30000),1500,IF(OR(J18>20,J17>25000),800,IF(OR(J18>15,J17>20000),500,IF(OR(J18>10,J17>15000),300,0))))

    Amend highlighted number as per requirement
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  5. #5
    Registered User
    Join Date
    03-25-2013
    Location
    Palm Beach, FL
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Nested IF(OR Formula not calculating

    Quote Originally Posted by Ace_XL View Post
    Your logic is based on salesperson 'failing to meet' either of the criteria rather than 'meeting' either of the crtiteria.

    Try something on these lines

    =IF(OR(J18>25,J17>30000),1500,IF(OR(J18>20,J17>25000),800,IF(OR(J18>15,J17>20000),500,IF(OR(J18>10,J17>15000),300,0))))

    Amend highlighted number as per requirement
    PERFECT!!! Thank you so much! SOLVED! Thanks for everyone's input!

+ 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