+ Reply to Thread
Results 1 to 4 of 4

nested if then statements - can you help?

  1. #1
    Registered User
    Join Date
    12-19-2011
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Angry nested if then statements - can you help?

    Looking for help with a statement that does something like this:

    If cell A1 is equal to or greater than 1 but less than 2, then return the words "not bad." If cell A1 is equal to or greater than 2 but less than 3, then return the words "pretty good." If cell A1 is equal to or greater than 3 but less than 4, then return the words "very good." If cell A1 is equal to or greater than 4 but less than 5, then return the words "very good." If cell A1 is equal to or greater than 5 "fantastic!"

    What might it look like? I've been chasing my tail! Thanks!

    BigEz

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: nested if then statements - can you help?

    How about:

    Please Login or Register  to view this content.
    or
    Please Login or Register  to view this content.
    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    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: nested if then statements - can you help?

    Hi BigEz

    Pls try this:

    Please Login or Register  to view this content.
    Hope to helps you.
    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.

  4. #4
    Registered User
    Join Date
    12-19-2011
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: nested if then statements - can you help?

    =IF(AND(A1>=1,A1<2),"not bad",IF(AND(A1>=2,A1<3),"pretty good",IF(AND(A1>=3,A1<4),"Very Good",IF(AND(A1>=4,A1<5),"Impressive",IF(A1>=5,"FANTASTIC")))))

    **changed 4-5 to impressive instead of repeating "very good"

+ 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