+ Reply to Thread
Results 1 to 3 of 3

Problem with If(And()) fuction

  1. #1
    Registered User
    Join Date
    05-26-2005
    Posts
    12

    Problem with If(And()) fuction

    Here is my function below. I am getting the "#NAME?" in the sell containing the formula. Any ideas as to what is wrong here?

    =IF(AND(B5="standard",B6="standard",B7="standard"),"standard",IF(AND(B5="Level 1",B6="Level 1",B7="Level 1"),"Level 1",IF(AND(B5="Level 2",B6="Level 2",B7="Level 2"),"Level 2",IF(AND(B5="Level 3",B6="Level 3",B7="Level 3"), "Level 3", IF(AND(B5="Level 4",B6="Level 4",B7="Level 4"),"Level 4", Custom)))))


    Cell B5 contains "standard"
    Cell B6 contains "Level 1"
    Cell B7 contains "standard"
    Cell B8 contains "standard"
    Last edited by NBVC; 08-20-2009 at 01:46 PM.

  2. #2
    Registered User
    Join Date
    05-26-2005
    Posts
    12

    Re: Problem with If(And()) fuction

    Ahh, nevermind, didnt have "custom" in quotations.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Problem with If(And()) fuction

    For starters, the last word, Custom should probably be in quotes too, if it is not a named range.
    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.

+ 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