+ Reply to Thread
Results 1 to 3 of 3

Trouble with IF/AND/OR Syntax

  1. #1
    Registered User
    Join Date
    01-12-2012
    Location
    USA
    MS-Off Ver
    Excel 2007, 2003
    Posts
    84

    Trouble with IF/AND/OR Syntax

    I'm having some trouble getting the proper syntax for the following:

    CELL D5 will have a value in it.

    Based on the value in CELL D5, CELL E5 will have the following:

    IF D5 > 1 and D5 <= 1.25 then CELL E5 = "Good"

    IF D5 > 1.25 and D5 <= 3 then CELL E5 = "Better"

    IF D5 = 3 then CELL E5 = "Best"

    IF D5 > 3 then CELL E5 = "Not Capable"
    Wish I didn't know now what I didn't know then.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Trouble with IF/AND/OR Syntax

    Hi

    =IF(AND(D5>1,D5<=1,25),"Good",IF(AND(D5>1,25,D5<3),"Better",IF(D5=3;"Best",IF(D5>3,"Not Capable"))))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    01-12-2012
    Location
    USA
    MS-Off Ver
    Excel 2007, 2003
    Posts
    84

    Re: Trouble with IF/AND/OR Syntax

    Thanks...that needed a little editing but it works. Many thanks.

+ 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