+ Reply to Thread
Results 1 to 4 of 4

Why doesn't this IF statement Work

  1. #1
    Registered User
    Join Date
    01-21-2004
    Location
    Alabama
    Posts
    35

    Why doesn't this IF statement Work

    =IF((R9<=20),"Training Needed",IF(AND(R9>20,R9<42),"Good Job"),IF(0r(r9>=42,r9=0),"Outstanding"," "))

    Below 20 "Training Needed"
    Between 20 and 42 "Good Job"
    42 and Over "Outstanding"
    0 equal empty

    How can i fix it? Thanks!

  2. #2
    Registered User
    Join Date
    06-24-2008
    Location
    Cambridge UK
    Posts
    53
    Get rid of the parenthesis after "Good Job".

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    One closing parenthesis too many... and you had a 0 (zero) instead of the letter O in OR

    =IF((R9<=20),"Training Needed",IF(AND(R9>20,R9<42),"Good Job",IF(OR(R9>=42,R9=0),"Outstanding"," ")))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    01-21-2004
    Location
    Alabama
    Posts
    35
    Thanks! That did it!

+ 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