+ Reply to Thread
Results 1 to 5 of 5

[SOLVED] Nested IF Statement Issue

  1. #1
    Registered User
    Join Date
    08-23-2012
    Location
    Washington, United States
    MS-Off Ver
    Excel 2007
    Posts
    21

    [SOLVED] Nested IF Statement Issue

    Hello,

    I'm taking over a sales document from a co-worker that we us to calculate sales bonuses and payout based on target ranges.

    There are 5 categories of payout:
    EXCEPTIONAL
    EXCEEDS TARGET
    MEETS TARGET
    BELOW TARGET
    UNSATISFACTORY

    The current formula is a nested IF formula and it's giving me a "FALSE" result and when I evaluate the formula it throws the "FALSE" in the first condition. The formula is:

    =IF(B2<J2,"UNSATISFACTORY",IF(AND(B2>=I2,B2<=J2),"BELOW TARGET",IF(AND(B2>=G2,B2<=H2),"MEETS TARGET",IF(AND(B2>=E2,B2<=F2),"EXCEEDS TARGET",IF(B2>=D2,"EXCEPTIONAL")))))

    The values are:
    B2=5.75
    J2=2
    I2=2
    G2=3
    H2=3
    E2=4
    F2=5
    D2=6

    I also attached a spreadsheet with the formula and the values. I'm not sure if it's the logic because two of the ranges are the same values or if it's written in the wrong order or what.

    What am I missing? Can someone give me a tip?

    Thank you in advance!
    Attached Files Attached Files
    Last edited by mbhc77; 08-02-2013 at 06:46 PM.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Nested IF Statement Issue

    With VLookup.

    See the attached file.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    08-23-2012
    Location
    Washington, United States
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Nested IF Statement Issue

    Thank you oeldere!

    My apologies, I believe I failed to mention a few other key constraints. The formula currently is hard coded by each sales person and depending on the metric they can all have different ranges which is why my co-worker used a nested IF statement.

    This just happens to be the simplest example I could find because it applies to all salespersons.

    So for this purpose because of the way the sheet is designed already I have to use a nested IF statement.

  4. #4
    Valued Forum Contributor
    Join Date
    10-10-2012
    Location
    New York
    MS-Off Ver
    Excel 2007/2010
    Posts
    337

    Re: Nested IF Statement Issue

    Try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The formula you inherited was needlessly complicated. Unless the values you have in columns F, H and J are used somewhere else, you can get rid of them.
    Don't just use the answers provided for you. Try to understand how it works by reverse engineering or asking about it.

    Please mark the thread as [SOLVED] (Thread Tools->Mark thread as Solved) when answered.
    If you're happy with an answer given, please click the * under the person's name to boost their reputation.

  5. #5
    Registered User
    Join Date
    08-23-2012
    Location
    Washington, United States
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Nested IF Statement Issue

    Thank you Craig! This worked perfectly and I understand the thought process as well so it was very helpful.
    Last edited by mbhc77; 08-02-2013 at 06:38 PM.

+ 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. [SOLVED] Nested If Statement - ISBLANK and ISNA in same statement?
    By Janc in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-23-2013, 09:00 AM
  2. [SOLVED] Issue with nested IF statement
    By Sc0tt1e in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-13-2013, 06:44 AM
  3. [SOLVED] Nested IF Statement issue
    By jsouthgate in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-05-2012, 04:49 PM
  4. [SOLVED] Nested IF ordering issue
    By dilly in forum Excel General
    Replies: 12
    Last Post: 05-08-2012, 10:45 AM
  5. Replies: 6
    Last Post: 01-14-2009, 06:59 PM

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